Alec Bennett
2010-08-09 08:14:51 UTC
I'm running PyKaraoke from source, and having a problem playing CDG files.
Here's the error:
Traceback (most recent call last):
File "D:\Desktop\pykaraoke-0.7.3\pykaraoke-0.7.3\pycdg.py", line 626, in ?
sys.exit(main())
File "D:\Desktop\pykaraoke-0.7.3\pykaraoke-0.7.3\pycdg.py", line 623, in
main
manager.WaitForPlayer()
File "D:\Desktop\pykaraoke-0.7.3\pykaraoke-0.7.3\pykmanager.py", line 374,
in WaitForPlayer
self.Poll()
File "D:\Desktop\pykaraoke-0.7.3\pykaraoke-0.7.3\pykmanager.py", line 363,
in Poll
self.player.doStuff()
File "D:\Desktop\pykaraoke-0.7.3\pykaraoke-0.7.3\pycdg.py", line 405, in
doStuff
self.cdgDisplayUpdate()
File "D:\Desktop\pykaraoke-0.7.3\pykaraoke-0.7.3\pycdg.py", line 580, in
cdgDisplayUpdate
self.packetReader.FillTile(self.workingTile, row, col)
File "D:\Desktop\pykaraoke-0.7.3\pykaraoke-0.7.3\pycdgAux.py", line 214,
in FillTile
self.__cdgSurfarray[row_start:row_end, col_start:col_end])
SystemError: error return without exception set
In other words, the following line, which calls FillTile() in pycdgAux.py,
is erroring out:
self.packetReader.FillTile(self.workingTile, row, col)
I'm running Python 2.4 on Windows, with an up to date Pygame and Numeric
modules.
I'm running from commandline, like this: pycdg.py c:\whatever.cdg
I've tried a few different CDG files, haven't been able to play any of them.
I can play KAR files just fine.
Here's the error:
Traceback (most recent call last):
File "D:\Desktop\pykaraoke-0.7.3\pykaraoke-0.7.3\pycdg.py", line 626, in ?
sys.exit(main())
File "D:\Desktop\pykaraoke-0.7.3\pykaraoke-0.7.3\pycdg.py", line 623, in
main
manager.WaitForPlayer()
File "D:\Desktop\pykaraoke-0.7.3\pykaraoke-0.7.3\pykmanager.py", line 374,
in WaitForPlayer
self.Poll()
File "D:\Desktop\pykaraoke-0.7.3\pykaraoke-0.7.3\pykmanager.py", line 363,
in Poll
self.player.doStuff()
File "D:\Desktop\pykaraoke-0.7.3\pykaraoke-0.7.3\pycdg.py", line 405, in
doStuff
self.cdgDisplayUpdate()
File "D:\Desktop\pykaraoke-0.7.3\pykaraoke-0.7.3\pycdg.py", line 580, in
cdgDisplayUpdate
self.packetReader.FillTile(self.workingTile, row, col)
File "D:\Desktop\pykaraoke-0.7.3\pykaraoke-0.7.3\pycdgAux.py", line 214,
in FillTile
self.__cdgSurfarray[row_start:row_end, col_start:col_end])
SystemError: error return without exception set
In other words, the following line, which calls FillTile() in pycdgAux.py,
is erroring out:
self.packetReader.FillTile(self.workingTile, row, col)
I'm running Python 2.4 on Windows, with an up to date Pygame and Numeric
modules.
I'm running from commandline, like this: pycdg.py c:\whatever.cdg
I've tried a few different CDG files, haven't been able to play any of them.
I can play KAR files just fine.