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 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: 37,701
Karma: 18475502
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
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
Old 03-04-2010, 02:44 PM   #2
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,125
Karma: 5381911
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Your epub file has a toc.ncx with non integral values for playOrder
kovidgoyal is online now   Reply With Quote
Old 03-04-2010, 03:15 PM   #3
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: 37,701
Karma: 18475502
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Thanks. That fixed it. Now I have a different problem. The detected ToC doesn't work. No ToC is generated.'

Also, using --remove-paragraph-spacing doesn't work. It does remove the extra paragraph spaces put in, but it also removes ALL the spaces. And not all the indents are correct. Can the PDB output please be fixed so the output looks like the input?

Last edited by JSWolf; 03-04-2010 at 03:23 PM.
JSWolf 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
PDB and Sony 300 eReader Spunky Sony Reader 6 04-30-2010 10:34 PM
eReader (pdb) purchased ebooks on B&N eReader on iPhone? bthoven Reading and Management 5 12-23-2009 06:52 AM
4 book series PDB conversion, 1 book failing fuzzycloud Calibre 2 10-13-2009 03:03 AM
Why won't ereader see my pdb files? CClio333 Reading and Management 11 01-23-2008 02:39 AM
.PDB Encrytpion in ereader arvinder Reading and Management 9 08-30-2007 05:19 AM


All times are GMT -4. The time now is 11:17 PM.


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