Issue 720 in gdata-python-client: spreadsheetExample.py does not work now

123 views
Skip to first unread message

gdata-pyt...@googlecode.com

unread,
May 31, 2015, 7:36:37 PM5/31/15
to gdata-python-client-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 720 by accura...@gmail.com: spreadsheetExample.py does not work
now
https://code.google.com/p/gdata-python-client/issues/detail?id=720

What steps will reproduce the problem?
1. python samples/spreadsheetExample.py --user myuser --password mypw
2.
3.

What is the expected output? What do you see instead?
It ran fine until last week. I saw
Traceback (most recent call last):
File "spreadsheetExample.py", line 200, in <module>
main()
File "spreadsheetExample.py", line 196, in main
sample.Run()
File "spreadsheetExample.py", line 162, in Run
self._PromptForSpreadsheet()
File "spreadsheetExample.py", line 49, in _PromptForSpreadsheet
feed = self.gd_client.GetSpreadsheetsFeed()
File "/Library/Python/2.7/site-packages/gdata/spreadsheet/service.py",
line 99, in GetSpreadsheetsFeed
converter=gdata.spreadsheet.SpreadsheetsSpreadsheetsFeedFromString)
File "/Library/Python/2.7/site-packages/gdata/service.py", line 1078, in
Get
return converter(result_body)
File "/Library/Python/2.7/site-packages/gdata/spreadsheet/__init__.py",
line 395, in SpreadsheetsSpreadsheetsFeedFromString
xml_string)
File "/Library/Python/2.7/site-packages/atom/__init__.py", line 93, in
optional_warn_function
return f(*args, **kwargs)
File "/Library/Python/2.7/site-packages/atom/__init__.py", line 127, in
CreateClassFromXMLString
tree = ElementTree.fromstring(xml_string)
File "<string>", line 125, in XML
cElementTree.ParseError: no element found: line 1, column 0

What version of the product are you using?
2.0.18

Please provide any additional information below.
I suspect the old way of authentication does not work. The HttpResponse has
empty string in results_body.


--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages