View Single Post
Old 03-04-2010, 02:11 PM   #1
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 74,107
Karma: 129333562
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
ePub to PDB (eReader) failing miserably

I am trying to convert an ePub file to PDB and it fails big time with the latest Calibre.

Code:
1% Converting input to HTML...
InputFormatPlugin: EPUB Input running
on E:\E-Books\Sorted\ebook.epub
Found HTML cover titlepage.xhtml
Parsing all content...
Property: Invalid value for "CSS Level 2.1" property: italic [136:5: text-decoration]
Python function terminated unexpectedly
  invalid literal for int() with base 10: '1a' (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\ebooks\conversion\cli.py", line 254, in main
  File "site-packages\calibre\ebooks\conversion\plumber.py", line 794, in run
  File "site-packages\calibre\ebooks\conversion\plumber.py", line 920, in create_oebbook
  File "site-packages\calibre\ebooks\oeb\reader.py", line 72, in __call__
  File "site-packages\calibre\ebooks\oeb\reader.py", line 592, in _all_from_opf
  File "site-packages\calibre\ebooks\oeb\reader.py", line 458, in _toc_from_opf
  File "site-packages\calibre\ebooks\oeb\reader.py", line 370, in _toc_from_ncx
  File "site-packages\calibre\ebooks\oeb\reader.py", line 334, in _toc_from_navpoint
ValueError: invalid literal for int() with base 10: '1a'
The command I am using is...

Code:
ebook-convert ebook.epub .pdb --remove-paragraph-spacing
even without --remove-paragraph-spacing it's failing.
JSWolf is offline   Reply With Quote