mbrenig / SheetSync

A python library to create, update and delete rows of data in a google spreadsheet.
http://sheetsync.readthedocs.org
MIT License
48 stars 18 forks source link

TypeError: PostOrPut() got multiple values for keyword argument 'extra_headers' #6

Closed mbrenig closed 9 years ago

mbrenig commented 10 years ago

ERROR:gdata:gdata API error. PostOrPut() got multiple values for keyword argument 'extra_headers' Traceback (most recent call last): File "T:\Migration\GoldenMasterTools\sip_validator.py", line 104, in source.sync(sip_data) File "C:\Python27\lib\site-packages\sheetsyncinit.py", line 864, in sync return self._update(raw_data, row_change_callback, delete_rows=True) File "C:\Python27\lib\site-packages\sheetsyncinit.py", line 918, in _update row_change_callback): File "C:\Python27\lib\site-packages\sheetsyncinit.py", line 1063, in _change_row self._write_cell(cell_elem) File "C:\Python27\lib\site-packages\sheetsyncinit.py", line 620, in _write_cell self._flush_writes() File "C:\Python27\lib\site-packages\sheetsyncinit.py", line 633, in _flush_writes raise e TypeError: PostOrPut() got multiple values for keyword argument 'extra_headers'

AshBT commented 9 years ago

I get this a lot as well.

mbrenig commented 9 years ago

Hi Ash, I've just published a newer version (0.1.5) https://pypi.python.org/pypi/sheetsync/0.1.5 which should fix most occurrences of this problem. You can upgrade to it with "pip install -U sheetsync". Let me know how it goes. M