I have the following code, which has worked for several years:
spr_client = gdata.spreadsheet.service.SpreadsheetsService()
spr_client.email = email
spr_client.password = password
spr_client.source = 'The Source'
spr_client.ProgrammaticLogin()
listfeed = spr_client.GetListFeed(spreadsheet_key, wksht_id)
As of yesterday, I am seeing the following exception.
listfeed = spr_client.GetListFeed(spreadsheet_key, wksht_id)
File
"/usr/local/lib/python2.7/dist-packages/gdata/spreadsheet/service.py", line
252, in GetListFeed
converter=gdata.spreadsheet.SpreadsheetsListFeedFromString)
File "/usr/local/lib/python2.7/dist-packages/gdata/service.py", line
1097, in Get
encoding=encoding, converter=converter)
File "/usr/local/lib/python2.7/dist-packages/gdata/service.py", line
1097, in Get
encoding=encoding, converter=converter)
File "/usr/local/lib/python2.7/dist-packages/gdata/service.py", line
1074, in Get
return converter(result_body)
File
"/usr/local/lib/python2.7/dist-packages/gdata/spreadsheet/__init__.py",
line 474, in SpreadsheetsListFeedFromString
xml_string)
File "/usr/local/lib/python2.7/dist-packages/atom/__init__.py", line 93,
in optional_warn_function
return f(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/atom/__init__.py", line 127,
in CreateClassFromXMLString
tree = ElementTree.fromstring(xml_string)
File "<string>", line 124, in XML
cElementTree.ParseError: mismatched tag: line 921, column 4
There's a mention of some recent deprecations in prior message, but that
mentions GetListFeed as being the current solution. I can't find a
changelog or updated docs to point at what could be going wrong. Cansomeone
point me in the right direction?
Thanks!
--
You received this message because you are subscribed to the Google Groups
"Google Spreadsheets API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.