hdknr / djuploader

Data Uploader for Django
Other
0 stars 0 forks source link

ValueError: Value must be one of set(['Hiragana', 'fullwidthKatakana', 'halfwidthKatakana', 'noConversion']) #2

Open hdknr opened 8 years ago

hdknr commented 8 years ago
  File "/home/vagrant/src/djuploader/lib/djuploader/utils.py", line 15, in create_reader
    XlsxReader(open(path), *args, **kwargs)
  File "/home/vagrant/src/djuploader/lib/djuploader/xlsxutils.py", line 22, in __init__
    self.book = load_workbook(filename=self.filename)
  File "/home/vagrant/.anyenv/envs/pyenv/versions/2.7.10/lib/python2.7/site-packages/openpyxl/reader/excel.py", line 191, in load_workbook
    shared_strings = read_string_table(archive.read(strings_path))
  File "/home/vagrant/.anyenv/envs/pyenv/versions/2.7.10/lib/python2.7/site-packages/openpyxl/reader/strings.py", line 21, in read_string_table
    text = Text.from_tree(node).content
  File "/home/vagrant/.anyenv/envs/pyenv/versions/2.7.10/lib/python2.7/site-packages/openpyxl/descriptors/serialisable.py", line 65, in from_tree
    obj = desc.expected_type.from_tree(el)
  File "/home/vagrant/.anyenv/envs/pyenv/versions/2.7.10/lib/python2.7/site-packages/openpyxl/descriptors/serialisable.py", line 78, in from_tree
    return cls(**attrib)
  File "/home/vagrant/.anyenv/envs/pyenv/versions/2.7.10/lib/python2.7/site-packages/openpyxl/cell/text.py", line 41, in __init__
    self.type = type
  File "/home/vagrant/.anyenv/envs/pyenv/versions/2.7.10/lib/python2.7/site-packages/openpyxl/descriptors/base.py", line 128, in __set__
    raise ValueError(self.__doc__)
ValueError: Value must be one of set(['Hiragana', 'fullwidthKatakana', 'halfwidthKatakana', 'noConversion'])
hdknr commented 8 years ago

Seems to be a bug