Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 01-17-2013, 04:40 PM   #1
Joveus
Junior Member
Joveus began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2013
Device: none
Problem converting CBR comic into PDF

As the title says, I'm trying to convert a CBR comic into PDF format for use on a Kindle. The process won't work for reasons I don't understand, and the details regarding the failure make no sense to me. Nonetheless, I have pasted the error message details below in the hope someone who does understand it can help me.


Convert book 1 of 1 (Dead Boy Detectives #02)
Resolved conversion options
calibre version: 0.9.14
{'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': 256,
'comic_image_size': None,
'comments': None,
'cover': u'C:\\Users\\User\\AppData\\Local\\Temp\\calibre_0 .9.14_tmp_quscxm\\ifgfit.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': False,
'dont_normalize': False,
'dont_sharpen': False,
'duplicate_links_in_toc': False,
'embed_font_family': None,
'enable_heuristics': 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 0x0411CAF0>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_aspect_ratio': False,
'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,
'old_pdf_engine': False,
'output_format': u'png',
'output_profile': <calibre.customize.profiles.GenericEink object at 0x0411CCF0>,
'override_profile_size': False,
'page_breaks_before': None,
'paper_size': u'letter',
'pdf_default_font_size': 20,
'pdf_mark_links': False,
'pdf_mono_family': u'Courier New',
'pdf_mono_font_size': 16,
'pdf_sans_family': u'Helvetica',
'pdf_serif_family': u'Times New Roman',
'pdf_standard_font': u'serif',
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'C:\\Users\\User\\AppData\\Local\\Temp\\calibre_0 .9.14_tmp_quscxm\\2ajcrp.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,
'uncompressed_pdf': False,
'unit': u'inch',
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2,
'wide': False}
InputFormatPlugin: Comic Input running
on C:\Users\User\AppData\Local\Temp\calibre_0.9.14_tm p_quscxm\15iwxv.cbr
Python function terminated unexpectedly
Invalid CRC for item (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 132, in main
File "site.py", line 109, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 186, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 31, in gui_convert_override
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1009, in run
File "site-packages\calibre\customize\conversion.py", line 239, in __call__
File "site-packages\calibre\ebooks\conversion\plugins\comic_i nput.py", line 180, in convert
File "site-packages\calibre\ebooks\conversion\plugins\comic_i nput.py", line 129, in get_pages
File "site-packages\calibre\ebooks\comic\input.py", line 32, in extract_comic
File "site-packages\calibre\__init__.py", line 283, in extract
File "site-packages\calibre\utils\unrar.py", line 150, in extract
File "site-packages\calibre\utils\unrar.py", line 146, in stream_extract
File "site-packages\calibre\utils\unrar.py", line 72, in process_current_item
calibre.utils.unrar.UNRARError: Invalid CRC for item




Thanks for any help you can provide.
Joveus is offline   Reply With Quote
Old 01-17-2013, 06:01 PM   #2
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,095
Karma: 780247
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
I think that is saying that calibre does not think it is a valid format cbr (RAR) file.
itimpi is offline   Reply With Quote
Old 01-17-2013, 11:28 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: 26,350
Karma: 5382313
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Try opening your cbr file with winrar and, if it succeeds, then convert it into a cbz file, that will fix your error.
kovidgoyal is offline   Reply With Quote
Old 01-18-2013, 03:13 PM   #4
Joveus
Junior Member
Joveus began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2013
Device: none
I just tried converting from cbr to cbz using winrar (though I really don't understand what I'm doing). I think it succeeded in converting the file type and opening the cbz in calibre, but attempts to convert into PDF bring up the following message, which may be the same or different from the first one;
Spoiler:

Convert book 1 of 1 (Dead Boy Detectives #02)
Resolved conversion options
calibre version: 0.9.14
{'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': 256,
'comic_image_size': None,
'comments': None,
'cover': None,
'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': False,
'dont_normalize': False,
'dont_sharpen': False,
'duplicate_links_in_toc': False,
'embed_font_family': None,
'enable_heuristics': 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 0x042A2AD0>,
'insert_blank_line': False,
'insert_blank_line_size': 0.5,
'insert_metadata': False,
'isbn': None,
'italicize_common_cases': True,
'keep_aspect_ratio': False,
'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,
'old_pdf_engine': False,
'output_format': u'png',
'output_profile': <calibre.customize.profiles.GenericEink object at 0x042A2CD0>,
'override_profile_size': False,
'page_breaks_before': None,
'paper_size': u'letter',
'pdf_default_font_size': 20,
'pdf_mark_links': False,
'pdf_mono_family': u'Courier New',
'pdf_mono_font_size': 16,
'pdf_sans_family': u'Helvetica',
'pdf_serif_family': u'Times New Roman',
'pdf_standard_font': u'serif',
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'C:\\Users\\User\\AppData\\Local\\Temp\\calibre_0 .9.14_tmp_quscxm\\82tf1j.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,
'uncompressed_pdf': False,
'unit': u'inch',
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2,
'wide': False}
InputFormatPlugin: Comic Input running
on C:\Users\User\AppData\Local\Temp\calibre_0.9.14_tm p_quscxm\lty4o3.cbz
Found comic pages...

Python function terminated unexpectedly
Could not find any pages in the comic: C:\Users\User\AppData\Local\Temp\calibre_0.9.14_tm p_quscxm\lty4o3.cbz (Error Code: 1)
Traceback (most recent call last):
File "site.py", line 132, in main
File "site.py", line 109, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 186, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 31, in gui_convert_override
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 25, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 1009, in run
File "site-packages\calibre\customize\conversion.py", line 239, in __call__
File "site-packages\calibre\ebooks\conversion\plugins\comic_i nput.py", line 180, in convert
File "site-packages\calibre\ebooks\conversion\plugins\comic_i nput.py", line 135, in get_pages
ValueError: Could not find any pages in the comic: C:\Users\User\AppData\Local\Temp\calibre_0.9.14_tm p_quscxm\lty4o3.cbz


It still isn't working for me.

Last edited by theducks; 01-18-2013 at 03:22 PM. Reason: Wrapped long paste in Spoiler
Joveus is offline   Reply With Quote
Old 01-18-2013, 11:06 PM   #5
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,350
Karma: 5382313
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
According to that error there are no images inside the cbz.
kovidgoyal 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
Cbr to PDF conversion; colour problem PaulFraser Conversion 2 05-06-2012 08:16 AM
Converting PDF to CBR usualsuspect PDF 0 05-07-2011 07:00 AM
problems converting cbr to pdf using tablet profile help Meridius Conversion 3 03-07-2011 06:18 PM
Converting cbr's and cbz's to pdf's klikklak Calibre 4 03-27-2010 08:49 AM
Comic Converter for PDF, CBZ, CBR, ZIP, RAR, PPT, PPTX jontylovell Deals, Freebies, and Resources (No Self-Promotion) 8 09-19-2009 07:18 AM


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


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