Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 585 by
devuran...@gmx.net: gdata.media.data.MediaContent.text is
a list, but atom/core.py:_attach_members() assumes it is a string
http://code.google.com/p/gdata-python-client/issues/detail?id=585
gdata/media/data.py defines:
class MediaContent(atom.core.XmlElement):
[…]
text = [MediaText]
But atom/core.py assumes it is a string:
File "/usr/lib64/python2.7/site-packages/atom/core.py", line 347, in
_attach_members
tree.text = self.text.decode(encoding)
This leads to an AttributeError. See attached traceback for details and
issue #583 for the original discovery after fixing XML namespaces for
gdata/media and gdata/youtube.
Attachments:
traceback.log 8.1 KB