Closed GoogleCodeExporter closed 9 years ago
>>> import gdata.youtube
>>> import gdata.youtube.service
>>> yts = gdata.youtube.service.YouTubeService()
>>> uri = 'http://gdata.youtube.com/feeds/api/users/GrueneAkademie/uploads'
>>> ytf = yts.GetYouTubeVideoFeed(uri)
Traceback (most recent call last):
File "<console>", line 1, in <module>
File
"/home/thet/dev/grak/thet.grak.buildout/eggs/gdata-2.0.10-py2.6.egg/gdata/youtub
e/service.py",
line 181, in GetYouTubeVideoFeed
return self.Get(uri, converter=gdata.youtube.YouTubeVideoFeedFromString)
File
"/home/thet/dev/grak/thet.grak.buildout/eggs/gdata-2.0.10-py2.6.egg/gdata/servic
e.py", line
1097, in Get
encoding=encoding, converter=converter)
File
"/home/thet/dev/grak/thet.grak.buildout/eggs/gdata-2.0.10-py2.6.egg/gdata/servic
e.py", line
1074, in Get
return converter(result_body)
File
"/home/thet/dev/grak/thet.grak.buildout/eggs/gdata-2.0.10-py2.6.egg/gdata/youtub
e/__init__.py",
line 624, in YouTubeVideoFeedFromString
return atom.CreateClassFromXMLString(YouTubeVideoFeed, xml_string)
File
"/home/thet/dev/grak/thet.grak.buildout/eggs/gdata-2.0.10-py2.6.egg/atom/__init_
_.py", line
93, in optional_warn_function
return f(*args, **kwargs)
File
"/home/thet/dev/grak/thet.grak.buildout/eggs/gdata-2.0.10-py2.6.egg/atom/__init_
_.py", line
127, in CreateClassFromXMLString
tree = ElementTree.fromstring(xml_string)
File "<string>", line 85, in XML
SyntaxError: syntax error: line 1, column 0
>>>
Original comment by thete...@gmail.com
on 28 May 2010 at 1:58
i forgot to say that with 2.0.9 the code snipped above works. i pinned the
version in
my buildout to that one meanwhile.
Original comment by thete...@gmail.com
on 1 Jun 2010 at 1:02
Cannot reproduce - code works with 2.0.13
Original comment by manoochehri@google.com
on 17 Dec 2010 at 11:36
Original issue reported on code.google.com by
thete...@gmail.com
on 28 May 2010 at 1:57