Bug with folders and up/down
David Bellows
bfootdav at mindspring.com
Wed Jul 16 18:54:55 EDT 2003
With folders turned on and choosing either Single/Versus or Couple which
brings up the song selcting screen, if I choose up or down ("i" or "k" on the
keyboard) first, without hitting the left/right buttons first, the game
crashes with the following output:
Traceback (most recent call last):
File "/usr/local/games/pydance", line 1252, in ?
if __name__ == '__main__': main()
File "/usr/local/games/pydance", line 904, in main
menudriver.do(screen, (songs, screen, playSequence))
File "/usr/local/games/../share/games/pydance/menudriver.py", line 171, in
do
me.display()
File "/usr/local/games/../share/games/pydance/menus.py", line 178, in
display
ev = self.items[curitem].activate(ev)
File "/usr/local/games/../share/games/pydance/menus.py", line 118, in
activate
self.display()
File "/usr/local/games/../share/games/pydance/menus.py", line 178, in
display
ev = self.items[curitem].activate(ev)
File "/usr/local/games/../share/games/pydance/menus.py", line 56, in
activate
text, subtext = self.callbacks[ev](*self.args)
File "/usr/local/games/../share/games/pydance/menudriver.py", line 107, in
wrap_ctr
Obj(*args)
File "/usr/local/games/../share/games/pydance/songselect.py", line 331, in
__init__
self.player_diffs[ev[0]] %= len(self.current_song.diff_list[gametype])
AttributeError: SongSelect instance has no attribute 'current_song'
If instead I choose left/right ("j" or "l") then the game functions perfectly
thereafter allowing me to up/down ("i"/"k") at will. Again, only if up/down
is done before left/right and the folders option is on, does the game crash.
David Bellows
More information about the pyddr-discuss
mailing list