Open GoogleCodeExporter opened 9 years ago
P.S: Versions are gdata-python-client-2.0.16 and python-2.7.2.
Original comment by dschridde@gmail.com
on 18 Jan 2012 at 1:47
I found the causes: gdata/media/data.py and gdata/youtube/data.py are wrong
about the XML namespaces.
They are:
MEDIA_TEMPLATE = '{http://search.yahoo.com/mrss//}%s'
YT_TEMPLATE = '{http://gdata.youtube.com/schemas/2007/}%s'
But should be:
MEDIA_TEMPLATE = '{http://search.yahoo.com/mrss/}%s'
YT_TEMPLATE = '{http://gdata.youtube.com/schemas/2007}%s'
Changing these fills the youtube classes with data as intended, but causes some
weird AttributeError in atom/core.py (self.text is a list which has no decode
method - traceback attached) when trying to print complete XmlElements. I
assume that is a more general bug, though.
Original comment by devuran...@gmx.net
on 21 Jan 2012 at 7:12
Attachments:
P.S: More specifically: The error happens when walking the
gdata.media.data.MediaContent class.
Original comment by devuran...@gmx.net
on 21 Jan 2012 at 7:26
P.P.S: Reported the AttributeError as issue #585.
Original comment by devuran...@gmx.net
on 21 Jan 2012 at 7:33
Patch for this issue, as laid out in comment #2.
Original comment by devuran...@gmx.net
on 24 Jan 2012 at 10:20
Attachments:
Any news on this?
Original comment by devuran...@gmx.net
on 11 Apr 2012 at 9:28
Any news?
Original comment by devuran...@gmx.net
on 15 May 2012 at 8:13
Any news?
Original comment by devuran...@gmx.net
on 10 Jan 2013 at 10:35
Original issue reported on code.google.com by
dschridde@gmail.com
on 18 Jan 2012 at 1:20