Topic: [HELP] Python problem compiling 0.5.1 on Vista
I have installed:
- VC 2008
- Python 2.5
- bam 0.2
- teeworlds 0.5.1 src
I tried to compile everything like stated in trac with 'bam release'. The first part works fine (the tools i guess), but when it comes to the first python scripts i get this error:
...
[ 37/128] #1 link versionsrv.exe
[ 38/128] #1 server_content_header > src/game/generated/gs_data.hpp
Traceback (most recent call last):
File "X:\Dokumente\teeworlds\datasrc\compile.py", line 8
4, in <module>
EmitEnum(["SPRITE_%s"%i.name.value.upper() for i in content.container.sprite
s.items], "NUM_SPRITES")
File "X:\Dokumente\teeworlds\datasrc\compile.py", line 3
0, in EmitEnum
print "\t%s,"%name
IOError: [Errno 9] Bad file descriptor
close failed: [Errno 9] Bad file descriptor
bam: command returned error: 1
bam: error during build
When i try it again it hangs at other python scripts and generates e.g. empty files in src/game/generated/. Python works with other applications. I also tried to execute the python script for the network_source and _header targets by hand and they worked. I'm noch sure if every script call from bam has problems.
Has someone an idea?
Thanks!
Questmaster