Issue converting CBR into PDF

Bug #1704778 reported by Pat on 2017-07-17
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Undecided
Unassigned

Bug Description

Hello,
I have been using Calibre for long time to convert CBR into PDF and have some issues now.
From time to time (let say 30%), I'm facing this error :

Conversion du livre 1 sur 1 (Prediction2)
C:\Program Files\Calibre2\app\pylib.zip\dateutil\parser.py:601: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
Conversion options changed from defaults:
  dont_grayscale: True
  keep_aspect_ratio: True
  use_profile_size: True
  output_profile: 'ipad'
  cover: u'C:\\Users\\Loisir\\AppData\\Local\\Temp\\calibre_6xyfjx\\x3qb82.jpeg'
  pdf_sans_family: u'MS Shell Dlg 2'
  preserve_cover_aspect_ratio: True
  verbose: 2
  read_metadata_from_opf: u'C:\\Users\\test\\AppData\\Local\\Temp\\calibre_6xyfjx\\kfjnd2.opf'
Resolved conversion options
calibre version: 3.3.0
{'asciiize': False,
 'author_sort': None,
 'authors': None,
 'base_font_size': 0.0,
 'book_producer': None,
 'change_justification': 'left',
 'chapter': None,
 'chapter_mark': u'pagebreak',
 'colors': 0,
 'comic_image_size': None,
 'comments': None,
 'cover': u'C:\\Users\\test\\AppData\\Local\\Temp\\calibre_6xyfjx\\x3qb82.jpeg',
 'custom_size': None,
 'debug_pipeline': None,
 'dehyphenate': True,
 'delete_blank_paragraphs': True,
 'despeckle': False,
 'disable_font_rescaling': True,
 'disable_trim': False,
 'dont_add_comic_pages_to_toc': False,
 'dont_grayscale': True,
 'dont_normalize': False,
 'dont_sharpen': 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': u'',
 '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 0x000001F3078F82B0>,
 'insert_blank_line': False,
 'insert_blank_line_size': 0.5,
 'insert_metadata': False,
 'isbn': None,
 'italicize_common_cases': True,
 'keep_aspect_ratio': True,
 'keep_ligatures': False,
 'landscape': False,
 'language': None,
 'level1_toc': None,
 'level2_toc': None,
 'level3_toc': None,
 'line_height': 0.0,
 'linearize_tables': False,
 'margin_bottom': 0,
 'margin_left': 0,
 'margin_right': 0,
 'margin_top': 0,
 'markup_chapter_headings': True,
 'max_toc_links': 50,
 'minimum_line_height': 120.0,
 'no_chapters_in_toc': False,
 'no_inline_navbars': False,
 'no_process': False,
 'no_sort': False,
 'output_format': u'png',
 'output_profile': <calibre.customize.profiles.iPadOutput object at 0x000001F3078F8780>,
 'page_breaks_before': None,
 'paper_size': u'letter',
 'pdf_add_toc': False,
 'pdf_default_font_size': 20,
 'pdf_footer_template': None,
 'pdf_header_template': None,
 'pdf_mark_links': False,
 'pdf_mono_family': u'Courier New',
 'pdf_mono_font_size': 16,
 '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_numbers': False,
 'pdf_sans_family': u'MS Shell Dlg 2',
 'pdf_serif_family': u'Times New Roman',
 'pdf_standard_font': u'serif',
 'prefer_metadata_cover': False,
 'preserve_cover_aspect_ratio': True,
 'pretty_print': False,
 'pubdate': None,
 'publisher': None,
 'rating': None,
 'read_metadata_from_opf': u'C:\\Users\\test\\AppData\\Local\\Temp\\calibre_6xyfjx\\kfjnd2.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': u'',
 'right2left': False,
 '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': '[]',
 'uncompressed_pdf': False,
 'unit': u'inch',
 'unsmarten_punctuation': False,
 'unwrap_lines': True,
 'use_auto_toc': False,
 'use_profile_size': True,
 'verbose': 2,
 'wide': False}
InputFormatPlugin: Comic Input running
on C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\uxuyoj.cbr
Found comic pages...
 Prédiction T02_000.jpg
 Prédiction T02_001.jpg
 Prédiction T02_002.jpg
 Prédiction T02_003.jpg
 Prédiction T02_004.jpg
 Prédiction T02_005.jpg
 Prédiction T02_006.jpg
 Prédiction T02_007.jpg
 Prédiction T02_008.jpg
 Prédiction T02_009.jpg
 Prédiction T02_010.jpg
 Prédiction T02_011.jpg
 Prédiction T02_012.jpg
 Prédiction T02_013.jpg
 Prédiction T02_014.jpg
 Prédiction T02_015.jpg
 Prédiction T02_016.jpg
 Prédiction T02_017.jpg
 Prédiction T02_018.jpg
 Prédiction T02_019.jpg
 Prédiction T02_020.jpg
 Prédiction T02_021.jpg
 Prédiction T02_022.jpg
 Prédiction T02_023.jpg
 Prédiction T02_024.jpg
 Prédiction T02_025.jpg
 Prédiction T02_026.jpg
 Prédiction T02_027.jpg
 Prédiction T02_028.jpg
 Prédiction T02_029.jpg
 Prédiction T02_030.jpg
 Prédiction T02_031.jpg
 Prédiction T02_032.jpg
 Prédiction T02_033.jpg
 Prédiction T02_034.jpg
 Prédiction T02_035.jpg
 Prédiction T02_036.jpg
 Prédiction T02_037.jpg
 Prédiction T02_038.jpg
 Prédiction T02_039.jpg
 Prédiction T02_040.jpg
 Prédiction T02_041.jpg
 Prédiction T02_042.jpg
 Prédiction T02_043.jpg
 Prédiction T02_044.jpg
 Prédiction T02_045.jpg
 Prédiction T02_046.jpg
 Prédiction T02_047.jpg
 Prédiction T02_048.jpg
 Prédiction T02_049.jpg
 Prédiction T02_050.jpg
Python function terminated unexpectedly
  Le traitement de la bande dessinée a échoué :

Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_026.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_027.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_028.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_029.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_030.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_031.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_032.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_033.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_034.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_035.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_036.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_037.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_038.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_039.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_040.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_041.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_042.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_043.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_044.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_045.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_046.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_047.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_048.jpg
 (Error Code: 1)
Traceback (most recent call last):
  File "site.py", line 101, in main
  File "site.py", line 78, in run_entry_point
  File "site-packages\calibre\utils\ipc\worker.py", line 195, in main
  File "site-packages\calibre\gui2\convert\gui_conversion.py", line 33, in gui_convert_override
  File "site-packages\calibre\gui2\convert\gui_conversion.py", line 26, in gui_convert
  File "site-packages\calibre\ebooks\conversion\plumber.py", line 1088, in run
  File "site-packages\calibre\customize\conversion.py", line 245, in __call__
  File "site-packages\calibre\ebooks\conversion\plugins\comic_input.py", line 181, in convert
  File "site-packages\calibre\ebooks\conversion\plugins\comic_input.py", line 145, in get_pages
  File "site-packages\calibre\ebooks\comic\input.py", line 271, in process_pages
Exception: Le traitement de la bande dessinée a échoué :

Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_026.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_027.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_028.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_029.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_030.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_031.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_032.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_033.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_034.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_035.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_036.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_037.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_038.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_039.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_040.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_041.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_042.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_043.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_044.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_045.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_046.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_047.jpg
Rendu de C:\Users\test\AppData\Local\Temp\calibre_6xyfjx\hyv1xu_comic_extract\Prédiction T02_048.jpg

I have upgraded with the latest Calibre version without success. I have also tried to convert into zip file thanks to Winrar and then, insert it into Calibre to convert into PDF, but still have the issue.

Regards
Pat

Pat (poco06) wrote :

Fixed in branch master. The fix will be in the next release. calibre is usually released every alternate Friday.

 status fixreleased

Changed in calibre:
status: New → Fix Released
Pat (poco06) wrote :

Sounds good
Thanks for your quick reply.
Regards
Pat

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers