Guest Baum Posted July 9, 2006 Share Posted July 9, 2006 I can start a new PS:T game, but all I get is the game screen without any controls. Dialogs don't work either. I've found this in the message output: [GUIScript]: Loading Script MessageWindow...Traceback (most recent call last): File "./GUIScripts/pst\MessageWindow.py", line 36, in ? from GUIINV import * File "./GUIScripts/pst\GUIINV.py", line 26, in ? import string ImportError: No module named string Maybe the directory separators of Linux and Windows got mixed up? Link to comment
Avenger Posted July 9, 2006 Share Posted July 9, 2006 This is a symptom of an incorrectly installed python environment. string is a standard python module which isn't found. Hmm, maybe the windows binary i released isn't enough? Sucks You probably can fix it if you download and install the python development environment. http://www.python.org/download/ Go for the windows installer. I'll try to make a better release next time which doesn't require any additional package. Link to comment
Guest Guest Posted July 10, 2006 Share Posted July 10, 2006 Installing Python (2.4.3) didn't solve the problem. Link to comment
Avenger Posted July 10, 2006 Share Posted July 10, 2006 Now that really sucks Well, i guess quite few people will be able to run it. (It runs for me, of course, but i have the development environment). Now i have to find a clean machine and see what's wrong. Unless someone can tell me. Link to comment
Guest Baum Posted July 11, 2006 Share Posted July 11, 2006 I've just installed IWD2 and tried that, but that didn't work better: When I try to start a new game, GemRB crashes and when I try to load a savegame it hangs after loading. Link to comment
Avenger Posted July 11, 2006 Share Posted July 11, 2006 All games will hang sooner or later without the string library. This is because string.py isn't on the search path. You could try to copy the python lib contents (a bunch of .py files in C:/Python24/Lib for me.) to the gemrb guiscript root. (gemrb/guiscripts) Link to comment
Guest Guest Posted July 12, 2006 Share Posted July 12, 2006 Now a module called "_sre" is missing. It doesn't seem to be included in my Python installation. Link to comment
Avenger Posted July 12, 2006 Share Posted July 12, 2006 wow, thats interesting, and definitely something internal I have a sre.py in the original python lib. Ok, i think i know what's the problem. In my distribution, there is a python23.dll in the gemrb dir. Maybe replace it with yours (which should be a python24.dll). Yeah, i know this gets tedious [edit] Aaand... that copy must be named python23.dll too... ok, this was the last try, hehe. Link to comment
Guest Baum Posted July 14, 2006 Share Posted July 14, 2006 YEAH! It seems to work now. Going to play a bit more this weekend... Thanks for your help! Link to comment
Avenger Posted July 14, 2006 Share Posted July 14, 2006 Ok, then the problem was twofold: 1. we have to publish the python standard libraries (a bunch of py files) 2. the binary works only with python 2.3 (2.2 and 2.4 requires some handiwork). If you installed 2.3 in the first place we could have skipped 2 extra steps But well, who knew that. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.