Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 02-15-2010, 09: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
Old 02-15-2010, 09:03 PM   #2
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
oops - running latest calibre 0.6.40
booksonthemove is offline   Reply With Quote
 
Advertisement
Old 02-15-2010, 09:29 PM   #3
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
Sussed it out, I think. The files were empty. But should it have created them in the first place?
booksonthemove is offline   Reply With Quote
Old 02-15-2010, 11:21 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,435
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
A zero size file typically indicates some sort of crash/improper shutdown.
kovidgoyal is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
RTF -> EPUB conversion error gondwild Calibre 3 01-16-2011 12:35 PM
Conversion Error - pdf to epub Quint Calibre 3 09-26-2010 10:06 PM
Error on PRC > EPUB conversion myusername Calibre 8 09-02-2010 09:30 PM
Error trying to do epub conversion after most recent update Beau Calibre 6 04-24-2010 11:56 AM
Calibre 0.6.32 - pdb to epub conversion error niche99 Calibre 4 01-23-2010 01:13 PM


All times are GMT -4. The time now is 10:45 PM.


MobileRead.com is a privately owned, operated and funded community.