Skip to content

Error when opening xlsx file #9

Description

@quandyfactory

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

Traceback (most recent call last):
  File "<pyshell#9>", line 1, in <module>
    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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions