staale/python-xlsx — Issue #9: Error when opening xlsx file
Author: quandyfactory
Created: 2011-11-10 19:35:04+00:00
State: open

FYI when I try to open an xlsx file, I get the following error:

Traceback (most recent call last):
File "", line 1, in
book = Workbook(path)
File "C:\Python27\lib\site-packages\xlsx\__init__.py", line 54, in __init__
self.domzip["xl/sharedStrings.xml"])
File "C:\Python27\lib\site-packages\xlsx\__init__.py", line 94, in __init__
self.__getIfInline(text))
File "C:\Python27\lib\site-packages\xlsx\__init__.py", line 101, in __getIfInline
for node in nodes])
AttributeError: 'NoneType' object has no attribute 'nodeValue'

I have verified that the file is in the specified path (the library throws an IOError if the path is wrong).