Grognak's Mod Manager v1.7 (Updated March 6, 2013!)

Discuss and distribute tools and methods for modding. Moderator - Grognak
Post Reply
User avatar
kartoFlane
Posts: 1488
Joined: Mon Jan 14, 2013 10:20 pm

Re: Grognak's Mod Manager v1.7 (Updated March 6, 2013!)

Post by kartoFlane »

You probably downloaded python for 64-bit OS, or have multiple versions of python installed and that somehow causes GMM to spill its guts. Uninstall all versions of python, then install 2.75 for 32-bit.
Superluminal2 - a ship editor for FTL
Excellent
Posts: 5
Joined: Sun Jul 14, 2013 3:56 pm

Re: Grognak's Mod Manager v1.7 (Updated March 6, 2013!)

Post by Excellent »

kartoFlane wrote:You probably downloaded python for 64-bit OS, or have multiple versions of python installed and that somehow causes GMM to spill its guts. Uninstall all versions of python, then install 2.75 for 32-bit.
Ok I had 3 versions installed so I uninstalled them all went to this link: http://www.python.org/getit/releases/2.7.5/

and got the Windows X86 MSI Installer (2.7.5)

After that I started up main.py and got this message


____________________________________________________________________________________________________
2013-07-14 16:53:01 ERROR: No module named tkinter
Traceback (most recent call last):
File "C:\Users\Joe\Desktop\Anywhere\main.py", line 92, in <module>
from lib import tkHyperlinkManager
File "C:\Users\Joe\Desktop\Anywhere\lib\tkHyperlinkManager.py", line 5, in <module>
import tkinter as tk
ImportError: No module named tkinter

__________________________________________________________________________________________________

The .exe gives me the same message D:
Excellent
Posts: 5
Joined: Sun Jul 14, 2013 3:56 pm

Re: Grognak's Mod Manager v1.7 (Updated March 6, 2013!)

Post by Excellent »

kartoFlane wrote:You probably downloaded python for 64-bit OS, or have multiple versions of python installed and that somehow causes GMM to spill its guts. Uninstall all versions of python, then install 2.75 for 32-bit.
Not sure why my last post didnt go into the thread but ill repeat what I said,

When i start it up now i get this message

__________________________________________________________________________________________________

013-07-14 22:03:11 ERROR: No module named tkinter
Traceback (most recent call last):
File "C:\Users\Joe\Desktop\Anywhere\main.py", line 92, in <module>
from lib import tkHyperlinkManager
File "C:\Users\Joe\Desktop\Anywhere\lib\tkHyperlinkManager.py", line 5, in <module>
import tkinter as tk
ImportError: No module named tkinter

__________________________________________________________________________________________________

Both the fixed modman.exe and main.py give me this message I even tried to install version 3.3 of python earlier and it gave me this message
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

Re: Grognak's Mod Manager v1.7 (Updated March 6, 2013!)

Post by Vhati »

Excellent wrote:When i start it up now i get this message

Code: Select all

  File "C:\Users\Joe\Desktop\Anywhere\lib\tkHyperlinkManager.py", line 5, in <module>
    import tkinter as tk
ImportError: No module named tkinter
Have you been editing tkHyperlinkManager.py?
The lower-case "tkinter" shouldn't be on line 5.

From GMM 1.7's source:

Code: Select all

1 | # Modules that changed in Python 3.x.
2 | try:
3 |     import tkinter as tk
4 | except (ImportError) as err:
5 |     import Tkinter as tk
What it should be doing is quietly failing to find "tkinter" (used in Python 3.x), and resorting to "Tkinter" (used by Python 2.x). On windows, Python bundles the tkinter/Tkinter library, so they can't both be missing.

When uninstalling Python, manually delete any lingering directories. If you install 32bit Python into a location where there are remnants of a 64bit Python that can cause "not a valid Win32 application".
Maybe it could do this too? :roll:
Excellent
Posts: 5
Joined: Sun Jul 14, 2013 3:56 pm

Re: Grognak's Mod Manager v1.7 (Updated March 6, 2013!)

Post by Excellent »

Everything works now thank you so much guys :D
User avatar
CrashSanders
Posts: 149
Joined: Mon Nov 12, 2012 4:19 pm

Re: Grognak's Mod Manager v1.7 (Updated March 6, 2013!)

Post by CrashSanders »

Help, modman.exe does not detect Python so I am forced to launch main.py. Is this bug or feature? I am not into Python at all, so I can't tell you what's wrong.
Image
User avatar
kartoFlane
Posts: 1488
Joined: Mon Jan 14, 2013 10:20 pm

Re: Grognak's Mod Manager v1.7 (Updated March 6, 2013!)

Post by kartoFlane »

@CrashSanders
Yes, the exe is broken and never detects python, so you have to double-click on main.py directly in order to get the manager to run.
(or you can download the fixed exe)
Superluminal2 - a ship editor for FTL
User avatar
CrashSanders
Posts: 149
Joined: Mon Nov 12, 2012 4:19 pm

Re: Grognak's Mod Manager v1.7 (Updated March 6, 2013!)

Post by CrashSanders »

Oh, the fixed .exe did help. Thank you. =)
Image
LordAshram
Posts: 71
Joined: Thu Jul 18, 2013 11:45 pm

Re: Grognak's Mod Manager v1.7 (Updated March 6, 2013!)

Post by LordAshram »

Hi all,

Okay, tried to install this, but I seem to be having troubles. I used the Main to launch since the exe didn't see Python, but then, when it asks me to find the FTL data folder, I can't find it. I've tried searching, but cannot find a thing. Can anyone give me any suggestions as to how to find it?

BTW, I am on a PC.
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

Re: Grognak's Mod Manager v1.7 (Updated March 6, 2013!)

Post by Vhati »

LordAshram wrote:when it asks me to find the FTL data folder, I can't find it.
I assume this is a non-Steam version... The Mod Manager looks in all the standard places, so you probably installed it somewhere else.
  • In the start menu, move the mouse over the "FTL" you'd normally left-click to start the game.
  • Right-click it instead, and choose "Properties".
  • That should show you where FTL is installed.
Post Reply