[pyddr-discuss] pydance 0.9.1

Dave Dodge dododge at dododge.net
Sun Feb 15 03:45:12 EST 2004


On Wed, Feb 11, 2004 at 11:40:15PM -0600, Joe Wreschnig wrote:
> Hot on the tails (well, sort of; a week later) of pydance 0.9.0 comes
> the next version. At this point features are frozen (commas in scores
> again, was the last one I wanted to add). Other than that, this release
> fixes a lot of crashes.

This seems to happen consistently for a particular song:

Playing /opt/pydance-0.9.1/share/games/pydance/songs/Songs/bemaniruler originals/bannana/banana.dwi
My Sweet Banana by Go Go Girls
Traceback (most recent call last):
  File "/opt/pydance-0.9.1/share/games/pydance/pydance.py", line 194, in ?
    if __name__ == '__main__': main()
  File "/opt/pydance-0.9.1/share/games/pydance/pydance.py", line 184, in main
    menudriver.do(screen, (songs, crs, screen))
  File "/mnt/software-build-area/opt-pydance-0.9.1/share/games/pydance/menudriver.py", line 262, in do
    me.display()
  File "/mnt/software-build-area/opt-pydance-0.9.1/share/games/pydance/menus.py", line 185, in display
    ev = self.items[curitem].activate(ev)
  File "/mnt/software-build-area/opt-pydance-0.9.1/share/games/pydance/menus.py", line 57, in activate
    text, subtext = self.callbacks[ev](*self.args)
  File "/mnt/software-build-area/opt-pydance-0.9.1/share/games/pydance/menudriver.py", line 155, in wrap_ctr
    Obj(*args)
  File "/mnt/software-build-area/opt-pydance-0.9.1/share/games/pydance/gameselect.py", line 203, in __init__
    self.loop()
  File "/mnt/software-build-area/opt-pydance-0.9.1/share/games/pydance/gameselect.py", line 225, in loop
    MODES.get((VALUES[0][indices[0]],
  File "/mnt/software-build-area/opt-pydance-0.9.1/share/games/pydance/songselect.py", line 232, in __init__
    self.loop()
  File "/mnt/software-build-area/opt-pydance-0.9.1/share/games/pydance/songselect.py", line 325, in loop
    self._configs, self._config, self._game)
  File "/mnt/software-build-area/opt-pydance-0.9.1/share/games/pydance/dance.py", line 214, in play
    if dance(screen, songdata, players, prevscr, first, game):
  File "/mnt/software-build-area/opt-pydance-0.9.1/share/games/pydance/dance.py", line 408, in dance
    if fpstext: print "Average FPS for this song was %d." % fpstext.fps()
  File "/mnt/software-build-area/opt-pydance-0.9.1/share/games/pydance/dance.py", line 66, in fps
    return self._totalcount / self._cycles
ZeroDivisionError: integer division or modulo by zero

Here's the DWI file:

#FILE:.\music\BeMaNiRuler Originals\mysweetbanana.mp3;
#TITLE:My Sweet Banana;
#ARTIST:Go Go Girls;
#BPM:154.06;
#GAP:-1509;
#RANDSTART:80;

#SINGLE:MANIAC:9:0000000000000000000000000000000000000000B08(4842)46(28)4680(6206)4(82)626(482628)4(82)6(42)4(62)6(82)80B08(6862)64(28)6480(4204)6(28)424(628482)6(28)4(62)6(42)4(82)8013843(01)0679429(07)02BA64A(0B)081(03)04!460B031861(03)0497627(09)02BA46A(0B)029(07)08!820A040B038010B026!609!8092840006!603826!609240B038270B026!603!20382406080682409010703082!201!400B828!80942862804!460B07030901082!201!401820004826848!80A!201007030901028!809!600B828!8076824826!6040B09010703028!809!609280006284868!807!40B4(2868)2B08(4842)46(28)4680(6206)4(82)626(482628)4(82)6(42)4(62)6(82)80B08(6862)64(28)6480(4204)6(28)424(628482)6(28)4(62)6(42)4(82)804!46!6000000B;

Installed versions:

Linux-2.4.24 glibc-2.2.3 gcc-3.3.2 binutils-2.14 Numeric-23.1
Python-2.3.3 SDL-1.2.7cvs-20040215 SDL_image-1.2.3
SDL_mixer-1.2.6cvs-20040207 SDL_ttf-2.0.6-patched alsa-lib-1.0.2
autoconf-2.59 automake-1.8.2 freetype-2.1.7 libogg-1.1 libvorbis-1.0.1
psyco-1.1.1 pydance-0.9.1 pygame-1.7cvs-20040207
smpeg-icculus.org-20040207

                                                  -Dave Dodge



More information about the pyddr-discuss mailing list