|
|
#1 |
|
Mobile Reader Geek
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34,209
Karma: 13801264
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad
|
ePub to PDB (eReader) failing miserably
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' Code:
ebook-convert ebook.epub .pdb --remove-paragraph-spacing
__________________
|
|
|
|
|
|
#2 |
|
Creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,485
Karma: 2944574
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Your epub file has a toc.ncx with non integral values for playOrder
__________________
Get calibre Notice to all: I can not provide assistance with DRM removal, for legal reasons, so please do not contact me about it. |
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Mobile Reader Geek
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 34,209
Karma: 13801264
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad
|
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. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
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 |