Export to GitHub

fofix - issue #1229

Tempo Change Issue


Posted on Oct 3, 2010 by Swift Lion

Describe the problem.

I created a chart for Aenema by Tool for in Feedback editor and added star power and solos with Editor on Fire. I had very subtle BPM changes throughout the beginning, but when I reached a large BPM change (It changed by 35 BPM) I got an error that said "ZeroDivisionError: float division" and then an error that said "Connection lost" What did you expect? I expected the tempo to change. What do you see? Those two error messages. Afterwords, my screen turned black (I was running it in full screen) and the song continued to play. I opened up control panel to close FoFiX.

List the steps to recreate the problem.

  1. Open FoFiX
  2. Load up a song with a large tempo change
  3. Get to the large tempo change

What version are you using? Include the FoFiX version, the Python version, your operating system, and whether it is Git, alpha, beta, RC, or final release. (If it's Git, please include the commit hash.)

FoFiX version: 3.121 final Python version: I really don't know. Judging from the log, I'd say pygame1.9.1 OS: Windows XP Service Pack 3

Did you read the wiki on how to report bugs, conveniently called ReportingBugs? If this is a bug report, please include the log file!

[ 0.000000] (D) Logging initialized: Sat Oct 02 21:19:06 2010 [ 0.271000] (D) Checking MIDI output ports for a wavetable or synth for sound generation... [ 0.271000] (D) MIDI output port count = 1 [ 0.281000] (D) MIDI Output port 0 found: Microsoft GS Wavetable SW Synth [ 0.371000] (D) GameEngine class init (GameEngine.py)... [ 0.371000] (D) FoFiX v3.121 Final starting up... [ 0.371000] (D) pygame version: 1.9.1release-svn2575 [ 0.371000] (D) Initializing audio. [ 0.421000] (D) Audio configuration: (44100, -16, 2) [ 0.431000] (D) Initializing pygame.mixer & audio system at 44100 Hz. [ 0.431000] (D) Initializing video. [ 2.233000] (W) OpenGL extension ARB_shader_objects not supported - shaders disabled [ 2.253000] (D) 1 joysticks found. [ 2.263000] (W) No MIDI input ports found. [ 4.427000] (D) 9 guitscw sounds found in themes\K.i.D's Revision 84 Rock Band 2 Theme\sounds: guitscw1.ogg - guitscw9.ogg [ 4.467000] (D) 8 bassscw sounds found in themes\K.i.D's Revision 84 Rock Band 2 Theme\sounds: bassscw1.ogg - bassscw8.ogg [ 4.517000] (D) 8 drumscw sounds found in sounds: drumscw1.ogg - drumscw8.ogg [ 4.577000] (D) 10 accept sounds found in themes\K.i.D's Revision 84 Rock Band 2 Theme\sounds: accept1.ogg - accept10.ogg [ 4.587000] (W) K.i.D's Revision 84 Rock Band 2 Theme\soundsattleused.ogg not found -- using staractive.ogg instead. [ 4.667000] (W) K.i.D's Revision 84 Rock Band 2 Theme\sounds escue.ogg not found -- using staractivate.ogg instead. [ 4.707000] (W) K.i.D's Revision 84 Rock Band 2 Theme\sounds\coopfail.ogg not found -- using stardeactivate.ogg instead [ 4.947000] (D) Default animated stage for K.i.D's Revision 84 Rock Band 2 Theme theme = Normal [ 5.088000] (D) Ready. [ 5.648000] (D) 9 guitscw sounds found in themes\K.i.D's Revision 84 Rock Band 2 Theme\sounds: guitscw1.ogg - guitscw9.ogg [ 10.615000] (D) View: Push: MainMenu [ 10.615000] (D) View: Push: Menu [ 10.615000] (W) OpenGL extension ARB_shader_objects not supported - shaders disabled [ 14.681000] (D) Graphic menu enabled for submenu: solo [ 14.681000] (D) View: Push: Menu [ 21.411000] (D) View: Push: ControlActivator [ 23.334000] (D) View: Pop: ControlActivator [ 23.364000] (D) Starting server. [ 23.364000] (D) Connecting to host 127.0.0.1. [ 23.364000] (D) View: Pop all [ 23.364000] (D) View: Pop: MainMenu [ 23.364000] (D) View: Pop: Menu [ 23.364000] (D) View: Pop: Menu [ 23.364000] (D) View: Pop: MainMenu [ 23.364000] (D) Session #1 connected. [ 23.384000] (D) View: Pop: Menu [ 28.221000] (D) View: Push: Lobby [ 28.221000] (D) Connected as session #1. [ 29.753000] (D) 1 phrases taught. [ 29.753000] (D) 2 phrases taught. [ 29.753000] (D) Learned about World.CreatePlayer, 1 phrases now known. [ 29.763000] (D) 1 phrases taught. [ 29.773000] (D) Learned about World.PlayerJoined, 1 phrases now known. [ 29.773000] (D) Learned about World.StartGame, 2 phrases now known. [ 29.783000] (D) 2 phrases taught. [ 29.783000] (D) 3 phrases taught. [ 29.783000] (D) 4 phrases taught. [ 29.783000] (D) 5 phrases taught. [ 29.793000] (D) Learned about World.GameStarted, 2 phrases now known. [ 29.803000] (D) View: Pop: Lobby [ 29.823000] (D) Learned about World.SceneCreated, 3 phrases now known. [ 29.833000] (D) Song select submenu position tuple: (0.19500000000000001, 0.085000000000000006) [ 29.843000] (D) Learned about World.EnterScene, 4 phrases now known. [ 29.863000] (D) Learned about World.SceneEntered, 5 phrases now known. [ 29.883000] (D) View: Push: SongChoosingSceneClient [ 29.883000] (D) Songlist artist colors: (0.25098039215686274, 0.50196078431372548, 1.0) / (0.25098039215686274, 0.50196078431372548, 1.0) [ 29.883000] (D) song_cd_xpos found: None [ 29.883000] (D) song_cdscore_xpos found: None [ 29.883000] (D) song_list_xpos found: 0.12 [ 29.883000] (D) song_listscore_xpos found: 0.8 [ 29.883000] (D) song_listcd_cd_xpos found: 0.78 [ 29.883000] (D) song_listcd_cd_ypos found: 0.615 [ 29.883000] (D) song_listcd_score_xpos found: 0.6 [ 29.883000] (D) song_listcd_score_ypos found: 0.515 [ 29.883000] (D) song_listcd_list_xpos found: 0.1 [ 29.883000] (D) Dialogs.loadCollection() function call... [ 29.883000] (D) View: Push: LoadingSplashScreen [ 29.893000] (D) Song.getAvailableLibraries function call...library = songs [ 29.903000] (D) Dialogs.libraryListLoaded() function call... [ 30.124000] (D) Dialogs.py: Finished inserting blank spaces in self.songs. [ 30.124000] (D) Dialogs.py: Finished filtering doubled blank spaces in self.songs. [ 30.124000] (D) Dialogs.songListLoaded. [ 30.124000] (D) View: Pop: LoadingSplashScreen [ 33.218000] (D) View: Push: SongChooser [ 34.670000] (D) View: Pop: SongChooser [ 34.690000] (D) Retrieving sections from: data\songs\aenema\notes.mid [ 34.800000] (W) Song.py: Using auto-generated note count sections... [ 34.800000] (D) Practice start position retrieved: 0.0 [ 34.800000] (D) Retrieving parts from: data\songs\aenema\notes.mid [ 34.900000] (D) MIDI Type identified as RB [ 35.171000] (D) 3 phrases taught. [ 35.171000] (D) 4 phrases taught. [ 35.171000] (D) 5 phrases taught. [ 35.171000] (D) Learned about World.DeleteScene, 3 phrases now known. [ 35.181000] (D) 6 phrases taught. [ 35.181000] (D) 7 phrases taught. [ 35.191000] (D) Learned about World.SceneDeleted, 6 phrases now known. [ 35.191000] (D) Learned about World.CreateScene, 4 phrases now known. [ 35.211000] (D) Learned about World.SceneLeft, 7 phrases now known. [ 35.211000] (D) Learned about Scene.ControlEvent, 5 phrases now known. [ 35.231000] (D) View: Pop: SongChoosingSceneClient [ 35.241000] (D) GuitarSceneClient init... [ 35.241000] (D) View: Push: LoadingSplashScreen [ 35.271000] (D) Battle Objects Enabled: [4, 3, 7, 8, 6, 5] [ 38.606000] (D) Simple tails used; complex tail loading error... [ 39.477000] (D) GuitarScene keysList: [[64, 256, 1024, 4096, 16384, 128, 512, 2048, 8192, 32768]] [ 39.477000] (D) All theme POV set. Using custom camera POV. [ 39.477000] (D) loadSong function call (song.py)... [ 39.487000] (D) Retrieving parts from: data\songs\aenema\notes.mid [ 39.587000] (D) MIDI Type identified as RB [ 39.587000] (D) Song with only a single audio track identified - single-track miss volume applied: 0.9 [ 39.587000] (D) Retrieving notes from: data\songs\aenema\notes.mid [ 40.458000] (D) No song.ini setting found speficying early_hit_window_size - using automatic detection... [ 40.458000] (D) Basic RB1/RB2 type MIDI found - early hitwindow of NONE is set as handicap base. [ 41.921000] (D) Last note (number 2) found for player 0 at time 393185.259390 [ 41.921000] (D) P1 MIDI Guitar Solo found from: 37180.79427 to: 37202.26368, containing 1 notes. [ 41.931000] (D) P1 MIDI Guitar Solo found from: 217503.6986 to: 248301.47401, containing 60 notes. [ 41.941000] (D) 8 phrases taught. [ 41.941000] (D) Valid background found, index (0): default.png [ 41.941000] (D) Practice background filtered: practice.png [ 41.941000] (D) Practice background filtered: practicebass.png [ 41.941000] (D) Practice background filtered: practicedrum.png [ 41.941000] (D) Valid background found, index (1): stage 1.png [ 41.941000] (D) Valid background found, index (2): stage 10.png [ 41.941000] (D) Valid background found, index (3): stage 11.png [ 41.941000] (D) Valid background found, index (4): stage 12.png [ 41.941000] (D) Valid background found, index (5): stage 13.png [ 41.941000] (D) Valid background found, index (6): stage 14.png [ 41.941000] (D) Valid background found, index (7): stage 15.png [ 41.941000] (D) Valid background found, index (8): stage 16.png [ 41.941000] (D) Valid background found, index (9): stage 17.png [ 41.941000] (D) Valid background found, index (10): stage 18.png [ 41.941000] (D) Valid background found, index (11): stage 19.png [ 41.941000] (D) Valid background found, index (12): stage 2.png [ 41.941000] (D) Valid background found, index (13): stage 20.png [ 41.941000] (D) Valid background found, index (14): stage 21.png [ 41.941000] (D) Valid background found, index (15): stage 22.png [ 41.941000] (D) Valid background found, index (16): stage 23.png [ 41.941000] (D) Valid background found, index (17): stage 24.png [ 41.941000] (D) Valid background found, index (18): stage 25.png [ 41.941000] (D) Valid background found, index (19): stage 26.png [ 41.941000] (D) Valid background found, index (20): stage 27.png [ 41.941000] (D) Valid background found, index (21): stage 28.png [ 41.941000] (D) Valid background found, index (22): stage 29.png [ 41.941000] (D) Valid background found, index (23): stage 3.png [ 41.941000] (D) Valid background found, index (24): stage 30.png [ 41.941000] (D) Valid background found, index (25): stage 31.png [ 41.941000] (D) Valid background found, index (26): stage 32.png [ 41.941000] (D) Valid background found, index (27): stage 33.png [ 41.941000] (D) Valid background found, index (28): stage 34.png [ 41.941000] (D) Valid background found, index (29): stage 35.png [ 41.941000] (D) Valid background found, index (30): stage 36.png [ 41.941000] (D) Valid background found, index (31): stage 37.png [ 41.941000] (D) Valid background found, index (32): stage 38.png [ 41.941000] (D) Valid background found, index (33): stage 39.png [ 41.941000] (D) Valid background found, index (34): stage 4.png [ 41.941000] (D) Valid background found, index (35): stage 40.png [ 41.941000] (D) Valid background found, index (36): stage 5.png [ 41.941000] (D) Valid background found, index (37): stage 6.png [ 41.941000] (D) Valid background found, index (38): stage 7.png [ 41.941000] (D) Valid background found, index (39): stage 8.png [ 41.941000] (D) Valid background found, index (40): stage 9.png [ 54.779000] (D) Pause text / selected hex colors: #FFFFFF / #FFBF00 [ 54.779000] (D) Pause text / selected colors: (1.0, 1.0, 1.0) / (1.0, 0.74901960784313726, 0.0) [ 54.789000] (W) OpenGL extension ARB_shader_objects not supported - shaders disabled [ 54.899000] (D) View: Pop: Menu [ 54.949000] (D) View: Pop: LoadingSplashScreen [ 54.949000] (D) 6 phrases taught. [ 54.949000] (D) Learned about World.EnterScene, 6 phrases now known. [ 54.949000] (D) Learned about Scene.ControlData, 8 phrases now known. [ 54.969000] (D) View: Push: GuitarSceneClient [ 96.128000] (E) Loading error: Traceback (most recent call last): File "GameEngine.pyo", line 1020, in main File "Engine.pyo", line 136, in run File "Engine.pyo", line 124, in _runTask File "GuitarScene.pyo", line 4326, in run File "GuitarScene.pyo", line 3070, in updateGuitarSolo ZeroDivisionError: float division

[ 96.128000] (E) ZeroDivisionError, exceptions.ZeroDivisionError: float division Traceback (most recent call last): File "GameEngine.pyo", line 1047, in run File "GameEngine.pyo", line 1020, in main File "Engine.pyo", line 136, in run File "Engine.pyo", line 124, in _runTask File "GuitarScene.pyo", line 4326, in run File "GuitarScene.pyo", line 3070, in updateGuitarSolo ZeroDivisionError: float division

[ 96.128000] (D) View: Pop all [ 96.128000] (D) View: Pop: GuitarSceneClient [ 96.128000] (D) Disconnecting. [ 96.128000] (N) Connection lost. [ 96.128000] (D) View: Push: MessageScreen [ 96.138000] (E) Loading error: Traceback (most recent call last): File "GameEngine.pyo", line 1022, in main File "View.pyo", line 216, in render File "GuitarScene.pyo", line 8994, in render File "GuitarScene.pyo", line 3005, in endSolo ZeroDivisionError: float division

[ 96.138000] (E) Recursive exception: Traceback (most recent call last): File "GameEngine.pyo", line 1047, in run File "GameEngine.pyo", line 1022, in main File "View.pyo", line 216, in render File "GuitarScene.pyo", line 8994, in render File "GuitarScene.pyo", line 3005, in endSolo ZeroDivisionError: float division

[ 96.138000] (D) Stopping server. [ 96.138000] (D) 9 phrases taught. [ 96.148000] (D) 10 phrases taught. [ 96.148000] (N) ZeroDivisionError: float division [ 96.148000] (D) View: Push: MessageScreen [ 97.420000] (D) View: Pop: MessageScreen [ 98.802000] (D) View: Pop: MessageScreen

Please provide any additional information below.

I think that's about it.

Comment #1

Posted on Oct 3, 2010 by Swift Lion

Sorry, I forgot a couple things.

Attachments

Comment #2

Posted on Oct 3, 2010 by Swift Lion

Ok, yeah, forget this. I already fixed it.

Comment #3

Posted on Oct 3, 2010 by Happy Lion

(No comment was entered for this change.)

Status: Invalid