Discussion:
[Pykaraoke-discuss] Problem playing CDG file
Alec Bennett
2010-08-09 08:14:51 UTC
Permalink
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.
Stephen Burke
2010-08-10 00:47:01 UTC
Permalink
I can't offer any solutions at the moment since I am off the grid for about a week for vacation but could probably help a little when I get back. Can you send me one of the CDG files that is making it crash?

Steve
Post by Alec Bennett
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
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.
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Pykaraoke-discuss mailing list
https://lists.sourceforge.net/lists/listinfo/pykaraoke-discuss
Loading...