Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 10-17-2022, 11:46 AM   #1
chilindrina
Junior Member
chilindrina began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2022
Device: kindle
Update not letting me convert to PDF HELP

Had no problem converting epub to PDF before and now on version 6.7 it's giving me these errors:

Spoiler:
Code:
Convert book 1 of 1 (Suspicion)
Conversion options changed from defaults:
pdf_mono_family: 'Courier New'
use_profile_size: True
preserve_cover_aspect_ratio: True
output_profile: 'generic_eink'
read_metadata_from_opf: 'C:\\Users\\sonia_a\\AppData\\Local\\Temp\\calibre_70qkgxd7\\w2bp8p7o.opf'
pdf_header_template: 'JOSEPH FINDER'
pdf_sans_family: 'Arial'
pdf_use_document_margins: True
pdf_serif_family: 'Arial'
pdf_default_font_size: 16
verbose: 2
pdf_footer_template: 'COVERT SUSPICION'
pdf_page_numbers: True
cover: 'C:\\Users\\sonia_a\\AppData\\Local\\Temp\\calibre_70qkgxd7\\rlpgkkdg.jpeg'
Resolved conversion options
calibre version: 6.7.0
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_justification': 'original',
'chapter': "//*[((name()='h1' or name()='h2') and re:test(., "
"'\\s*((chapter|book|section|part)\\s+)|((prolog|prologue|epilogue)(\\s+|$))', "
"'i')) or u/class = 'chapter']",
'chapter_mark': 'pagebreak',
'comments': None,
'cover': 'C:\\Users\\sonia_a\\AppData\\Local\\Temp\\calibre_70qkgxd7\\rlpgkkdg.jpeg',
'custom_size': None,
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'duplicate_links_in_toc': False,
'embed_all_fonts': False,
'embed_font_family': None,
'enable_heuristics': False,
'expand_css': False,
'extra_css': None,
'filter_css': '',
'fix_indents': True,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x0000017F272A26E0>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'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,
'markup_chapter_headings': True,
'max_toc_links': 50,
'minimum_line_height': 120.0,
'new_pdf_engine': False,
'no_chapters_in_toc': False,
'no_images': False,
'no_inline_navbars': False,
'output_profile': <calibre.customize.profiles.GenericEink object at 0x0000017F272A29E0>,
'page_breaks_before': "//*[name()='h1' or name()='h2']",
'paper_size': 'letter',
'pdf_add_toc': False,
'pdf_default_font_size': 16,
'pdf_footer_template': 'COVERT SUSPICION',
'pdf_header_template': 'JOSEPH FINDER',
'pdf_hyphenate': False,
'pdf_mark_links': False,
'pdf_mono_family': 'Courier New',
'pdf_mono_font_size': 16,
'pdf_odd_even_offset': 0.0,
'pdf_page_margin_bottom': 72.0,
'pdf_page_margin_left': 72.0,
'pdf_page_margin_right': 72.0,
'pdf_page_margin_top': 72.0,
'pdf_page_number_map': None,
'pdf_page_numbers': True,
'pdf_sans_family': 'Arial',
'pdf_serif_family': 'Arial',
'pdf_standard_font': 'serif',
'pdf_use_document_margins': True,
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': True,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': 'C:\\Users\\sonia_a\\AppData\\Local\\Temp\\calibre_70qkgxd7\\w2bp8p7o.opf',
'remove_fake_margins': True,
'remove_first_image': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'renumber_headings': True,
'replace_scene_breaks': '',
'search_replace': '[]',
'series': None,
'series_index': None,
'smarten_punctuation': False,
'sr1_replace': None,
'sr1_search': None,
'sr2_replace': None,
'sr2_search': None,
'sr3_replace': None,
'sr3_search': None,
'start_reading_at': None,
'subset_embedded_fonts': False,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'transform_css_rules': '[]',
'transform_html_rules': '[]',
'uncompressed_pdf': False,
'unit': 'inch',
'unsmarten_punctuation': False,
'unwrap_factor': 0.45,
'unwrap_lines': True,
'use_auto_toc': False,
'use_profile_size': True,
'verbose': 2}
InputFormatPlugin: PDF Input running
on C:\Users\sonia_a\AppData\Local\Temp\calibre_70qkgxd7\3l7k8b51.pdf
Converting file to html...
pdftohtml log:
Page-1
Page-2
Page-3
Page-4
link to page 2 link to page 3 link to page 4 link to page 9 link to page 10 link to page 11 link to page 14 link to page 19 link to page 23 link to page 26 link to page 31 link to page 34 link to page 36 link to page 39 link to page 42 link to page 47 link to page 52 link to page 55 link to page 61 link to page 64 link to page 66 link to page 72 Page-5
link to page 73 link to page 79 link to page 84 link to page 86 link to page 91 link to page 93 link to page 100 link to page 104 link to page 110 link to page 114 link to page 118 link to page 120 link to page 126 link to page 130 link to page 138 link to page 146 link to page 152 link to page 153 link to page 157 link to page 159 link to page 165 link to page 169 link to page 175 link to page 179 link to page 187 link to page 191 link to page 193 link to page 197 link to page 200 link to page 204 Page-6
link to page 209 link to page 214 link to page 219 link to page 222 link to page 226 link to page 231 link to page 232 link to page 238 link to page 240 link to page 243 link to page 246 link to page 248 link to page 251 link to page 254 link to page 256 link to page 257 link to page 263 link to page 266 link to page 268 link to page 269 link to page 273 link to page 277 link to page 280 link to page 285 link to page 287 link to page 291 link to page 293 link to page 296 link to page 301 Page-7
link to page 305 link to page 309 link to page 311 link to page 313 link to page 317 link to page 319 link to page 325 link to page 326 link to page 329 link to page 331 link to page 333 link to page 336 link to page 337 link to page 339 link to page 340 link to page 344 link to page 346 link to page 349 link to page 355 link to page 364 link to page 366 Page-8
Page-9
Page-10
Page-11
Page-12
Page-13
Page-14
Page-15
Page-16
Page-17
Page-18
Page-19
Page-20
Page-21
Page-22
Page-23
Page-24
Page-25
Page-26
Page-27
Page-28
Page-29
Page-30
Page-31
Page-32
Page-33
Page-34
Page-35
Page-36
Page-37
Page-38
Page-39
Page-40
Page-41
Page-42
Page-43
Page-44
Page-45
Page-46
Page-47
Page-48
Page-49
Page-50
Page-51
Page-52
Page-53
Page-54
Page-55
Page-56
Page-57
Page-58
Page-59
Page-60
Page-61
Page-62
Page-63
Page-64
Page-65
Page-66
Page-67
Page-68
Page-69
Page-70
Page-71
Page-72
Page-73
Page-74
Page-75
Page-76
Page-77
Page-78
Page-79
Page-80
Page-81
Page-82
Page-83
Page-84
Page-85
Page-86
Page-87
Page-88
Page-89
Page-90
Page-91
Page-92
Page-93
Page-94
Page-95
Page-96
Page-97
Page-98
Page-99
Page-100
Page-101
Page-102
Page-103
Page-104
Page-105
Page-106
Page-107
Page-108
Page-109
Page-110
Page-111
Page-112
Page-113
Page-114
Page-115
Page-116
Page-117
Page-118
Page-119
Page-120
Page-121
Page-122
Page-123
Page-124
Page-125
Page-126
Page-127
Page-128
Page-129
Page-130
Page-131
Page-132
Page-133
Page-134
Page-135
Page-136
Page-137
Page-138
Page-139
Page-140
Page-141
Page-142
Page-143
Page-144
Page-145
Page-146
Page-147
Page-148
Page-149
Page-150
Page-151
Page-152
Page-153
Page-154
Page-155
Page-156
Page-157
Page-158
Page-159
Page-160
Page-161
Page-162
Page-163
Page-164
Page-165
Page-166
Page-167
Page-168
Page-169
Page-170
Page-171
Page-172
Page-173
Page-174
Page-175
Page-176
Page-177
Page-178
Page-179
Page-180
Page-181
Page-182
Page-183
Page-184
Page-185
Page-186
Page-187
Page-188
Page-189
Page-190
Page-191
Page-192
Page-193
Page-194
Page-195
Page-196
Page-197
Page-198
Page-199
Page-200
Page-201
Page-202
Page-203
Page-204
Page-205
Page-206
Page-207
Page-208
Page-209
Page-210
Page-211
Page-212
Page-213
Page-214
Page-215
Page-216
Page-217
Page-218
Page-219
Page-220
Page-221
Page-222
Page-223
Page-224
Page-225
Page-226
Page-227
Page-228
Page-229
Page-230
Page-231
Page-232
Page-233
Page-234
Page-235
Page-236
Page-237
Page-238
Page-239
Page-240
Page-241
Page-242
Page-243
Page-244
Page-245
Page-246
Page-247
Page-248
Page-249
Page-250
Page-251
Page-252
Page-253
Page-254
Page-255
Page-256
Page-257
Page-258
Page-259
Page-260
Page-261
Page-262
Page-263
Page-264
Page-265
Page-266
Page-267
Page-268
Page-269
Page-270
Page-271
Page-272
Page-273
Page-274
Page-275
Page-276
Page-277
Page-278
Page-279
Page-280
Page-281
Page-282
Page-283
Page-284
Page-285
Page-286
Page-287
Page-288
Page-289
Page-290
Page-291
Page-292
Page-293
Page-294
Page-295
Page-296
Page-297
Page-298
Page-299
Page-300
Page-301
Page-302
Page-303
Page-304
Page-305
Page-306
Page-307
Page-308
Page-309
Page-310
Page-311
Page-312
Page-313
Page-314
Page-315
Page-316
Page-317
Page-318
Page-319
Page-320
Page-321
Page-322
Page-323
Page-324
Page-325
Page-326
Page-327
Page-328
Page-329
Page-330
Page-331
Page-332
Page-333
Page-334
Page-335
Page-336
Page-337
Page-338
Page-339
Page-340
Page-341
Page-342
Page-343
Page-344
Page-345
Page-346
Page-347
Page-348
Page-349
Page-350
Page-351
Page-352
Page-353
Page-354
Page-355
Page-356
Page-357
Page-358
Page-359
Page-360
Page-361
Page-362
Page-363
Page-364
Page-365
Page-366
Page-367
Page-368
Retrieving document metadata...
Generating manifest...
Rendering manifest...
Parsing all content...
Parsing index.html ...
Initial parse failed, using more forgiving parsers
Parsing index.html as HTML
Reading TOC from NCX...
Merging user specified metadata...
Detecting structure...
Flattening CSS and remapping font sizes...
Source base font size is 12.00000pt
Removing fake margins...
Found 5418 items of level: p_1
p_1 left margin stats: Counter({'0': 5418})
p_1 right margin stats: Counter({'0': 5418})
Cleaning up manifest...
Trimming unused files from manifest...
Creating PDF Output...
Converting input as a text based book...
Traceback (most recent call last):
File "runpy.py", line 196, in _run_module_as_main
File "runpy.py", line 86, in _run_code
File "site.py", line 82, in <module>
File "site.py", line 77, in main
File "site.py", line 49, in run_entry_point
File "calibre\utils\ipc\worker.py", line 215, in main
File "calibre\gui2\convert\gui_conversion.py", line 38, in gui_convert_override
File "calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert
File "calibre\ebooks\conversion\plumber.py", line 1281, in run
File "calibre\ebooks\conversion\plugins\pdf_output.py", line 183, in convert
File "calibre\ebooks\conversion\plugins\pdf_output.py", line 249, in convert_text
File "calibre\ebooks\pdf\html_writer.py", line 1179, in convert
File "calibre\ebooks\pdf\html_writer.py", line 1056, in add_header_footer
File "calibre\ebooks\pdf\html_writer.py", line 1035, in format_template
File "src/lxml/etree.pyx", line 1178, in lxml.etree._Element.__getitem__
IndexError: list index out of range

Last edited by chaley; 10-17-2022 at 11:58 AM. Reason: Put massive text block in spoiler
chilindrina is offline   Reply With Quote
Old 10-17-2022, 12:17 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,054
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
You might try updating to 6.7.1 (no notifications to 6.7 users). Go to the official download page to get it
theducks is offline   Reply With Quote
Advert
Old 10-17-2022, 12:44 PM   #3
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,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
THere were no changes to conversion in 6.7. If you need help with a conversion issue follwo the instructions: https://www.mobileread.com/forums/sh...d.php?t=186697
kovidgoyal is online now   Reply With Quote
Old 10-18-2022, 09:36 AM   #4
chilindrina
Junior Member
chilindrina began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2022
Device: kindle
Quote:
Originally Posted by kovidgoyal View Post
THere were no changes to conversion in 6.7. If you need help with a conversion issue follwo the instructions: https://www.mobileread.com/forums/sh...d.php?t=186697
I did follow the instructions, I copy pasted the error code and I have not changed anything else.
chilindrina is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert Image PDF to PDF with text or other ebook format. Memes PDF 7 05-01-2023 04:52 PM
ebook-convert changes width of pdf pdf-odd-even-offset and pdf-add-toc used both Lafisrap Conversion 4 09-04-2020 06:43 AM
Convert epub to pdf, with notes with main text in the pdf? 8140david Conversion 1 06-18-2015 11:02 AM
How can I update creation time for a title when I update the book info or convert it setherd Calibre 3 10-30-2010 01:51 PM


All times are GMT -4. The time now is 10:06 AM.


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