Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 703 by
csmi...@gmail.com: Occasionaly SyntaxError using
gdata-python to get worksheets feed
http://code.google.com/p/gdata-python-client/issues/detail?id=703
I'm getting an occasional error when trying to fetch a list of worksheets
from gdata. This does not happen for all spreadsheets, but will
consistently happen to the same spreadsheet for a period of several days to
weeks.
Traceback (most recent call last):
File "/mnt/shared_from_host/snake/base/fetchers/google_spreadsheet/common.py",
line 176, in get_worksheet_list
feed = client.get_worksheets(spreadsheet_id)
File "/home/ubuntu/.virtualenvs/snakeenv/lib/python2.6/site-packages/gdata/spreadsheets/client.py",
line 108, in get_worksheets
**kwargs)
File "/home/ubuntu/.virtualenvs/snakeenv/lib/python2.6/site-packages/gdata/client.py",
line 640, in get_feed
**kwargs)
File "/home/ubuntu/.virtualenvs/snakeenv/lib/python2.6/site-packages/gdata/client.py",
line 278, in request
version=get_xml_version(self.api_version))
File "/home/ubuntu/.virtualenvs/snakeenv/lib/python2.6/site-packages/atom/core.py",
line 520, in parse
tree = ElementTree.fromstring(xml_string)
File "<string>", line 86, in XML
SyntaxError: no element found: line 1, column 0
What is the expected output? What do you see instead?
Expect to receive a worksheets feed, receive an empty string instead.
What version of the product are you using?
gdata 2.0.18
Python 2.6.8
OAuth 2
Please provide any additional information below.
--
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