[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#434457: Pydance crashes.

Package: pydance
Version: 1.0.3-4
Severity: Important

After playing pydance for an average of 15 mins or so, it crashes. Here
is the traceback of my most recent crash. I had just failed a dance, and
was about to try another. I selected the dance and pressed enter. And then:

Traceback (most recent call last):
  File "/usr/games/pydance", line 205, in ?
    if __name__ == '__main__': main()
  File "/usr/games/pydance", line 195, in main
    menudriver.do(screen, (songs, crs, screen))
  File "/usr/share/games/pydance/menudriver.py", line 266, in do
  File "/usr/share/games/pydance/menus.py", line 184, in display
    ev = self.items[curitem].activate(ev)
  File "/usr/share/games/pydance/menus.py", line 57, in activate
    text, subtext = self.callbacks[ev](*self.args)
  File "/usr/share/games/pydance/menudriver.py", line 155, in wrap_ctr
  File "/usr/share/games/pydance/gameselect.py", line 205, in __init__
  File "/usr/share/games/pydance/gameselect.py", line 227, in loop
  File "/usr/share/games/pydance/songselect.py", line 202, in __init__
  File "/usr/share/games/pydance/songselect.py", line 295, in loop
    self._configs, self._config, self._game)
  File "/usr/share/games/pydance/dance.py", line 292, in play
    try: current_song = fileparsers.SongItem(songfn)
  File "/usr/share/games/pydance/fileparsers.py", line 797, in __init__
    song = pair[1](filename, need_steps)
  File "/usr/share/games/pydance/fileparsers.py", line 578, in __init__
    self.steps[game][parts[2].upper()] = self.parse_steps(parts[6], game)
 File "/usr/share/games/pydance/fileparsers.py", line 612, in parse_steps
    step.extend([SMFile.step[int(s)] for s in sd])
ValueError: invalid literal for int(): M

Some of the songs I was playing do not come with Debian. I don't know if
that had anything to do with this crash, but that shouldn't make it crash.
The first crash I had was before I added any non-debian songs.

I have not noticed any patterns to the crashes. All of the songs that I
have, I can play fine.


Reply to: