On 12/10/2010 00:36, Dan Schmidt wrote:
> Anybody seen this one? I haven't had time to look into it. If not,
> I'll look into it. There's no "if not mess:"
>
> UnboundLocalError: local variable 'stream' referenced before assignment
> Traceback (most recent call last):
> File "/usr/lib/python2.6/dist-packages/freevo/main.py", line 306, in
> eventhandler
> app.eventhandler(event)
> File "/usr/share/pyshared/freevo/menu.py", line 842, in eventhandler
> self._handle_play_item(menu, event)
> File "/usr/share/pyshared/freevo/menu.py", line 654, in _handle_play_item
> action(arg=arg, menuw=self)
> File "/usr/share/pyshared/freevo/menu.py", line 106, in select
> self.function(arg=self.arg, menuw=menuw)
> File "/usr/share/pyshared/freevo/video/plugins/youtube.py", line 226,
> in watchvideo
> playvideo2 = YoutubeVideoItem(_('bla'), stream, self)
> UnboundLocalError: local variable 'stream' referenced before assignment
>
> 221 while proceso.poll() == None:
> 222 mess = follow.readline()
> 223 if mess:
> 224 stream = mess.strip()
> 225 # Create a fake VideoItem
> 226 playvideo2 = YoutubeVideoItem(_('bla'), stream, self)
>
Hi Dan,
Can't say I've seen that but I know Adam has checked in some changes
recently to the youtube plugin. Can you test from svn and report if you
still see this?
John
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users