Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 09-25-2010, 07:16 PM   #1
Quint
Junior Member
Quint doesn't litterQuint doesn't litter
 
Posts: 3
Karma: 110
Join Date: Sep 2010
Device: iPhone
Conversion Error - pdf to epub

Hi,
Can anyone decipher the cause of this. I'm converting a pdf to epub:

ERROR: Conversion Error: <b>Failed</b>: Convert book 1 of 1 (Papadakis 2007 - Pairs and Earnings)
...

Retrieving document metadata...
Generating manifest...
Rendering manifest...
Parsing all content...
Parsing index.html ...
Failed to parse content in index.html
Traceback (most recent call last):
File "site-packages\calibre\ebooks\oeb\reader.py", line 159, in _manifest_prune_invalid
File "site-packages\calibre\ebooks\oeb\base.py", line 1060, in fget
File "site-packages\calibre\ebooks\oeb\base.py", line 789, in _parse_xhtml
File "site-packages\calibre\ebooks\conversion\preprocess.py", line 431, in __call__
File "site-packages\calibre\ebooks\conversion\preprocess.py", line 152, in __call__
File "site-packages\calibre\ebooks\conversion\preprocess.py", line 133, in dehyphenate
File "re.py", line 190, in compile
File "re.py", line 245, in _compile
error: unbalanced parenthesis

Spine item 'id1' not found
Python function terminated unexpectedly
Spine is empty (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 103, in main
File "site.py", line 85, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 99, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 24, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 841, in run
File "site-packages\calibre\ebooks\conversion\plumber.py", line 968, in create_oebbook
File "site-packages\calibre\ebooks\oeb\reader.py", line 72, in __call__
File "site-packages\calibre\ebooks\oeb\reader.py", line 594, in _all_from_opf
File "site-packages\calibre\ebooks\oeb\reader.py", line 289, in _spine_from_opf
calibre.ebooks.oeb.base.OEBError: Spine is empty

Many thanks.
Quint is offline   Reply With Quote
Old 09-25-2010, 08:25 PM   #2
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
There's a bug in the new function to remove hyphens - I suspect it's because your document has actual parenthesized words with hyphens in the middle on a line break. Neglected to consider that particular case in the new code. Can you open a bug with your file to verify for certain and use as a test?

bugs.calibre-ebook.com
ldolse is offline   Reply With Quote
Advert
Old 09-25-2010, 09:12 PM   #3
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
I've created a test case to reproduce this, so a fix should be in the next release, but it would still be good to submit a bug with your pdf just in case I'm mis-interpreting the error.
ldolse is offline   Reply With Quote
Old 09-26-2010, 09:06 PM   #4
Quint
Junior Member
Quint doesn't litterQuint doesn't litter
 
Posts: 3
Karma: 110
Join Date: Sep 2010
Device: iPhone
Many thanks ldolse, I've created bug ticket #6974 with the pdf and error attached:

http://bugs.calibre-ebook.com/ticket/6974
Quint is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
RTF -> EPUB conversion error gondwild Calibre 3 01-16-2011 11:35 AM
Conversion error [PDF >> MOBI] OMEN Calibre 3 09-27-2010 12:02 PM
Error on PRC > EPUB conversion myusername Calibre 8 09-02-2010 08:30 PM
pdf conversion error Beau Calibre 5 08-29-2010 01:26 PM
epub conversion error booksonthemove Calibre 3 02-15-2010 10:21 PM


All times are GMT -4. The time now is 09:32 AM.


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