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, 03: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, 05: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: 3,591
Karma: 549131
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (stanza/iBooks/QuickReader)
I think that is saying that calibre does not think it is a valid format cbr (RAR) file.
__________________
Calibre2opds: Calibre library as a web site - the popular alternative to the Calibre Content Server

CLOUD SERVICES:
Dropbox: Use this link to sign up for a free Dropbox account and both of us get an extra 500MB free space.
Megacloud: Use this link to sign up for a free MegaCloud account and both of us get an extra 500MB free space.
Copy.com: Use this link to sign up for a free Copy.com account and both of us get an extra 5GB free space.
itimpi is offline   Reply With Quote
 
Enthusiast
Old 01-17-2013, 10: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: 22,496
Karma: 2944574
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.
__________________
Get calibre

Notice to all: I can not provide assistance with DRM removal, for legal reasons, so please do not contact me about it.
kovidgoyal is offline   Reply With Quote
Old 01-18-2013, 02: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 02:22 PM. Reason: Wrapped long paste in Spoiler
Joveus is offline   Reply With Quote
Old 01-18-2013, 10: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: 22,496
Karma: 2944574
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
According to that error there are no images inside the cbz.
__________________
Get calibre

Notice to all: I can not provide assistance with DRM removal, for legal reasons, so please do not contact me about it.
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 07:16 AM
Converting PDF to CBR usualsuspect PDF 0 05-07-2011 06:00 AM
problems converting cbr to pdf using tablet profile help Meridius Conversion 3 03-07-2011 05:18 PM
Converting cbr's and cbz's to pdf's klikklak Calibre 4 03-27-2010 07:49 AM
Comic Converter for PDF, CBZ, CBR, ZIP, RAR, PPT, PPTX jontylovell Deals, Freebies, and Resources (No Self-Promotion) 8 09-19-2009 06:18 AM


All times are GMT -4. The time now is 07:12 AM.


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