GNOME Bugzilla – Bug 597790
Traceback while previewing audio stream
Last modified: 2009-10-09 14:16:25 UTC
Got this traceback while loading a project that had 'Light & Day' by the Polyphonic Spree as one of the audio tracks. Traceback (most recent call last):
+ Trace 218151
self._finishWaveform()
self._plotWaveform(cr)
min_ = min(slice)
It's repeatable. I'm using git at commit 80d99281dec2e79942b6d4b34c907193d42b7d67.
commit 0e6d977a06080b22b0f900211e8263db71686051 Author: Alessandro Decina <alessandro.d@gmail.com> Date: Thu Oct 8 15:38:32 2009 +0200 Fix traceback previewing audio stream. Fixes #597790.
I pushed a fix that should fix the exception. Still it would be great if you could attach the clip which caused it so I can have a closer look.
Wish I could but the license prevents me from doing that. I've taken a closer look myself now I know where to look :-) and come up with this patch. There were only 2048 samples to plot, but self.base_width was 2500. This meant that spp was being calculated as 0. (Hmm, problems trying to attach it -- I'll try as a separate comment).
Strangely, Bugzilla won't let me attach it ("The file you are trying to attach is empty, does not exist, or you don't have permission to read it.") -- same thing with Firefox and links. *shrug* http://cyberelk.net/tim/data/tmp/pitivi-spp.patch
Thanks for fixing this. I just pushed your patch.