invalid file format error
Hi,
Looks like a very promising program but I am having trouble on Linux.
I can load and edit collections file. But the left pane with the list of books does not show any books. I get these errors in the console:
Loading documents..............Traceback (most recent call last):
File "./Kindelabra.py", line 108, in load
self.refresh(widget)
File "./Kindelabra.py", line 391, in refresh
self.kindle.init_data()
File "/home/user/Downloads/richardpeng-Kindelabra-ff6185a/kindle.py", line 98, in init_data
self.load_folder(folder)
File "/home/user/Downloads/richardpeng-Kindelabra-ff6185a/kindle.py", line 110, in load_folder
book = Ebook(fullpath)
File "/home/user/Downloads/richardpeng-Kindelabra-ff6185a/kindle.py", line 78, in __init__
self.meta = ebook.Mobi(path)
File "/home/user/Downloads/richardpeng-Kindelabra-ff6185a/ebook.py", line 29, in __init__
sections = Sectionizer(filename, 'rb')
File "/home/user/Downloads/richardpeng-Kindelabra-ff6185a/ebook.py", line 17, in __init__
raise ValueError('invalid file format')
ValueError: invalid file format
Thanks,
Yuri
|