Skip to content

Instantly share code, notes, and snippets.

@qcom
Created October 18, 2012 05:53
Show Gist options
  • Save qcom/3910096 to your computer and use it in GitHub Desktop.
Save qcom/3910096 to your computer and use it in GitHub Desktop.
More error yay
Traceback (most recent call last):
File "app.py", line 13, in <module>
workbook.save("result.xls")
File "/Users/zach/Work/upload/pages/xlwt/Workbook.py", line 643, in save
doc.save(filename, self.get_biff_data())
File "/Users/zach/Work/upload/pages/xlwt/Workbook.py", line 618, in get_biff_data
shared_str_table = self.__sst_rec()
File "/Users/zach/Work/upload/pages/xlwt/Workbook.py", line 580, in __sst_rec
return self.__sst.get_biff_record()
File "/Users/zach/Work/upload/pages/xlwt/BIFFRecords.py", line 77, in get_biff_record
self._add_to_sst(s)
File "/Users/zach/Work/upload/pages/xlwt/BIFFRecords.py", line 92, in _add_to_sst
u_str = upack2(s, self.encoding)
File "/Users/zach/Work/upload/pages/xlwt/UnicodeUtils.py", line 50, in upack2
us = unicode(s, encoding)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 473: ordinal not in range(128)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment