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, 03: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: 38,541
Karma: 19637653
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
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, 03: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,438
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Your epub file has a toc.ncx with non integral values for playOrder
kovidgoyal is offline   Reply With Quote
 
Advertisement
Old 03-04-2010, 04: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: 38,541
Karma: 19637653
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
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 04: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 11:34 PM
eReader (pdb) purchased ebooks on B&N eReader on iPhone? bthoven Reading and Management 5 12-23-2009 07:52 AM
4 book series PDB conversion, 1 book failing fuzzycloud Calibre 2 10-13-2009 04:03 AM
Why won't ereader see my pdb files? CClio333 Reading and Management 11 01-23-2008 03:39 AM
.PDB Encrytpion in ereader arvinder Reading and Management 9 08-30-2007 06:19 AM


All times are GMT -4. The time now is 12:46 PM.


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