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

Discuss and distribute tools and methods for modding. Moderator - Grognak
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Mon Jun 24, 2013 4:54 pm

blargh555 wrote:I run modman.command, which returns this error

Code: Select all

ERROR: dlopen(/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_tkinter.so, 2): no suitable image found.  Did find:
   /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_tkinter.so: no matching architecture in universal wrapper

modman.command is essentially just opening a terminal and running "python main.py". However your default python (OSX can have several, named python26, python27, ... with "python" pointing to one of them) doesn't seem to see tkinter.

Couldn't find an exact mention of your error. Here's what I found.
Article: StackOverflow - Can't import tkinter in python using OSX
Article: StackOverflow - import Tkinter fails with python on OSX
You may not care to fix this though, since you've found a workaround...


blargh555 wrote:Just to see if it will still work, I run main.py which sort of works.

Code: Select all

  File "/Users/MY_USERNAME/Desktop/Grognaks Mod Manager v1.7 Manix/main.py", line 894, in find_ftl_exe
    if (os.path.isfile(os.join(app_path, "Contents", "Info.plist"))):
AttributeError: 'module' object has no attribute 'join'

See this post about the os.join bug.
This you will have to fix, but it's trivial.


blargh555 wrote:Here's a recording of me attemping to set up GMM.

Nicely done. That's the first video bug report I've seen. :P

That confirms that the python that PythonLauncher uses does see tkinter, but whatever runs *.py files by default doesn't see tkinter.
blargh555
Posts: 2
Joined: Sun Jun 23, 2013 11:01 pm

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

Postby blargh555 » Mon Jun 24, 2013 6:52 pm

Vhati wrote:SNIP

Thanks for the help! I'll see what I can do to resolve the os.join bug, but I launched FTL, and so far it seems that all mods were installed successfully. I think the problem with not seeing tkinter is, as in my video, the default .py application is IDLE. Thanks again! :D
killaofgames280
Posts: 1
Joined: Mon Jun 24, 2013 11:16 pm

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

Postby killaofgames280 » Mon Jun 24, 2013 11:21 pm

Apologies if this has already been answered, but when I try to run modman.exe, it says that no supported version of python is on my system and gives me the link to go install. However, I have python 2.7.5 installed on my computer. Is there something really obvious and stupid I'm missing?

EDIT: Never mind, I'm an absolute idiot. Was selecting the wrong thing :oops:
Philtehsamuraiwalrus
Posts: 1
Joined: Tue Jun 25, 2013 2:32 pm

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

Postby Philtehsamuraiwalrus » Tue Jun 25, 2013 2:36 pm

I have installed python, but when I try to open modman it says there is no supported version. I have no idea what python is or how to use it and I have no idea what to do
User avatar
kartoFlane
Posts: 1480
Joined: Mon Jan 14, 2013 10:20 pm

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

Postby kartoFlane » Tue Jun 25, 2013 2:57 pm

@Philtehsamuraiwalrus
Double click on main.py instead of modman.exe (it's broken and fails to detect Python)
Superluminal2 - a ship editor for FTL
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Tue Jun 25, 2013 6:18 pm

@kartoFlane
I've started rewriting modman.exe, so the next release can be ready for Grognak to package upon returning.

So far, I've got the registry and PATH searching done, with unicode awareness*.
Still need to learn how exceptions work, so it can fail gracefully.


* As far as compilers, the standard library, and the Windows API support it. **

** "When your hammer is C++, everything begins to look like a thumb."
Psykfall
Posts: 4
Joined: Tue Jun 25, 2013 6:00 pm

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

Postby Psykfall » Tue Jun 25, 2013 7:00 pm

Hello, I created a account just to get help with this problem.
When i try to instal any mod to my FTL-copy, i get the Error 13 (Errno 13).
Please help me! :(
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Tue Jun 25, 2013 7:06 pm

Psykfall wrote:When i try to instal any mod to my FTL-copy, i get the Error 13 (Errno 13).
"[Errno 13] Permission denied" was mentioned in this post.
Psykfall
Posts: 4
Joined: Tue Jun 25, 2013 6:00 pm

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

Postby Psykfall » Tue Jun 25, 2013 7:19 pm

Vhati wrote:
Psykfall wrote:When i try to instal any mod to my FTL-copy, i get the Error 13 (Errno 13).
"[Errno 13] Permission denied" was mentioned in this post.

Thank you :)
User avatar
5thHorseman
Posts: 1669
Joined: Sat Mar 02, 2013 2:29 am
Location: On the bridge of The Potential
Contact:

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

Postby 5thHorseman » Tue Jun 25, 2013 9:59 pm

Is there any reason why 1.7 needs to run as an Admin but 1.6 does not? And are there any really bad bugs in 1.6 that 1.7 fixed?

I personally downgraded to 1.6 from 1.7 because I've had 0 problems with 1.6 and 1.7 requires that extra "run as admin" step for (as far as I can tell) no benefit.
My Videos - MY MOD HUB
Simo-V - The Potential - Automated Scout - "Low O2" Icons
The Black Opal - The Asteroid - The Enforcer - The Pyro

"Every silver lining has a cloud..."

Who is online

Users browsing this forum: No registered users and 32 guests