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

Just downloaded Vega Strike and need help? Have a question but don't know where to start? Ask here.
pheonixstorm
Elite
Elite
Posts: 1567
Joined: Tue Jan 26, 2010 2:03 am

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

Post by pheonixstorm »

they were never needed before. Don't know what changed in the code that would require all these new files.
Because of YOU Arbiter, MY kids? can't get enough gas. OR NIPPLE! How does that mkae you feeeel? ~ Halo
Maxaxle
Mercenary
Mercenary
Posts: 116
Joined: Sat Nov 18, 2006 6:25 pm
Location: San Diego, California

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

Post by Maxaxle »

So is there something specific I should do, like redownloading the stable release and merging the SVN with it?
pheonixstorm
Elite
Elite
Posts: 1567
Joined: Tue Jan 26, 2010 2:03 am

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

Post 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.
Because of YOU Arbiter, MY kids? can't get enough gas. OR NIPPLE! How does that mkae you feeeel? ~ Halo
Maxaxle
Mercenary
Mercenary
Posts: 116
Joined: Sat Nov 18, 2006 6:25 pm
Location: San Diego, California

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

Post 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?
pheonixstorm
Elite
Elite
Posts: 1567
Joined: Tue Jan 26, 2010 2:03 am

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

Post 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.
Because of YOU Arbiter, MY kids? can't get enough gas. OR NIPPLE! How does that mkae you feeeel? ~ Halo
Maxaxle
Mercenary
Mercenary
Posts: 116
Joined: Sat Nov 18, 2006 6:25 pm
Location: San Diego, California

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

Post by Maxaxle »

Seems that both of those are missing from py27_modules, and it seems that those are the only two missing modules.
Maxaxle
Mercenary
Mercenary
Posts: 116
Joined: Sat Nov 18, 2006 6:25 pm
Location: San Diego, California

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

Post by Maxaxle »

...Can I get some help with this?
pheonixstorm
Elite
Elite
Posts: 1567
Joined: Tue Jan 26, 2010 2:03 am

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

Post 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.
You do not have the required permissions to view the files attached to this post.
Because of YOU Arbiter, MY kids? can't get enough gas. OR NIPPLE! How does that mkae you feeeel? ~ Halo
Maxaxle
Mercenary
Mercenary
Posts: 116
Joined: Sat Nov 18, 2006 6:25 pm
Location: San Diego, California

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

Post 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...
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

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

Post 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.
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
Maxaxle
Mercenary
Mercenary
Posts: 116
Joined: Sat Nov 18, 2006 6:25 pm
Location: San Diego, California

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

Post by Maxaxle »

Great timing with the post; I was on vacation this week, just got back about an hour or two ago.
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

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

Post 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
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
Maxaxle
Mercenary
Mercenary
Posts: 116
Joined: Sat Nov 18, 2006 6:25 pm
Location: San Diego, California

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

Post 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.
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

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

Post by klauss »

Yes, they are. I removed all the ones that weren't.
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
Maxaxle
Mercenary
Mercenary
Posts: 116
Joined: Sat Nov 18, 2006 6:25 pm
Location: San Diego, California

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

Post 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.
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

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

Post 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)
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
Post Reply