sábado, 1 de mayo de 2010

Bug in Picasa web album python client library

I write it here because I did not find any clear resource on the web.

I have found an error executing the first line of code in the API documentation (after the authentication section) of Picasa python library:

try to get the albums:
albums =  self.gd_client.GetUserFeed().entry

this code:
def AnyFeedFromString(xml_string):
   tree = ElementTree.fromstring(xml_string)

fire:
 tree = ElementTree.fromstring(xml_string)
  File "", line 85, in XML
SyntaxError: syntax error: line 1, column 0



Workaround:
Some problems with SSL:
self.gd_client.ssl = False

No hay comentarios:

Publicar un comentario