[coherence-dev] Youtube error <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'url'
Dominik Ruf
dominikruf at googlemail.com
Wed Apr 1 13:12:19 CEST 2009
Hi,
I can't look into this at the moment but I am also using coherence on an ARM
base NAS and YouTube works for me.
Maybe I'll find some time this evening.
Just out of curiosity what NAS do you use? I have a D-Link DNS 323.
-Dominik
2009/4/1 omakinen <omakinen at gmail.com>
> Hi!
>
> I'm using Coherence 6.20 in debian etch environment (in ARM based NAS
> device). I have self compiled most of the dependencies Coherence needs
> because usually the Deb repositories have too old stuff.
>
> When I try to view Youtube Favourites, or Playlists I get this "dump"
> on the webUI. Sometimes I get 2 or 3 videos in the frontend, but not
> all.
>
> My config file:
>
> [[YouTubeStore]]
> name = Youtube
> userid = xxxxxxxx
> password = xxxxxxxx
> proxy_mode = proxy
> quality = hd
> cache_maxsize = 200000000
> buffer_size = 3000000
>
> The error:
>
> web.Server Traceback (most recent call last):
> <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute
> 'url'
>
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> /mnt/disk1/usr/local/lib/python2.5/site-packages/Twisted-8.2.0_r26335-py2.5-linux-armv5tejl.egg/twisted/internet/defer.py,
> line 328 in _runCallbacks
> 326 self._runningCallbacks = True
> 327 try:
> 328 self.result = callback(self.result, *args, **kw)
> 329 finally:
> Self
> _runningCallbacks True
> result twisted.python.failure.Failure instance @ 0x41afc7ac
> <twisted.python.failure.Failure <type 'exceptions.AttributeError'>>
> Locals
> callback function gotFeed in file
>
> /usr/local/lib/python2.5/site-packages/Coherence-0.6.2-py2.5.egg/coherence/backends/youtube_storage.py
> at line 880
> self twisted.internet.defer.Deferred instance @ 0x42daa04c
> <Deferred at 0x42daa04c current result:
> <twisted.python.failure.Failure <type 'exceptions.AttributeError'>>>
> args()
> kw Dictionary instance @ 0x42ec035c
>
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> /usr/local/lib/python2.5/site-packages/Coherence-0.6.2-py2.5.egg/coherence/backends/youtube_storage.py,
> line 885 in gotFeed
> 883 return
> 884 for entry in feed.entry:
> 885 self.appendVideoEntry(entry, parent)
> 886
> Locals
> feed <gdata.youtube.YouTubePlaylistVideoFeed object at 0x43dxxxx>
> entry <gdata.youtube.YouTubePlaylistVideoEntry object at 0x43dxxxx>
> self YouTubeStore'>
> parent<coherence.backends.youtube_storage.LazyContainer object
> at 0x43dxxxx>
>
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> /usr/local/lib/python2.5/site-packages/Coherence-0.6.2-py2.5.egg/coherence/backends/youtube_storage.py,
> line 819 in appendVideoEntry
> 817 external_id = entry.id.text.split('/')[-1]
> 818 title = entry.media.title.text
> 819 url = entry.media.player.url
> 820 mimetype = MPEG4_MIMETYPE
> Locals
> title 'My Video'
> entry <gdata.youtube.YouTubePlaylistVideoEntry object at 0x43dxxxx>
> external_id 'BB2A7F639xxxxxxx'
> id1012
> Globals
> MPEG4_MIMETYPE'video/mp4'
>
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
> <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute
> 'url'
>
>
> Thanks for any tips you might have!
>
> - Oz
> _______________________________________________
> coherence-dev mailing list
> coherence-dev at lists.beebits.net
> http://lists.beebits.net/cgi-bin/mailman/listinfo/coherence-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.beebits.net/pipermail/coherence-dev/attachments/20090401/9cbdaef7/attachment.htm>
More information about the coherence-dev
mailing list