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

Discuss and distribute tools and methods for modding. Moderator - Grognak
Post Reply
speedoflight
Posts: 660
Joined: Mon Feb 18, 2013 11:08 am

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

Post by speedoflight »

Nothing happens. I mean i double click and there is not even a cmd screen or anything else.

As for the log file, i cant see any log file...
My currently mods / wips ->
ImageImage
Ghostneedle1
Posts: 5
Joined: Tue Mar 12, 2013 8:03 pm

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

Post by Ghostneedle1 »

I am trying to download mods for FTL so I can enjoy playing it again however I have no idea what I'm doing so I am having great difficulty. I downloaded Python 3.3 but when I try to open modmanager I get a error message saying that no supported version of Python can be found on the system. Can anyone help?
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 »

Ghostneedle1 wrote:when I try to open modmanager I get a error message saying that no supported version of Python can be found on the system.
modman.exe will almost always do that. That's why it's broken and should be ignored for now. Double-click main.py instead.

speedoflight wrote:Nothing happens. I mean i double click and there is not even a cmd screen or anything else.
Vhati wrote:Strange. A Windows Python install should have made main.py double-clickable...
  • Open a dos prompt (run as administrator, if necessary).
  • cd to GMM's directory. (You can hit tab, one or more times, as you type to autocomplete names)
  • Run something like this: c:\Python27\python main.py
What happens when you create the cmd prompt yourself?
Ghostneedle1
Posts: 5
Joined: Tue Mar 12, 2013 8:03 pm

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

Post by Ghostneedle1 »

I double-clicked 'main' and I get this message for a split second then it goes away (retrieved it using modman-log):

Code: Select all

2013-03-12 20:51:48 INFO: Grognak's Mod Manager v1.7.0
2013-03-12 20:51:48 INFO: Platform:    Windows-7-6.1.7601-SP1
2013-03-12 20:51:48 INFO: Interpreter: CPython 3.3.0 (32bit)
2013-03-12 20:51:48 INFO: 
2013-03-12 20:51:48 INFO: Rooting at: C:\Users\Daniel\Downloads\Grognaks Mod Manager v1.7 Win32\Grognaks Mod Manager v1.7 Win32
2013-03-12 20:51:48 INFO: 
2013-03-12 20:51:48 INFO: Registering ctrl-c handler.
2013-03-12 20:51:48 ERROR: Can't find a usable init.tcl in the following directories: 
    C:/lib/tcl8.5 C:/lib/tcl8.5 C:/lib/tcl8.5 C:/library C:/library C:/tcl8.5.11/library C:/tcl8.5.11/library



This probably means that Tcl wasn't installed properly.
Traceback (most recent call last):
  File "C:\Users\Daniel\Downloads\Grognaks Mod Manager v1.7 Win32\Grognaks Mod Manager v1.7 Win32\main.py", line 1375, in main
    mygui = RootWindow(None)
  File "C:\Users\Daniel\Downloads\Grognaks Mod Manager v1.7 Win32\Grognaks Mod Manager v1.7 Win32\main.py", line 101, in __init__
    tk.Tk.__init__(self, master, *args, **kwargs)
  File "C:\lib\tkinter\__init__.py", line 1756, in __init__
    self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: Can't find a usable init.tcl in the following directories: 
    C:/lib/tcl8.5 C:/lib/tcl8.5 C:/lib/tcl8.5 C:/library C:/library C:/tcl8.5.11/library C:/tcl8.5.11/library



This probably means that Tcl wasn't installed properly.

2013-03-12 20:51:48 INFO: 
2013-03-12 20:51:48 INFO: Quitting... (ctrl-break to be rude)
2013-03-12 20:51:48 INFO: 
2013-03-12 20:51:48 INFO: Bye
speedoflight
Posts: 660
Joined: Mon Feb 18, 2013 11:08 am

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

Post by speedoflight »

Vhati wrote: What happens when you create the cmd prompt yourself?
I get the msg "python is not recognized as an external or internal command, program or exe not executable" (is something like that, i am translating from spanish... :roll: ).

Its like python is not installed correctly?? i uninstalled all my previous python versions and installed only 2.7.3....
My currently mods / wips ->
ImageImage
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 »

speedoflight wrote:I get the msg "python is not recognized as an external or internal command, program or exe not executable" (is something like that, i am translating from spanish... :roll: ).

Its like python is not installed correctly?? i uninstalled all my previous python versions and installed only 2.7.3...
That's a good translation... and a likely interpretation (or at least not installed where you thought it was).

Make sure you do in fact have the folder you installed python to, and that it does contain python.exe.
If you give the complete path to it in a prompt (something like "c:\Python27\python.exe") you should not be seeing that error. It's getting in the way of other more interesting errors. :lol:
Leafbarrett
Posts: 1
Joined: Thu Nov 29, 2012 1:29 am

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

Post by Leafbarrett »

Double-clicking gives a command prompt that flashes for a split second before closing. I managed to catch a screenshot of it, and it seems to say the same thing that running it off of CMD does.

Code: Select all

Traceback (most recent call last):
  File "C:\Program Files (x86)\FTL\main.py", line 37, in <module>
    logfile_handler = logging.FileHandler(os.path.join(dir_self, "modman-log.txt", mode="w")
  File C:\Python27\lib\logging\__init__.py", line 897, in __init__
    StreamHandler.__init__(self, self._open())
  File C:\Python27\lib\logging\__init__.py", line 916, in _open
    stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Permission denied: 'C:\\Program Files (x86)\\FTL\\modman-log.txt'  
However, after I tracked down cmd.exe and ran it as an administrator, it worked. Hopefully this can help other people out.
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 »

Ghostneedle1 wrote:I double-clicked 'main' and I get this message:

Code: Select all

2013-03-12 20:51:48 ERROR: Can't find a usable init.tcl in the following directories: 
    C:/lib/tcl8.5 C:/lib/tcl8.5 C:/lib/tcl8.5 C:/library C:/library C:/tcl8.5.11/library C:/tcl8.5.11/library
This probably means that Tcl wasn't installed properly.
I just installed Python 3.3 on Win7 and told it to run GMM from a prompt without issue.
Googling, I can't find a satisfying reason you had a different outcome.
Even when I opted out of installing "Tcl/Tk" (bundled with python) to break it, I got a different message.

One person said running the cmd prompt as admin made python GUIs work.
(You may well have to do that anyway to modify FTL's resources.)

Others said environment variables "TCL_LIBRARY" and "TK_LIBRARY" needed to be set.

Code: Select all

cd "C:\Users\Daniel\Downloads\Grognaks Mod Manager v1.7 Win32\Grognaks Mod Manager v1.7 Win32"
SET TCL_LIBRARY=C:\Python33\tcl\tcl8.5
SET TK_LIBRARY=C:\Python33\tcl\tk8.5
C:\Python33\python main.py
But I never needed to set them. :roll:
Ghostneedle1
Posts: 5
Joined: Tue Mar 12, 2013 8:03 pm

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

Post by Ghostneedle1 »

I don't have the slightest idea how to do that. Should I just uninstall and re-install all
of it? Maybe I changed something or selected something accidentally.
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 »

Ghostneedle1 wrote:I don't have the slightest idea how to do that.
Sorry...
Article: Start a Command Prompt as an Administrator

Then type the following:

Code: Select all

cd "C:\Users\Daniel\Downloads\Grognaks Mod Manager v1.7 Win32\Grognaks Mod Manager v1.7 Win32"
SET TCL_LIBRARY=C:\Python33\tcl\tcl8.5
SET TK_LIBRARY=C:\Python33\tcl\tk8.5
C:\Python33\python main.py
If running as admin is enough to fix the problem, those SETs may be optional.
Ghostneedle1 wrote:Should I just uninstall and re-install all of it? Maybe I changed something or selected something accidentally.
Reinstall Python? If it helps, that would be easiest. :P
Worth trying once.
Post Reply