pyexcel/pyexcel-xls

IOError: No suitable library found for XLS

willdzeng opened this issue · 3 comments

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 commented

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

It will be much easier, thanks

chfw commented

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