Skip to content
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

IOError: No suitable library found for XLS #11

Closed
willdzeng opened this issue Nov 3, 2016 · 3 comments
Closed

IOError: No suitable library found for XLS #11

willdzeng opened this issue Nov 3, 2016 · 3 comments

Comments

@willdzeng
Copy link

@willdzeng willdzeng commented Nov 3, 2016

when I try to read *.XLS, it gives me this error,
when I change to *.xls, it reads the file.
Maybe remove case-sensitive when detecting file type.


  File "/usr/local/lib/python2.7/dist-packages/pyexcel_xls/__init__.py", line 24, in get_data
    return read_data(afile, file_type=file_type, **keywords)
  File "/usr/local/lib/python2.7/dist-packages/pyexcel_io/io.py", line 31, in get_data
    file_type=file_type, **keywords)
  File "/usr/local/lib/python2.7/dist-packages/pyexcel_io/io.py", line 118, in load_data_new
    reader = RWManager.create_reader(file_type, library)
  File "/usr/local/lib/python2.7/dist-packages/pyexcel_io/manager.py", line 94, in create_reader
    RWManager.reader_factories, file_type, library)
  File "/usr/local/lib/python2.7/dist-packages/pyexcel_io/manager.py", line 89, in _get_a_handler
    raise IOError("No suitable library found for %s" % file_type)
IOError: No suitable library found for XLS

Platform Ubunut 14.04
python version 2.7.12
install from pip

@chfw
Copy link
Member

@chfw chfw commented Nov 3, 2016

I am afraid that it was case sensitive but can be made not to in next release. Would it make life easier?

Loading

@willdzeng
Copy link
Author

@willdzeng willdzeng commented Nov 3, 2016

It will be much easier, thanks

Loading

chfw added a commit to pyexcel/pyexcel-io that referenced this issue Nov 28, 2016
chfw added a commit to pyexcel/pyexcel that referenced this issue Nov 28, 2016
@chfw
Copy link
Member

@chfw chfw commented Dec 22, 2016

released to pypi. Find it in pyexcel v0.4.0 or pyexcel-io v0.3.0 depending on your needs.

Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants