Skip to content

ezodf cannot handle FileStorage #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
chfw opened this issue Aug 15, 2017 · 0 comments
Closed

ezodf cannot handle FileStorage #1

chfw opened this issue Aug 15, 2017 · 0 comments

Comments

@chfw
Copy link
Member

chfw commented Aug 15, 2017

../../.pyenv/versions/3.4.5/lib/python3.4/site-packages/ezodf/filemanager.py:48: in init
self.manifest = Manifest(self.get_bytes('META-INF/manifest.xml'))
../../.pyenv/versions/3.4.5/lib/python3.4/site-packages/ezodf/filemanager.py:114: in get_bytes
bytestream = self._open_bytestream()


self = <ezodf.filemanager.FileManager object at 0x1114f1cf8>

def _open_bytestream(self):
  return open(self.zipname, 'rb')

E TypeError: invalid file: <FileStorage: 'tests/spreadsheet_files/open document spreadsheet.ods' ('application/vnd.oasis.opendocument.spreadsheet')>

reference: alphagov/notifications-admin#1426

@chfw chfw closed this as completed in c7df743 Aug 15, 2017
chfw added a commit to pyexcel/notifications-admin that referenced this issue Aug 17, 2017
… pyexcerl-ezodf v0.3.2. More info can be found here: pyexcel/pyexcel-ezodf#1. The package name change reason can be found here: pyexcel/pyexcel-ezodf#2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant