carolinux / gdata-python-client

Automatically exported from code.google.com/p/gdata-python-client
0 stars 1 forks source link

gdata.media.data.MediaContent.text is a list, but atom/core.py:_attach_members() assumes it is a string #585

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by devuran...@gmx.net on 21 Jan 2012 at 7:33

Attachments:

GoogleCodeExporter commented 9 years ago
Any news on this?

Original comment by devuran...@gmx.net on 11 Apr 2012 at 9:29

GoogleCodeExporter commented 9 years ago
Any news?

Original comment by devuran...@gmx.net on 15 May 2012 at 8:13

GoogleCodeExporter commented 9 years ago
Any news?

Original comment by devuran...@gmx.net on 10 Jan 2013 at 10:35