Gamer125 / fofix

Automatically exported from code.google.com/p/fofix
0 stars 0 forks source link

" IndexError: list index out of range" In some songs's vocals part #1003

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Describe the problem. What did you expect? What do you see?
I expected to be able to play vocal mode in some songs of the beatles
rockband. Whenever i chose the level of one of the following songs (Lucy in
the Sky with Diamonds, Yellow Submarine, Something, Dear Prudence, Don´t
let me down, I Saw Her Standing There, Paperback Writer, Birthday, Taxman)
the screen freezes at "initializing". That problem is only when i try to
play them with the mic, they work wonderful with the other instruments. 

List the steps to recreate the problem.
1.Chose the microphone controller
2.Select One of the following songs of the beatles rockband (Lucy in the
Sky with Diamonds, Yellow Submarine, Something, Dear Prudence, Don´t let me
down, I Saw Her Standing There, Paperback Writer, Birthday, Taxman)
3.Select a difficulty level.

What version are you using? Include the FoFiX version, the Python version,
your operating system, and whether it is SVN (alpha), beta, RC, or final
release.
4.0.0 development r1896, Python 2.6, Windows Vista, It was updated to 4.0.0
development r1896 via SVN, at the time this bug report was written.

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

Please provide any additional information below.

I use the RB1 Logitech USB Mic and I only have problems with those songs,
the others works flawlessly.
In the cmd prompt there's the following Traceback:
=========================================================================
C:\Users\Flakobatako\Desktop\FoFix>cd C:\Users\Flakobatako\Desktop\FoFix\src

C:\Users\Flakobatako\Desktop\FoFix\src>python fofix.py

RtMidiIn::initialize: no MIDI input devices currently available.

Traceback (most recent call last):
  File "C:\Users\Flakobatako\Desktop\FoFix\src\Session.py", line 66, in
signalMe
ssage
    handler.handleMessage(sender, message)
  File "C:\Users\Flakobatako\Desktop\FoFix\src\Session.py", line 87, in
handleMe
ssage
    return f(sender, **message.__dict__)
  File "C:\Users\Flakobatako\Desktop\FoFix\src\World.py", line 254, in
handleSce
neCreated
    scene = SceneFactory.create(engine = self.engine, name = name, owner =
owner
, session = self.session, **args)
  File "C:\Users\Flakobatako\Desktop\FoFix\src\SceneFactory.py", line 40,
in cre
ate
    return getattr(m, name + "Client")(engine = engine, owner = owner,
session =
 session, **args)
  File "C:\Users\Flakobatako\Desktop\FoFix\src\Scene.py", line 227, in __init__
    self.createClient(**args)
  File "C:\Users\Flakobatako\Desktop\FoFix\src\GuitarScene.py", line 952,
in cre
ateClient
    self.engine.resource.load(self, "song", lambda: loadSong(self.engine,
songNa
me, library = libraryName, part = [player.part for player in
self.playerList], p
racticeMode = self.playerList[0].practiceMode, practiceSpeed =
self.playerList[0
].practiceSpeed), synch = True, onLoad = self.songLoaded)
  File "C:\Users\Flakobatako\Desktop\FoFix\src\Resource.py", line 246, in load
    return l.finish()
  File "C:\Users\Flakobatako\Desktop\FoFix\src\Resource.py", line 113, in load
    self.result = self.function()
  File "C:\Users\Flakobatako\Desktop\FoFix\src\GuitarScene.py", line 952,
in <la
mbda>
    self.engine.resource.load(self, "song", lambda: loadSong(self.engine,
songNa
me, library = libraryName, part = [player.part for player in
self.playerList], p
racticeMode = self.playerList[0].practiceMode, practiceSpeed =
self.playerList[0
].practiceSpeed), synch = True, onLoad = self.songLoaded)
  File "C:\Users\Flakobatako\Desktop\FoFix\src\Song.py", line 4077, in loadSong
    song       = Song(engine, infoFile, songFile, guitarFile, rhythmFile,
noteFi
le, scriptFile, part, drumFile, crowdFile)
  File "C:\Users\Flakobatako\Desktop\FoFix\src\Song.py", line 2761, in __init__
    midiIn.read()
  File "C:\Users\Flakobatako\Desktop\FoFix\src\midi\MidiInFile.py", line 48, in
read
    p.parseMTrkChunks()
  File "C:\Users\Flakobatako\Desktop\FoFix\src\midi\MidiFileParser.py",
line 173
, in parseMTrkChunks
    self.parseMTrkChunk() # this is where it's at!
  File "C:\Users\Flakobatako\Desktop\FoFix\src\midi\MidiFileParser.py",
line 121
, in parseMTrkChunk
    dispatch.meta_event(meta_type, meta_data)
  File "C:\Users\Flakobatako\Desktop\FoFix\src\midi\EventDispatcher.py",
line 21
1, in meta_event
    stream.lyric(data)
  File "C:\Users\Flakobatako\Desktop\FoFix\src\Song.py", line 3592, in lyric
    self.addVocalLyric(text)
  File "C:\Users\Flakobatako\Desktop\FoFix\src\Song.py", line 3253, in
addVocalL
yric
    track = [i for i,j in enumerate(self.song.parts) if self.partnumber ==
j][0]

IndexError: list index out of range
==========================================================================

Original issue reported on code.google.com by flakobat...@gmail.com on 23 Sep 2009 at 6:57

Attachments:

GoogleCodeExporter commented 9 years ago
Me too, for all songs! Please help us!

Original comment by eduardo....@gmail.com on 4 Mar 2010 at 10:00

GoogleCodeExporter commented 9 years ago
Issue set to invalid due to one or more of the following reasons:
1) Age. This issue is considered abandoned.
2) Unrelated. The issue isn't related to FoFiX.
3) Fluke. The issue cannot be reproduced or was fixed long ago. (AKA: It's just 
you.)

Feel free to reply if you are certain the issue still exists and is relevant to 
FoFiX.

Original comment by fuzio...@gmail.com on 2 Sep 2010 at 1:14