View Single Post
Old 02-15-2010, 08:02 PM   #1
booksonthemove
Connoisseur
booksonthemove began at the beginning.
 
Posts: 72
Karma: 16
Join Date: Sep 2009
Location: UK
Device: Sony PRS-600 with latest Calibre and Linux Ubuntu-9.10
epub conversion error

Hi,

Converted from RAR to EPUB without difficulty. When trying to open the EPUB in either the built-in viewer or the PRS-600 I get the following error:

Code:
ERROR: Could not open ebook: (22, 'Invalid argument')

Traceback (most recent call last):
  File "/home/kovid/build/calibre/src/calibre/gui2/viewer/main.py", line 61, in run
  File "/usr/lib64/python2.6/threading.py", line 477, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/kovid/build/calibre/src/calibre/ebooks/oeb/iterator.py", line 178, in __enter__
  File "/home/kovid/build/calibre/src/calibre/customize/conversion.py", line 211, in __call__
  File "/home/kovid/build/calibre/src/calibre/ebooks/epub/input.py", line 105, in convert
  File "/home/kovid/build/calibre/src/calibre/utils/zipfile.py", line 718, in __init__
  File "/home/kovid/build/calibre/src/calibre/utils/zipfile.py", line 739, in _GetContents
  File "/home/kovid/build/calibre/src/calibre/utils/zipfile.py", line 749, in _RealGetContents
  File "/home/kovid/build/calibre/src/calibre/utils/zipfile.py", line 206, in _EndRecData
IOError: [Errno 22] Invalid argument
I'm guessing that what was compressed was broken in some way rather the compression itself, am I right or could it be something else? Unfortunately the original archive isn't to hand
booksonthemove is offline   Reply With Quote