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

Discuss and distribute tools and methods for modding. Moderator - Grognak
Post Reply
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 »

Ocean_Sunfish91 wrote:Please run a check on this manager. My antivirus detected a trojan in it.
[...]
I was doing a check with Hitman pro. I haven't had any alerts from Mcafee. Yes, GM 1.7
Article: Wikipedia - HitmanPro
"The newest version of HitmanPro, version 3, uses Dr Web, Emsisoft Anti-Malware, G Data AntiVirus, BitDefender and now IKARUS (replaced Prevx as the fifth engine) to detect malicious software (see also multiscanning)."

Report: VirScan.org - modman.exe (1.7)
Report: VirusTotal - modman.exe (1.7)

In both reports, Ikarus is one of only a couple scanners that thought it was malicious.
Tremek
Posts: 1
Joined: Thu Mar 21, 2013 4:39 am

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

Post by Tremek »

Hi, on a Mac and having this issue when I try to patch in any mod:

Code: Select all

ERROR: Unexpected exception in LogicThread.
Traceback (most recent call last):
  File "main.py", line 1130, in run
    self._process_event_queue(0.5)  # Includes some blocking.
  File "main.py", line 1159, in _process_event_queue
    self._process_event(action_name, arg_dict)
  File "main.py", line 1173, in _process_event
    self._patching_finished(arg_dict)
  File "main.py", line 1336, in _patching_finished
    ftl_exe_path = find_ftl_exe()
  File "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'
INFO: 
INFO: Quitting... (ctrl-break to be rude)
Am I doing something wrong? Let me know if you need more info. Thanks!
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 »

Tremek wrote:Hi, on a Mac and having this issue when I try to patch in any mod:

Code: Select all

File "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'
Am I doing something wrong?
Nope. You've found a bug. :)
Patching was successful, but there's a crash when it offers to find and start FTL on Mac.

You can immediately address this yourself in two ways:
  • Fix the bug: Edit main.py to search/replace two places where "os.join" should be "os.path.join".
    Afterward, reporting any further incidents would help. I have no Mac to test on, which is how that bug slipped by.
  • Avoid the bug: Edit modman.ini to set "never_run_ftl = 1".
radmelon
Posts: 2
Joined: Fri Mar 22, 2013 1:17 am

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

Post by radmelon »

I am running Windows 7, and I did install Python 2.7.3, but when I try to start the application it gives me the "No supported version of python found on this system" error. Any ideas what I could have done wrong?
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 »

radmelon wrote:I am running Windows 7, and I did install Python 2.7.3, but when I try to start the application it gives me the "No supported version of python found on this system" error. Any ideas what I could have done wrong?
Known bug. Ignore modman.exe for now, and run main.py directly.

http://www.ftlgame.com/forum/viewtopic. ... 780#p41452
radmelon
Posts: 2
Joined: Fri Mar 22, 2013 1:17 am

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

Post by radmelon »

Vhati wrote:
radmelon wrote:I am running Windows 7, and I did install Python 2.7.3, but when I try to start the application it gives me the "No supported version of python found on this system" error. Any ideas what I could have done wrong?
Known bug. Ignore modman.exe for now, and run main.py directly.

http://www.ftlgame.com/forum/viewtopic. ... 780#p41452
Thank you. It seems to have worked, now to actually run some mods.
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 »

Hi, i just was going to give up, and i tried to run main.py directly (windows vista) again, after a few days, and i found that now it gives me other message ->

Z:\Faster Than Light Modding\Grognaks Mod Manager v1.7 Win32>main.py
File "Z:\Faster Than Light Modding\Grognaks Mod Manager v1.7 Win32\main.py", l
ine 4
<!DOCTYPE html>
^
SyntaxError: invalid syntax

Z:\Faster Than Light Modding\Grognaks Mod Manager v1.7 Win32>

¿typo error?? ¿Ideas?
My currently mods / wips ->
ImageImage
boa13
Posts: 808
Joined: Mon Sep 17, 2012 11:42 pm

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

Post by boa13 »

I think you have successfully installed Python (because it started when you double-clicked the .py file), but the main.py file does not contain at all what it was supposed to contain: somehow, it seems it contains HTML?! :|
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!)

Post by Vhati »

speedoflight wrote:Hi, i just was going to give up, and i tried to run main.py directly (windows vista) again, after a few days, and i found that now it gives me other message.

Code: Select all

Z:\Faster Than Light Modding\Grognaks Mod Manager v1.7 Win32>main.py
  File "Z:\Faster Than Light Modding\Grognaks Mod Manager v1.7 Win32\main.py", line 4
    <!DOCTYPE html>
    ^
SyntaxError: invalid syntax
boa13's correct. Python is trying to run the app, but now the code for GMM has been replaced with HTML!?


If you were to look in main.py with a text editor, you should see this.

Code: Select all

#!/usr/bin/env python

# Do some basic imports, and set up logging to catch ImportError.
import inspect
import locale
import logging
import os
import sys
...
Forte
Posts: 15
Joined: Thu Feb 28, 2013 10:53 am

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

Post by Forte »

OK i just dont get it :? i downloaded this and tried to extract the files but where do i extract them too? I have the mod and ship i want and i know to put them into the mods folder. But i dont know where to extract the winrar files to and how to get there someone plzzzzz help :!:
Post Reply