[fofix-gcode-issuetracker] Issue 1252 in fofix: FoFiX Vocal Problem lsit indices must be integers, not nontype

fofix at googlecode.com fofix at googlecode.com
Mon May 16 22:24:16 UTC 2011


Status: New
Owner: ----
Labels: Priority-Low

New issue 1252 by bananers... at gmail.com: FoFiX Vocal Problem lsit indices  
must be integers, not nontype
http://code.google.com/p/fofix/issues/detail?id=1252

I tried to do vocals on FoFiX r2046, it just goes blank when I choose my  
song. I close it, and get this message:

[    0.000000] (D) Logging initialized: Mon May 16 17:20:25 2011
[    0.268000] (W) OggStreamer not found.  Falling back to legacy  
pyogg/pyvorbis based ogg streamer.
[    0.500000] (D) GameEngine class init (GameEngine.py)...
[    0.500000] (D) FoFiX v4.0.0 development (svn r2046) starting up...
[    0.500000] (D) Python version: 2.6
[    0.500000] (D) Pygame version: 1.9.1release-svn2575
[    0.500000] (D) PyOpenGL version: 3.0.1
[    0.500000] (D) Numpy version: 1.5.0
[    0.500000] (D) PIL version: 1.1.7+
[    0.500000] (D) os.name: nt
[    0.500000] (D) sys.platform: win32
[    0.508000] (D) win32api.GetVersionEx(1): (6, 1, 7600, 2, '', 0, 0, 768,  
1, 0)
[    0.513000] (D) Disabling screensaver.
[    0.514000] (D) Initializing audio.
[    0.653000] (D) Audio configuration: (44100, -16, 2)
[    0.673000] (D) Initializing pygame.mixer & audio system at 44100 Hz.
[    0.673000] (D) Initializing video.
[    1.488000] (D) Compiling shader "stage" from  
C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\data\shaders\lightning.vert and  
C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\data\shaders\lightning.frag.
[    1.588000] (D) Compiling shader "sololight" from  
C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\data\shaders\lightning.vert and  
C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\data\shaders\lightning.frag.
[    1.597000] (D) Compiling shader "tail" from  
C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\data\shaders\lightning.vert and  
C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\data\shaders\lightning.frag.
[    1.606000] (D) Compiling shader "tail2" from  
C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\data\shaders\rockbandtail.vert  
and  
C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\data\shaders\rockbandtail.frag.
[    1.614000] (D) Compiling shader "notes" from  
C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\data\shaders\metal.vert and  
C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\data\shaders\metal.frag.
[    1.621000] (D) Compiling shader "neck" from  
C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\data\shaders\neck.vert and  
C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\data\shaders\neck.frag.
[    1.627000] (D) Compiling shader "cd" from  
C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\data\shaders\cd.vert and  
C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\data\shaders\cd.frag.
[    1.641000] (D) 0 joysticks found.
[    2.204000] (W) MegaLight V4/sounds/failsound.ogg not found -- using  
general failsound.ogg instead.
[    2.205000] (W) MegaLight V4/sounds/starpowerready.ogg not found --  
using starpower.ogg instead.
[    2.206000] (W) MegaLight V4/sounds/crowdcheers.ogg not found -- using  
data/sounds/crowdcheers.ogg instead.
[    2.207000] (W) MegaLight V4/sounds/staractivate.ogg not found -- using  
starpower.ogg instead.
[    2.209000] (W) MegaLight V4/sounds/battleused.ogg not found -- using  
starpower.ogg instead.
[    2.210000] (W) MegaLight V4/sounds/stardeactivate.ogg not found --  
sound disabled.
[    2.211000] (W) MegaLight V4/sounds/rescue.ogg not found -- using  
starpower.ogg instead.
[    2.212000] (W) MegaLight V4/sounds/coopfail.ogg not found -- using  
out.ogg instead
[    2.213000] (W) No stages\ folder found, forcing None setting for  
Animated Stage.
[    2.223000] (D) Ready.
[    2.286000] (D) 6 guitscw sounds found in sounds: guitscw1.ogg -  
guitscw6.ogg
[    2.306000] (D) 6 bassscw sounds found in sounds: bassscw1.ogg -  
bassscw6.ogg
[    2.326000] (D) 8 drumscw sounds found in sounds: drumscw1.ogg -  
drumscw8.ogg
[    2.368000] (D) 6 guitscw sounds found in sounds: guitscw1.ogg -  
guitscw6.ogg
[    3.359000] (D) View: Push: MainMenu
[    3.359000] (D) View: Push: Menu
[    3.839000] (W) Your theme does not appear to properly support the solo  
graphical submenu. Check to be sure you have the latest version of your  
theme.
[    3.840000] (D) View: Push: Menu
[    4.401000] (D) View: Pop all
[    4.401000] (D) View: Pop: MainMenu
[    4.401000] (D) View: Pop: Menu
[    4.401000] (D) View: Pop: Menu
[    4.402000] (D) View: Pop: MainMenu
[    4.432000] (D) View: Pop: Menu
[    4.524000] (W) Unable to load image file:  
C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\data\users\players\Nathan.ini
[    4.525000] (W) Unable to load image file:  
C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\data\users\players\Nathan.ini
[    4.526000] (W) Unable to load image file:  
C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\data\users\players\Nathan.ini
[    4.527000] (W) Unable to load image file:  
C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\data\users\players\Nathan.ini
[    4.527000] (D) View: Push: Lobby
[    4.527000] (W) No theme class for themeLobby - Loading default...
[    4.539000] (W) Unable to load image file:  
C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\data\users\players\Nathan.ini
[    4.540000] (W) Unable to load image file:  
C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\data\users\players\Nathan.ini
[    4.541000] (W) Unable to load image file:  
C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\data\users\players\Nathan.ini
[    4.541000] (W) Unable to load image file:  
C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\data\users\players\Nathan.ini
[    7.920000] (D) View: Push: CreateCharacter
[    9.127000] (D) View: Pop: CreateCharacter
[    9.134000] (W) Unable to load image file:  
C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\data\users\players\Nathan.ini
[    9.137000] (W) Unable to load image file:  
C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\data\users\players\Nathan.ini
[    9.140000] (W) Unable to load image file:  
C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\data\users\players\Nathan.ini
[    9.142000] (W) Unable to load image file:  
C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\data\users\players\Nathan.ini
[   12.219000] (D) View: Pop: Lobby
[   12.221000] (D) View: Push: MainMenu
[   12.221000] (D) View: Push: Menu
[   12.847000] (W) Your theme does not appear to properly support the solo  
graphical submenu. Check to be sure you have the latest version of your  
theme.
[   12.848000] (D) View: Push: Menu
[   13.616000] (D) View: Pop all
[   13.616000] (D) View: Pop: MainMenu
[   13.616000] (D) View: Pop: Menu
[   13.616000] (D) View: Pop: Menu
[   13.617000] (D) View: Pop: MainMenu
[   13.626000] (D) View: Pop: Menu
[   13.714000] (W) Unable to load image file:  
C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\data\users\players\Nathan.ini
[   13.715000] (W) Unable to load image file:  
C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\data\users\players\Nathan.ini
[   13.716000] (W) Unable to load image file:  
C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\data\users\players\Nathan.ini
[   13.716000] (W) Unable to load image file:  
C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\data\users\players\Nathan.ini
[   13.716000] (D) View: Push: Lobby
[   13.728000] (W) Unable to load image file:  
C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\data\users\players\Nathan.ini
[   13.729000] (W) Unable to load image file:  
C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\data\users\players\Nathan.ini
[   13.730000] (W) Unable to load image file:  
C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\data\users\players\Nathan.ini
[   13.730000] (W) Unable to load image file:  
C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\data\users\players\Nathan.ini
[   14.656000] (D) View: Push: LoadingSplashScreen
[   14.664000] (W) No theme class for setlist - Loading default...
[   14.665000] (W) Unable to load image file:  
C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\data\themes\MegaLight  
V4\setlist\item.dae
[   14.666000] (W) Unable to load image file:  
C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\data\themes\MegaLight  
V4\setlist\label.dae
[   14.667000] (W) Unable to load image file:  
C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\data\themes\MegaLight  
V4\setlist\library.dae
[   14.668000] (W) Unable to load image file:  
C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\data\themes\MegaLight  
V4\setlist\library_label.dae
[   14.778000] (W) Your theme does not appear to properly support the  
setlist graphical submenu. Check to be sure you have the latest version of  
your theme.
[   14.778000] (D) Loading libraries in C:\Users\Nathan\Desktop\songs
[   14.781000] (D) Song.getAvailableLibraries function call...library =  
C:\Users\Nathan\Desktop\songs
[   14.784000] (D) Loading songs in C:\Users\Nathan\Desktop\songs
[   14.804000] (D) Setlist loaded.
[   14.805000] (D) View: Pop: LoadingSplashScreen
[   14.805000] (D) View: Push: SongChoosingScene
[   14.805000] (D) View: Pop: Lobby
[   14.826000] (D) Retrieving parts from:  
C:\Users\Nathan\Desktop\songs\Nathaniel Whitlock - Stupid Song\notes.mid
[   14.845000] (D) MIDI Type identified as GH
[   15.911000] (D) Retrieving parts from:  
C:\Users\Nathan\Desktop\songs\Nathaniel Whitlock - Stupid Song\notes.mid
[   15.930000] (D) MIDI Type identified as GH
[   15.932000] (D) Retrieving parts from:  
C:\Users\Nathan\Desktop\songs\Nathaniel Whitlock - Stupid Song\notes.mid
[   15.951000] (D) MIDI Type identified as GH
[   16.151000] (D) View: Push: PartDiffChooser
[   16.151000] (W) No theme class for partDiff - Loading default...
[   17.721000] (D) View: Pop: PartDiffChooser
[   17.741000] (D) View: Pop: SongChoosingScene
[   17.744000] (D) GuitarScene init...
[   17.746000] (D) View: Push: LoadingSplashScreen
[   17.776000] (D) Microphone: not creating passthrough stream
[   18.388000] (D) GuitarScene keysList: [[]]
[   18.389000] (W) Stage folder does not exist:  
C:\Users\Nathan\Desktop\themes\MegaLight V4\stages
[   18.393000] (D) loadSong function call (song.py)...
[   18.398000] (D) Retrieving parts from:  
C:\Users\Nathan\Desktop\songs\Nathaniel Whitlock - Stupid Song\notes.mid
[   18.417000] (D) MIDI Type identified as GH
[   18.419000] (D) Song with only a single audio track identified -  
single-track miss volume applied: 0.9
[   18.419000] (D) Retrieving notes from:  
C:\Users\Nathan\Desktop\songs\Nathaniel Whitlock - Stupid Song\notes.mid
[   18.445000] (D) No song.ini setting found speficying  
early_hit_window_size - using automatic detection...
[   18.445000] (W) This song does not appear to have any vocal star power  
events - falling back on auto-generation.
[   18.447000] (D) Last vocal phrase found for player 0 at time 13214.272500
[   20.350000] (N) No song-specific stage found
[   20.350000] (W) No default stage; falling back on a forced Blank stage  
mode
[   20.763000] (D) Pause text / selected colors: (1.0, 1.0, 1.0) / (1.0,  
0.74901960784313726, 0.0)
[   20.797000] (W) Your theme does not appear to properly support the pause  
graphical submenu. Check to be sure you have the latest version of your  
theme.
[   20.798000] (W) Your theme does not appear to properly support the fail  
graphical submenu. Check to be sure you have the latest version of your  
theme.
[   20.830000] (D) View: Pop: Menu
[   20.831000] (D) View: Pop: LoadingSplashScreen
[   20.831000] (D) View: Push: GuitarScene
[   20.898000] (E) Exception occurred in main loop:
Traceback (most recent call last):
   File "c:\Users\Nathan\My Documents\fofix\src\mfh-mod\src\GameEngine.py",  
line 1187, in run
     return self.mainloop()
   File "c:\Users\Nathan\My Documents\fofix\src\mfh-mod\src\GameEngine.py",  
line 1152, in main
     self.view.render()
   File "c:\Users\Nathan\My Documents\fofix\src\mfh-mod\src\View.py", line  
256, in render
     layer.render(self.visibility[layer], layer == self.layers[-1])
   File "C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\src\GuitarScene.py",  
line 5632, in render
     Scene.render(self, visibility, topMost) #MFH - I believe this  
eventually calls the renderGuitar function, which also involves two  
viewports... may not be easy to move this one...
   File "C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\src\Scene.py", line  
101, in render
     self.render3D()
   File "C:\Users\Nathan\Documents\FoFiX\src\MFH-Mod\src\GuitarScene.py",  
line 4195, in render3D
     self.stage.render(self.visibility)
   File "c:\Users\Nathan\My Documents\fofix\src\mfh-mod\src\Stage.py", line  
392, in render
     self.rockmeter.render(visibility)
   File "c:\Users\Nathan\My Documents\fofix\src\mfh-mod\src\Rockmeter.py",  
line 768, in render
     layer.render(visibility, p)
   File "c:\Users\Nathan\My Documents\fofix\src\mfh-mod\src\Rockmeter.py",  
line 70, in render
     effect.apply(playerNum)
   File "c:\Users\Nathan\My Documents\fofix\src\mfh-mod\src\Rockmeter.py",  
line 379, in apply
     currentRock = scene.rock[i] / scene.rockMax
TypeError: list indices must be integers, not NoneType





How do I fix it?



More information about the fofix-gcode-issuetracker mailing list