[coherence-dev] Youtube error <type 'exceptions.AttributeError'>: 'NoneType' object has no attribute 'url'
omakinen
omakinen at gmail.com
Wed Apr 1 10:50:18 CEST 2009
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
More information about the coherence-dev
mailing list