python-google-spreadsheet icon indicating copy to clipboard operation
python-google-spreadsheet copied to clipboard

ParseError

Open AlwaysTraining opened this issue 9 years ago • 2 comments

Nothing has changed in my App but it stopped working in May. After connection I call SpreadsheetAPI.self.api.list_spreadsheets(), I get:

File "/home/ubuntu/play/python-google-spreadsheet/google_spreadsheet/api.py", line 62, in list_spreadsheets sheets = self._get_client().GetSpreadsheetsFeed() File "/usr/lib/python2.7/dist-packages/gdata/spreadsheet/service.py", line 98, in GetSpreadsheetsFeed converter=gdata.spreadsheet.SpreadsheetsSpreadsheetsFeedFromString) File "/usr/lib/python2.7/dist-packages/gdata/service.py", line 1073, in Get return converter(result_body) File "/usr/lib/python2.7/dist-packages/gdata/spreadsheet/init.py", line 394, in SpreadsheetsSpreadsheetsFeedFromString xml_string) File "/usr/lib/python2.7/dist-packages/atom/init.py", line 92, in optional_warn_function return f(_args, *_kwargs) File "/usr/lib/python2.7/dist-packages/atom/init.py", line 126, in CreateClassFromXMLString tree = ElementTree.fromstring(xml_string) File "", line 125, in XML cElementTree.ParseError: no element found: line 1, column 0

I found similar issues that look related: http://stackoverflow.com/questions/30492589/gdata-spreadsheet-library-for-python-not-working-anymore

They suggest moving to https://github.com/burnash/gspread

Do you have any plans to fix this issue? If not I will have to try the gspread.

AlwaysTraining avatar Jun 07 '15 03:06 AlwaysTraining

I am experimenting the same issue.

noahfx avatar Sep 04 '15 20:09 noahfx

It started working for me a few days after I posted this issue. However I have not tried it lately.

AlwaysTraining avatar Sep 07 '15 05:09 AlwaysTraining