Page 2 of 2

Re: WinXP: Music not playing; stderror has plenty of output.

Posted: Fri Nov 01, 2013 1:52 am
by pheonixstorm
they were never needed before. Don't know what changed in the code that would require all these new files.

Re: WinXP: Music not playing; stderror has plenty of output.

Posted: Mon Nov 04, 2013 10:00 pm
by Maxaxle
So is there something specific I should do, like redownloading the stable release and merging the SVN with it?

Re: WinXP: Music not playing; stderror has plenty of output.

Posted: Tue Nov 05, 2013 12:36 am
by pheonixstorm
No, these are python specific files. I haven't been feeling well lately so haven't really looked for the additional files. You can grab a zipped up copy of python 2.7 and pick out the files you need though. Would be quicker than waiting for me at this point.

Re: WinXP: Music not playing; stderror has plenty of output.

Posted: Tue Nov 05, 2013 3:57 am
by Maxaxle
pheonixstorm wrote:No, these are python specific files. I haven't been feeling well lately so haven't really looked for the additional files. You can grab a zipped up copy of python 2.7 and pick out the files you need though. Would be quicker than waiting for me at this point.
Well, what files what I need?

Re: WinXP: Music not playing; stderror has plenty of output.

Posted: Thu Nov 07, 2013 6:53 am
by pheonixstorm
In your stderr.txt file look for the line reading

Code: Select all

ImportError: No modeule named...
Find what is missing from the python package until you get whatever else may be missing. If you can post the missing modeules as well so we can correct this. In the last post you mae it was
_abcoll
warnings

I am hoping those are the last two you will need to find.

Re: WinXP: Music not playing; stderror has plenty of output.

Posted: Sat Nov 09, 2013 2:49 am
by Maxaxle
Seems that both of those are missing from py27_modules, and it seems that those are the only two missing modules.

Re: WinXP: Music not playing; stderror has plenty of output.

Posted: Sun Nov 17, 2013 3:59 am
by Maxaxle
...Can I get some help with this?

Re: WinXP: Music not playing; stderror has plenty of output.

Posted: Sun Nov 17, 2013 6:34 am
by pheonixstorm
As I said before they were not included in the python27 file in SVN since they were never needed before now. You should have grabbed a zip python file from python.org to get them

Anyway, here are the two files.

Re: WinXP: Music not playing; stderror has plenty of output.

Posted: Sun Nov 17, 2013 4:37 pm
by Maxaxle
pheonixstorm wrote:As I said before they were not included in the python27 file in SVN since they were never needed before now. You should have grabbed a zip python file from python.org to get them

Anyway, here are the two files.
Sorry, I thought they were VS-specific files (as opposed to something I could get on, say, python.org). I'll try them out now.

EDIT: Apparently the game is expecting me to have a full Python27 installation on my C:\ drive, so says stderr.txt:

Code: Select all

USING HOMEDIR : F:\Documents and Settings\Administrator\My Documents/.vegastrike As the home directory 
GOT SUBDIR ARG = 
Found data in D:\VSWin32\bin/../data
Using D:\VSWin32\data as data directory
CONFIGFILE - No config found in home : F:\Documents and Settings\Administrator\My Documents/.vegastrike/vegastrike.config
CONFIGFILE - No home config file found, using datadir config file : D:\VSWin32\data/vegastrike.config
MISSION_NAME is empty using : main_menu.mission
running import sys
print(sys.path)
sys.path = ["",r"D:\VSWin32\data\modules\builtin",r"D:\VSWin32\data\modules\quests",r"D:\VSWin32\data\modules\missions",r"D:\VSWin32\data\modules\ai",r"D:\VSWin32\data\modules",r"D:\VSWin32\data\bases"] + sys.path
testing VS randomrunning import sys
print(sys.path)
  Initializing renderer...
Min (0.000000, 0.000000, 0.000000) Max(0.000000, 0.000000, 0.000000) MinLumin 1.000000, MaxLumin 1.000000Read In Star Count 0 used: 2000
Min (0.000000, 0.000000, 0.000000) Max(0.000000, 0.000000, 0.000000) MinLumin 1.000000, MaxLumin 1.000000Read In Star Count 0 used: 38
Loading a starsystem
Loading Star System Special/Empty
FOUND MODIFICATION = player FOR PLAYER #0
Traceback (most recent call last):
  File "main_menunightprivateer.py", line 4, in <module>
  File "D:\VSWin32\data\modules\GUI.py", line 321, in <module>
    import collections
  File "C:\Python27\lib\collections.py", line 4, in <module>
  File "C:\Python27\lib\_abcoll.py", line 11, in <module>
ImportError: No module named abc
ERROR: there are no rooms in basefile "main_menunight.py" ...
Traceback (most recent call last):
  File "<string>", line 8, in <module>
  File "D:\VSWin32\data\modules\missions\privateer.py", line 1, in <module>
    from trading import trading
  File "D:\VSWin32\data\modules\trading.py", line 4, in <module>
    import debug
  File "D:\VSWin32\data\modules\debug.py", line 1, in <module>
    import traceback
  File "E:\Games\Vegastrike52\modules\builtin\traceback.py", line 3, in <module>
  File "E:\Games\Vegastrike52\modules\builtin\linecache.py", line 9, in <module>
  File "E:\Games\Vegastrike52\modules\builtin\os.py", line 398, in <module>
  File "E:\Games\Vegastrike52\modules\builtin\UserDict.py", line 83, in <module>
  File "C:\Python27\lib\_abcoll.py", line 11, in <module>
ImportError: No module named abc
Shutting down renderer...

EDIT 2: When I placed both folder into a new directory (C:\Python27\lib), stderr.txt had this to say (but this time, it doesn't mention where the missing file should be):

Code: Select all

USING HOMEDIR : F:\Documents and Settings\Administrator\My Documents/.vegastrike As the home directory 
GOT SUBDIR ARG = 
Found data in D:\VSWin32\bin/../data
Using D:\VSWin32\data as data directory
CONFIGFILE - No config found in home : F:\Documents and Settings\Administrator\My Documents/.vegastrike/vegastrike.config
CONFIGFILE - No home config file found, using datadir config file : D:\VSWin32\data/vegastrike.config
MISSION_NAME is empty using : main_menu.mission
running import sys
print(sys.path)
sys.path = ["",r"D:\VSWin32\data\modules\builtin",r"D:\VSWin32\data\modules\quests",r"D:\VSWin32\data\modules\missions",r"D:\VSWin32\data\modules\ai",r"D:\VSWin32\data\modules",r"D:\VSWin32\data\bases"] + sys.path
testing VS randomrunning import sys
print(sys.path)
  Initializing renderer...
Min (0.000000, 0.000000, 0.000000) Max(0.000000, 0.000000, 0.000000) MinLumin 1.000000, MaxLumin 1.000000Read In Star Count 0 used: 2000
Min (0.000000, 0.000000, 0.000000) Max(0.000000, 0.000000, 0.000000) MinLumin 1.000000, MaxLumin 1.000000Read In Star Count 0 used: 38
Loading a starsystem
Loading Star System Special/Empty
FOUND MODIFICATION = player FOR PLAYER #0
Traceback (most recent call last):
  File "main_menunightprivateer.py", line 4, in <module>
  File "D:\VSWin32\data\modules\GUI.py", line 321, in <module>
    import collections
  File "C:\Python27\lib\collections.py", line 4, in <module>
ImportError: No module named _abcoll
ERROR: there are no rooms in basefile "main_menunight.py" ...
Traceback (most recent call last):
  File "<string>", line 8, in <module>
  File "D:\VSWin32\data\modules\missions\privateer.py", line 1, in <module>
    from trading import trading
  File "D:\VSWin32\data\modules\trading.py", line 4, in <module>
    import debug
  File "D:\VSWin32\data\modules\debug.py", line 1, in <module>
    import traceback
  File "E:\Games\Vegastrike52\modules\builtin\traceback.py", line 3, in <module>
  File "E:\Games\Vegastrike52\modules\builtin\linecache.py", line 9, in <module>
  File "E:\Games\Vegastrike52\modules\builtin\os.py", line 63, in <module>
  File "E:\Games\Vegastrike52\modules\builtin\ntpath.py", line 12, in <module>
ImportError: No module named warnings
Shutting down renderer...

Re: WinXP: Music not playing; stderror has plenty of output.

Posted: Fri Nov 29, 2013 6:29 pm
by klauss
Don't edit to post updates, unless you do it really quick (ie: within 5 minutes of your post), because edits don't show up as new posts, and people won't even know to check this thread then.

Aside from that, I don't think python expects the files to be in C:, it just happens to find them there. Having them unzipped in ""E:\Games\Vegastrike52\modules\builtin" should be enough.

That said, it's all python builtins the ones that seem missing, which is odd.

Here's what I'll do. I'll fire up VS (in linux), and make it print out a list of modules loaded. That should tell us which modules are needed, and then we can build a complete zip for windows.

Re: WinXP: Music not playing; stderror has plenty of output.

Posted: Sun Dec 01, 2013 4:16 am
by Maxaxle
Great timing with the post; I was on vacation this week, just got back about an hour or two ago.

Re: WinXP: Music not playing; stderror has plenty of output.

Posted: Sun Dec 01, 2013 7:19 pm
by klauss
Ok, here's the list.

Code: Select all

/usr/lib64/python2.7/UserDict.pyc
/usr/lib64/python2.7/__future__.pyc
/usr/lib64/python2.7/_abcoll.pyc
/usr/lib64/python2.7/abc.pyc
/usr/lib64/python2.7/bisect.pyc
/usr/lib64/python2.7/code.pyc
/usr/lib64/python2.7/codecs.pyc
/usr/lib64/python2.7/codeop.pyc
/usr/lib64/python2.7/collections.pyc
/usr/lib64/python2.7/copy_reg.pyc
/usr/lib64/python2.7/encodings/__init__.pyc
/usr/lib64/python2.7/encodings/aliases.pyc
/usr/lib64/python2.7/encodings/utf_8.pyc
/usr/lib64/python2.7/functools.pyc
/usr/lib64/python2.7/genericpath.pyc
/usr/lib64/python2.7/heapq.pyc
/usr/lib64/python2.7/keyword.pyc
/usr/lib64/python2.7/lib-dynload/_bisect.so
/usr/lib64/python2.7/lib-dynload/_collections.so
/usr/lib64/python2.7/lib-dynload/_functools.so
/usr/lib64/python2.7/lib-dynload/_heapq.so
/usr/lib64/python2.7/lib-dynload/itertools.so
/usr/lib64/python2.7/lib-dynload/math.so
/usr/lib64/python2.7/lib-dynload/operator.so
/usr/lib64/python2.7/lib-dynload/strop.so
/usr/lib64/python2.7/linecache.pyc
/usr/lib64/python2.7/os.pyc
/usr/lib64/python2.7/posixpath.pyc
/usr/lib64/python2.7/posixpath.pyc
/usr/lib64/python2.7/re.pyc
/usr/lib64/python2.7/sre_compile.pyc
/usr/lib64/python2.7/sre_constants.pyc
/usr/lib64/python2.7/sre_parse.pyc
/usr/lib64/python2.7/stat.pyc
/usr/lib64/python2.7/string.pyc
/usr/lib64/python2.7/traceback.pyc
/usr/lib64/python2.7/types.pyc
/usr/lib64/python2.7/warnings.pyc

Re: WinXP: Music not playing; stderror has plenty of output.

Posted: Mon Dec 02, 2013 1:31 am
by Maxaxle
klauss wrote:Ok, here's the list.

Code: Select all

/usr/lib64/python2.7/UserDict.pyc
/usr/lib64/python2.7/__future__.pyc
/usr/lib64/python2.7/_abcoll.pyc
/usr/lib64/python2.7/abc.pyc
/usr/lib64/python2.7/bisect.pyc
/usr/lib64/python2.7/code.pyc
/usr/lib64/python2.7/codecs.pyc
/usr/lib64/python2.7/codeop.pyc
/usr/lib64/python2.7/collections.pyc
/usr/lib64/python2.7/copy_reg.pyc
/usr/lib64/python2.7/encodings/__init__.pyc
/usr/lib64/python2.7/encodings/aliases.pyc
/usr/lib64/python2.7/encodings/utf_8.pyc
/usr/lib64/python2.7/functools.pyc
/usr/lib64/python2.7/genericpath.pyc
/usr/lib64/python2.7/heapq.pyc
/usr/lib64/python2.7/keyword.pyc
/usr/lib64/python2.7/lib-dynload/_bisect.so
/usr/lib64/python2.7/lib-dynload/_collections.so
/usr/lib64/python2.7/lib-dynload/_functools.so
/usr/lib64/python2.7/lib-dynload/_heapq.so
/usr/lib64/python2.7/lib-dynload/itertools.so
/usr/lib64/python2.7/lib-dynload/math.so
/usr/lib64/python2.7/lib-dynload/operator.so
/usr/lib64/python2.7/lib-dynload/strop.so
/usr/lib64/python2.7/linecache.pyc
/usr/lib64/python2.7/os.pyc
/usr/lib64/python2.7/posixpath.pyc
/usr/lib64/python2.7/posixpath.pyc
/usr/lib64/python2.7/re.pyc
/usr/lib64/python2.7/sre_compile.pyc
/usr/lib64/python2.7/sre_constants.pyc
/usr/lib64/python2.7/sre_parse.pyc
/usr/lib64/python2.7/stat.pyc
/usr/lib64/python2.7/string.pyc
/usr/lib64/python2.7/traceback.pyc
/usr/lib64/python2.7/types.pyc
/usr/lib64/python2.7/warnings.pyc
I'm going to guess all of those are generic Python modules? If it is, I'll just go get them.

Re: WinXP: Music not playing; stderror has plenty of output.

Posted: Mon Dec 02, 2013 2:48 am
by klauss
Yes, they are. I removed all the ones that weren't.

Re: WinXP: Music not playing; stderror has plenty of output.

Posted: Wed Dec 04, 2013 1:00 am
by Maxaxle
Okay, the game works!

PROS:
-Music is working as intended.
-Chatter works.
-Battle-damage-noises work as intended, and once I heard the explosion of my own Llama.
-Menus work.
-Zero graphical glitches, and the tutorial 'bot seems to talk along with his subtitles, mostly (instead of talking at an impossible rate).
CONS:
-I can't hear my weapons firing.
-Despite my F:\ drive being the one with Windows on it, I had to install Python 2.7 to the C:\ drive.
-Just before launching, I noticed that my Llama's shields were visible. Weird.

Re: WinXP: Music not playing; stderror has plenty of output.

Posted: Wed Dec 04, 2013 3:11 am
by klauss
Maxaxle wrote: -I can't hear my weapons firing.
That's weird.
Maxaxle wrote: -Despite my F:\ drive being the one with Windows on it, I had to install Python 2.7 to the C:\ drive.
That too, but I'll have to defer to the windows gurus here. It might be an issue with how python's dll is built for windows.
Maxaxle wrote: -Just before launching, I noticed that my Llama's shields were visible. Weird.
I do see that as well. Some bug with the shader technique. I'll eventually fix it (before the next release hopefully)