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 11-01-2010, 08:46 PM   #1
j_doe_999
Junior Member
j_doe_999 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Sep 2010
Device: B&N Nook
PDB to EPUB error

Hi,

I am trying to convert with Calibre (0.7.24) some books from PDB to EPUB. One of them gives me an error (see below the error log) . The PDB file opens and looks fine in B&N desktop reader.

Any ideas ?

Thank you,

-----------------------------------------------

ERROR: Conversion Error: <b>Failed</b>: Convert book 1 of 1 (Islands in the Stream)

Convert book 1 of 1 (Islands in the Stream)
Resolved conversion options
calibre version: 0.7.24
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_justification': u'original',
'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., 'chapter|book|section|part|prologue|epilogue\\s+', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': 'c:\\users\\xxxx\\appdata\\local\\temp\\calibre_0. 7.24_tmp_3exntl\\calibre_0.7.24_gx7wdt.jpeg',
'debug_pipeline': None,
'disable_font_rescaling': False,
'dont_split_on_page_breaks': False,
'extra_css': None,
'extract_to': None,
'flow_size': 260,
'font_size_mapping': None,
'footer_regex': u'(?i)(?<=<hr>)((\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?\\d+<br>\\s*.*?\\s*)|(\\s* <a name=\\d+></a>((<img.+?>)*<br>\\s*)?.*?<br>\\s*\\d+))(?=<br>)' ,
'header_regex': u'(?i)(?<=<hr>)((\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?\\d+<br>\\s*.*?\\s*)|(\\s* <a name=\\d+></a>((<img.+?>)*<br>\\s*)?.*?<br>\\s*\\d+))(?=<br>)' ,
'html_unwrap_factor': 0.40000000000000002,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x0501FEF0>,
'insert_blank_line': False,
'insert_metadata': True,
'isbn': None,
'keep_ligatures': False,
'language': None,
'level1_toc': None,
'level2_toc': None,
'level3_toc': None,
'line_height': 0.0,
'linearize_tables': False,
'margin_bottom': 5.0,
'margin_left': 5.0,
'margin_right': 5.0,
'margin_top': 5.0,
'max_toc_links': 50,
'no_chapters_in_toc': False,
'no_default_epub_cover': False,
'no_inline_navbars': False,
'no_svg_cover': False,
'output_profile': <calibre.customize.profiles.NookOutput object at 0x05024290>,
'page_breaks_before': u"//*[name()='h1' or name()='h2']",
'prefer_metadata_cover': False,
'preprocess_html': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': True,
'print_formatted_paras': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': 'c:\\users\\xxxx\\appdata\\local\\temp\\calibre_0. 7.24_tmp_3exntl\\calibre_0.7.24_67mkrk.opf',
'remove_first_image': False,
'remove_footer': False,
'remove_header': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'series': None,
'series_index': None,
'single_line_paras': False,
'smarten_punctuation': False,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: PDB Input running
on C:\Users\xxxx\Calibre Library\Ernest Hemingway\Islands in the Stream (1799)\Islands in the Stream - Ernest Hemingway.pdb
Detected ebook format as: PalmDOC with identity: TEXtREAd
Decompressing text...
Decompressing text section 1
Decompressing text section 2
Decompressing text section 3
Decompressing text section 4
Decompressing text section 5
Decompressing text section 6
Decompressing text section 7
Decompressing text section 8
Decompressing text section 9
Decompressing text section 10
Decompressing text section 11
Decompressing text section 12
Decompressing text section 13
Decompressing text section 14
Decompressing text section 15
Decompressing text section 16
Decompressing text section 17
Decompressing text section 18
Decompressing text section 19
Decompressing text section 20
Decompressing text section 21
Decompressing text section 22
Decompressing text section 23
Decompressing text section 24
Decompressing text section 25
Decompressing text section 26
Decompressing text section 27
Decompressing text section 28
Decompressing text section 29
Decompressing text section 30
Decompressing text section 31
Decompressing text section 32
Decompressing text section 33
Decompressing text section 34
Decompressing text section 35
Decompressing text section 36
Decompressing text section 37
Decompressing text section 38
Decompressing text section 39
Decompressing text section 40
Decompressing text section 41
Decompressing text section 42
Decompressing text section 43
Decompressing text section 44
Decompressing text section 45
Decompressing text section 46
Decompressing text section 47
Decompressing text section 48
Decompressing text section 49
Decompressing text section 50
Decompressing text section 51
Decompressing text section 52
Decompressing text section 53
Decompressing text section 54
Decompressing text section 55
Decompressing text section 56
Decompressing text section 57
Decompressing text section 58
Decompressing text section 59
Decompressing text section 60
Decompressing text section 61
Decompressing text section 62
Decompressing text section 63
Decompressing text section 64
Decompressing text section 65
Decompressing text section 66
Decompressing text section 67
Decompressing text section 68
Decompressing text section 69
Decompressing text section 70
Decompressing text section 71
Decompressing text section 72
Decompressing text section 73
Decompressing text section 74
Decompressing text section 75
Decompressing text section 76
Decompressing text section 77
Decompressing text section 78
Decompressing text section 79
Decompressing text section 80
Decompressing text section 81
Decompressing text section 82
Decompressing text section 83
Decompressing text section 84
Decompressing text section 85
Decompressing text section 86
Decompressing text section 87
Decompressing text section 88
Decompressing text section 89
Decompressing text section 90
Decompressing text section 91
Decompressing text section 92
Decompressing text section 93
Decompressing text section 94
Decompressing text section 95
Decompressing text section 96
Decompressing text section 97
Decompressing text section 98
Decompressing text section 99
Decompressing text section 100
Decompressing text section 101
Decompressing text section 102
Decompressing text section 103
Decompressing text section 104
Decompressing text section 105
Decompressing text section 106
Decompressing text section 107
Decompressing text section 108
Decompressing text section 109
Decompressing text section 110
Decompressing text section 111
Decompressing text section 112
Decompressing text section 113
Decompressing text section 114
Decompressing text section 115
Decompressing text section 116
Decompressing text section 117
Decompressing text section 118
Decompressing text section 119
Decompressing text section 120
Decompressing text section 121
Decompressing text section 122
Decompressing text section 123
Decompressing text section 124
Decompressing text section 125
Decompressing text section 126
Decompressing text section 127
Decompressing text section 128
Decompressing text section 129
Decompressing text section 130
Decompressing text section 131
Decompressing text section 132
Decompressing text section 133
Decompressing text section 134
Decompressing text section 135
Decompressing text section 136
Decompressing text section 137
Decompressing text section 138
Decompressing text section 139
Decompressing text section 140
Decompressing text section 141
Decompressing text section 142
Decompressing text section 143
Decompressing text section 144
Decompressing text section 145
Decompressing text section 146
Decompressing text section 147
Decompressing text section 148
Decompressing text section 149
Decompressing text section 150
Decompressing text section 151
Decompressing text section 152
Decompressing text section 153
Decompressing text section 154
Decompressing text section 155
Decompressing text section 156
Decompressing text section 157
Decompressing text section 158
Decompressing text section 159
Decompressing text section 160
Decompressing text section 161
Decompressing text section 162
Decompressing text section 163
Decompressing text section 164
Decompressing text section 165
Decompressing text section 166
Decompressing text section 167
Decompressing text section 168
Decompressing text section 169
Decompressing text section 170
Decompressing text section 171
Decompressing text section 172
Decompressing text section 173
Decompressing text section 174
Decompressing text section 175
Decompressing text section 176
Decompressing text section 177
Decompressing text section 178
Decompressing text section 179
Decompressing text section 180
Decompressing text section 181
Decompressing text section 182
Decompressing text section 183
Decompressing text section 184
Decompressing text section 185
Decompressing text section 186
Converting text to OEB...
Parsing all content...
Parsing index.html ...
Forcing index.html into XHTML namespace
Generating default TOC from spine...
Merging user specified metadata...
Detecting structure...
Auto generated TOC with 0 entries.
Inserting metadata into book...
Flattening CSS and remapping font sizes...
Property: Unknown Property name. [34:2: -webkit-border-radius]
Source base font size is 12.00000pt
Cleaning up manifest...
Trimming unused files from manifest...
Parsing stylesheet.css ...
Property: Unknown Property name. [19:1: -webkit-border-radius]
Creating EPUB Output...
Looking for large trees in index.html...
Found large tree #0
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[2]/*[6]
Split tree still too large: 348 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[2]/*[3]
Split tree too small
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[2]/*[4]
Committed sub-tree #1 (80 KB)
Split tree still too large: 268 KB
Splitting...
Split point: {http://www.w3.org/1999/xhtml}p /*/*[2]/*[2]
Split tree too small
Splitting...
Python function terminated unexpectedly
Could not find reasonable point at which to split: index.html Sub-tree size: 268 KB (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 107, 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 944, in run
File "site-packages\calibre\ebooks\epub\output.py", line 154, in convert
File "site-packages\calibre\ebooks\oeb\transforms\split.py", line 56, in __call__
File "site-packages\calibre\ebooks\oeb\transforms\split.py", line 66, in split_item
File "site-packages\calibre\ebooks\oeb\transforms\split.py", line 188, in __init__
File "site-packages\calibre\ebooks\oeb\transforms\split.py", line 408, in split_to_size
File "site-packages\calibre\ebooks\oeb\transforms\split.py", line 392, in split_to_size
File "site-packages\calibre\ebooks\oeb\transforms\split.py", line 408, in split_to_size
File "site-packages\calibre\ebooks\oeb\transforms\split.py", line 392, in split_to_size
File "site-packages\calibre\ebooks\oeb\transforms\split.py", line 385, in split_to_size
calibre.ebooks.oeb.transforms.split.SplitError: Could not find reasonable point at which to split: index.html Sub-tree size: 268 KB
j_doe_999 is offline   Reply With Quote
Old 11-01-2010, 09:04 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: 45,349
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
use the preprocess html conversion option
kovidgoyal is offline   Reply With Quote
Advert
Old 11-01-2010, 09:19 PM   #3
j_doe_999
Junior Member
j_doe_999 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Sep 2010
Device: B&N Nook
The only preprocess option I found is "Preprocess input file to possibly improve structure detection" (in Structure Detection). I get the same error.
j_doe_999 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 output conversion error silinthar Calibre 6 10-01-2010 02:18 AM
pdb to epub error boosting1bar Calibre 1 05-28-2010 08:15 PM
TXT->PDB (eReader) conversion error solitaire Calibre 5 01-25-2010 07:37 PM
Calibre 0.6.32 - pdb to epub conversion error niche99 Calibre 4 01-23-2010 12:13 PM
Callibre error when converting (pdb to epub) cistehovado Calibre 2 12-29-2009 06:30 PM


All times are GMT -4. The time now is 03:29 PM.


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