Thread: Firmware Update Kindelabra: Kindle Collection Manager
View Single Post
Old 11-26-2010, 11:27 PM   #44
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 4,656
Karma: 4440239
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2
@teegee543:

Yep, same symptoms as jlmwrite with DRM'd books.

Also, it dies horribly on old PRC files that don't have exth records.

Code:
Traceback (most recent call last):
  File "./Kindelabra.py", line 391, in refresh
    self.kindle.init_data()
  File "/home/niluje/Kindle/Kindelabra/kindle.py", line 98, in init_data
    self.load_folder(folder)
  File "/home/niluje/Kindle/Kindelabra/kindle.py", line 110, in load_folder
    book = Ebook(fullpath)
  File "/home/niluje/Kindle/Kindelabra/kindle.py", line 78, in __init__
    self.meta = ebook.Mobi(path)
  File "/home/niluje/Kindle/Kindelabra/ebook.py", line 35, in __init__
    len_exth, = struct.unpack_from('>L', header, len_mobi+4)
struct.error: unpack_from requires a buffer of at least 4 bytes
(Specifically, the complete MobiPocket version available here).

Last edited by NiLuJe; 11-26-2010 at 11:38 PM.
NiLuJe is offline   Reply With Quote