View Single Post
Old 06-05-2011, 03:20 PM   #73
capnm
Groupie
capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'capnm knows the difference between 'who' and 'whom'
 
Posts: 156
Karma: 10001
Join Date: Feb 2011
Device: sony
A slight hiccup while trying to remove calibre_bookmarks.
Several files failed with the following:

ERROR: Traceback (most recent call last):
File "calibre_plugins.modify_epub.modify", line 81, in process_book
File "calibre_plugins.modify_epub.container", line 109, in write
File "site-packages\calibre\utils\zipfile.py", line 1208, in write
File "site-packages\calibre\utils\zipfile.py", line 370, in FileHeader
error: ushort format requires 0 <= number <= USHRT_MAX

Oddly, they're epubs where all the stored files are all lacking timestamps

I have a sinking feeling this is related to your patch to preserve the timestamps (and some peculiar epub makers).


More:
tweak epub also chokes on these:
calibre, version 0.8.4
ERROR: Unhandled exception: <b>error</b>:ushort format requires 0 <= number <= USHRT_MAX

Traceback (most recent call last):
File "site-packages\calibre\gui2\dialogs\tweak_epub.py", line 108, in preview
File "site-packages\calibre\gui2\dialogs\tweak_epub.py", line 86, in do_rebuild
File "zipfile.py", line 1071, in write
File "zipfile.py", line 348, in FileHeader
error: ushort format requires 0 <= number <= USHRT_MAX

Last edited by capnm; 06-05-2011 at 03:25 PM. Reason: more info
capnm is offline   Reply With Quote