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

Discuss and distribute tools and methods for modding. Moderator - Grognak
Fallenhagrid
Posts: 2
Joined: Mon Apr 08, 2013 9:40 pm

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

Postby Fallenhagrid » Tue Apr 09, 2013 7:32 am

Vhati wrote:
Fallenhagrid wrote:Hey i need some help please... this is my error report if it can help.
ERROR: [Errno 13] Permission denied: 'C:/Program Files (x86)/FTL/resources\\data.dat'

GMM needs to be run as administrator on Windows 7.


Thanks works great now :D
ImplacableTardigrade
Posts: 15
Joined: Sun Apr 07, 2013 10:27 pm

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

Postby ImplacableTardigrade » Wed Apr 10, 2013 10:39 pm

Yay, I got it to work. Moved modman and associated files into a folder directly into C:, put the FTL folder within that, and was able to (Finally) guide modman to where it needed to go. Works perfectly now.
TheSteampunkGuy
Posts: 1
Joined: Sat Apr 13, 2013 11:28 pm

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

Postby TheSteampunkGuy » Sat Apr 13, 2013 11:32 pm

Can someone help me I'm on a mac and I get this error when I run it in the console:
File "main.py", line 70
except (ImportError) as err:
^
SyntaxError: invalid syntax
after I run the command line.
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Sun Apr 14, 2013 4:19 am

TheSteampunkGuy wrote:Can someone help me I'm on a mac and I get this error when I run it in the console:
File "main.py", line 70
except (ImportError) as err:
^
SyntaxError: invalid syntax
I think you're using an old Python (2.6 or higher is required).

Edit modman.command, and look for this:

Code: Select all

# Finally, the payload.
cd "${maindir}"
# - - -
python main.py
# - - -

Add a line to print your version, so it looks like this:

Code: Select all

# Finally, the payload.
cd "${maindir}"
# - - -
python --version
python main.py
# - - -

Then save, and double-click modman.command to see what's running.


Macs can have several versions of Python installed at once.
Open a terminal, and type: man python
That should explain how to set the "system-wide default" version of python.
WhemWeStandTogether
Posts: 1
Joined: Tue Apr 16, 2013 3:31 pm

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

Postby WhemWeStandTogether » Tue Apr 16, 2013 3:36 pm

I got error message:
ERROR: 'utf8' codec can't decode byte 0x92 in position 54868: invalid start byte
Traceback (most recent call last):-
File "D:\GMM\lib\killable_threading.py", line 99, in run
result = self._payload(*self._payload_args, **self._payload_kwargs)
File "D:\GMM\main.py", line 840, in patch_dats
append_xml_file(os.path.join(root, f), os.path.join(unpack_dir, root[len(tmp)+1:], f[:-len(".append")]))
File "D:\GMM\main.py", line 551, in append_xml_file
dst_text = get_text(dst_file)
File "D:\GMM\main.py", line 538, in get_text
f_text = f_bytes.decode("utf-8")
File "D:\Program Files\Python\lib\encodings\utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)-
UnicodeDecodeError: 'utf8' codec can't decode byte 0x92 in position 54868: invalid start byte
kuldager
Posts: 3
Joined: Tue Apr 16, 2013 5:58 pm

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

Postby kuldager » Tue Apr 16, 2013 6:07 pm

Please, somebody, help! I am not Englishman, so I want to apologise for my language. I have a problem with launching GMM. When I click modman.exe it gives me the message: "No supported version of Python found on this system. Download Python 2.7.3 at: www.python.org/getit/". Ok, i have already installed this version of Python, but it still doesn't work! I even installed other versions of Python, but this problem still exists. Please, help! :!:
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 Apr 16, 2013 6:48 pm

WhemWeStandTogether wrote:I got error message:
UnicodeDecodeError: 'utf8' codec can't decode byte 0x92 in position 54868: invalid start byte

There's a bad character in a mod's xml, which was about to be appended. (0x92 is windows-1252 ANSI's fancy right-tilted single quote (alt+8217 on numpad), which should be a plain apostrophe anyway.)

Unicode utf8 text is identical to windows-1252 ANSI text except for a few characters, like that one. I forgot about that and assumed reading all text as utf8 would work.

You can tell which mod it was from the log. Select it in GMM and click the 'validate' button to determine which xml file inside had the bad character. For later versions, I'll look into teaching GMM to handle that gracefully.
boa13
Posts: 829
Joined: Mon Sep 17, 2012 11:42 pm
Location: Nantes, France

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

Postby boa13 » Tue Apr 16, 2013 9:54 pm

kuldager wrote:When I click modman.exe it gives me the message: "No supported version of Python found on this system. Download Python 2.7.3 at: http://www.python.org/getit/". Ok, i have already installed this version of Python, but it still doesn't work! I even installed other versions of Python, but this problem still exists.:!:

Do not use modman.exe, it is broken in this version. Double-clicking on main.py should work.
Forum janitor — If you spot spam, PM me the URL and/or the username of the spammer.
I have powers, moderator powers. I am not keen on using them, but will do so if needed.
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 Apr 16, 2013 10:10 pm

kuldager wrote:When I click modman.exe it gives me the message: "No supported version of Python found..."
Ignore modman.exe for now (it's broken), and run main.py directly.
- Windows XP: Double-click main.py.
- Windows Vista/7/8: may have to do this...
viewtopic.php?f=12&t=2464&start=780#p41452
Kadu
Posts: 5
Joined: Wed Apr 17, 2013 12:40 pm

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

Postby Kadu » Wed Apr 17, 2013 12:45 pm

Hi :)
I just downloaded this mod and since then im trying to get it work.

I change python from 2.7.4 to 3.3.0, reinstall game couple of times, download mod also couple of times and i still get those errors. :(

Code: Select all

2013-04-17 08:38:00 INFO: Installing mod: Beginning Scrap Advantage.ftl
2013-04-17 08:38:00 INFO: Merging folder: data
2013-04-17 08:38:02 ERROR: [Errno 2] No such file or directory: 'c:\\docume~1\\owner\\locals~1\\temp\\tmpo1txy2\\data\\events.xml'
Traceback (most recent call last):
  File "D:\Gry\Faster Than Light\Grognaks Mod Manager v1.7 Win32\lib\killable_threading.py", line 99, in run
    result = self._payload(*self._payload_args, **self._payload_kwargs)
  File "D:\Gry\Faster Than Light\Grognaks Mod Manager v1.7 Win32\main.py", line 840, in patch_dats
    append_xml_file(os.path.join(root, f), os.path.join(unpack_dir, root[len(tmp)+1:], f[:-len(".append")]))
  File "D:\Gry\Faster Than Light\Grognaks Mod Manager v1.7 Win32\main.py", line 554, in append_xml_file
    with open(dst_path, "wb") as dst_file:
FileNotFoundError: [Errno 2] No such file or directory: 'c:\\docume~1\\owner\\locals~1\\temp\\tmpo1txy2\\data\\events.xml'
2013-04-17 08:38:02 INFO:
2013-04-17 08:38:02 INFO: Patching failed.
2013-04-17 08:38:05 INFO:
2013-04-17 08:38:05 INFO: Quitting... (ctrl-break to be rude)
2013-04-17 08:38:05 INFO:
2013-04-17 08:38:06 INFO: Bye


Im running on Windows XP. I dont know what else i could do :(

Who is online

Users browsing this forum: No registered users and 12 guests