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 05-19-2013, 07:03 PM   #1
Judosailor
Junior Member
Judosailor began at the beginning.
 
Posts: 3
Karma: 10
Join Date: May 2013
Device: Nook Color
Problem Converting CBR to Epub

Hi,

First, thanks for such an amazing open source program. It's great and I love it.

However, after upgrading the latest version of calibre 64 bit, it will not longer convert CBR files to anything (I tried both Epub and pdf). Here is the error log from a CBR file I tried to convert. I am running Windows 8 and have the latest version of Calibre.

Spoiler:
calibre, version 0.9.31 (win32, isfrozen: True)
Conversion Error: Failed: Convert book 1 of 1 (Age of Ultron 008)

Convert book 1 of 1 (Age of Ultron 008)
Resolved conversion options
calibre version: 0.9.31
{'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,
'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,
'dont_split_on_page_breaks': False,
'duplicate_links_in_toc': False,
'embed_font_family': None,
'enable_heuristics': False,
'epub_flatten': False,
'extra_css': None,
'extract_to': None,
'filter_css': u'',
'fix_indents': True,
'flow_size': 260,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x00000000046D8E80>,
'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_default_epub_cover': False,
'no_inline_navbars': False,
'no_process': False,
'no_sort': False,
'no_svg_cover': False,
'output_format': u'png',
'output_profile': <calibre.customize.profiles.NookColorOutput object at 0x00000000046D9630>,
'page_breaks_before': None,
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'C:\\Users\\FIRST_~1\\AppData\\Local\\Temp\\calib re_ucvkjy\\v23y9f.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,
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2,
'wide': False}
InputFormatPlugin: Comic Input running
on C:\Users\FIRST_~1\AppData\Local\Temp\calibre_ucvkj y\tifgcc.cbr
Python function terminated unexpectedly
(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 189, 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 1010, 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 127, in stream_extract
File "site-packages\calibre\utils\unrar.py", line 58, in current_item
MemoryError


What's even more interesting is that I went back to a CBR file I had previously converted to Epub using Calibre. I deleted the Epub and tried to convert it again and it failed. Here is the error log from that conversion.


Spoiler:
Convert book 1 of 1 (Iron Man 008)
Resolved conversion options
calibre version: 0.9.31
{'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\\FIRST_~1\\AppData\\Local\\Temp\\calib re_ucvkjy\\xfoi9p.jpeg',
'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,
'dont_split_on_page_breaks': False,
'duplicate_links_in_toc': False,
'embed_font_family': None,
'enable_heuristics': False,
'epub_flatten': False,
'extra_css': None,
'extract_to': None,
'filter_css': u'',
'fix_indents': True,
'flow_size': 260,
'font_size_mapping': None,
'format_scene_breaks': True,
'html_unwrap_factor': 0.4,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x00000000046F8E80>,
'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_default_epub_cover': False,
'no_inline_navbars': False,
'no_process': False,
'no_sort': False,
'no_svg_cover': False,
'output_format': u'png',
'output_profile': <calibre.customize.profiles.NookColorOutput object at 0x00000000046F9630>,
'page_breaks_before': None,
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'C:\\Users\\FIRST_~1\\AppData\\Local\\Temp\\calib re_ucvkjy\\wsv3wm.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,
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2,
'wide': False}
InputFormatPlugin: Comic Input running
on C:\Users\FIRST_~1\AppData\Local\Temp\calibre_ucvkj y\12avh0.cbr
Python function terminated unexpectedly
(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 189, 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 1010, 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 127, in stream_extract
File "site-packages\calibre\utils\unrar.py", line 58, in current_item
MemoryError


Finally, I realize the last line says there is a memory error, but I believe there is nothing wrong with my computers memory. It is only a few months old, has sustained no damage that would hurt it, and is experiencing no other problems.

Thanks

Last edited by Judosailor; 05-19-2013 at 07:17 PM.
Judosailor is offline   Reply With Quote
Old 05-19-2013, 07:16 PM   #2
Judosailor
Junior Member
Judosailor began at the beginning.
 
Posts: 3
Karma: 10
Join Date: May 2013
Device: Nook Color
As it turns out it must be an issue with the 64 bit version of calibre in Windows 8. After finding another thread where a guy had the same problem, he said the solution was to use the 32bit version of calibre. I switched, and now it works fine.
Judosailor is offline   Reply With Quote
Old 05-19-2013, 11:46 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: 25,260
Karma: 4961457
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Converting cbr files with the 64bit version of calibre works for all the cbr files I have. If you have some for which it fails, post a sample.
kovidgoyal is online now   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
Problem converting CBR comic into PDF Joveus Conversion 4 01-18-2013 10:06 PM
Problem converting AZW to epub Alleyoop Sony Reader 6 03-17-2012 06:32 AM
Trouble converting CBZ/CBR to epub for specific hardware (Literati) curtw Conversion 2 02-02-2011 09:12 PM
Problem converting to EPUB in 0.7.5 ould Calibre 6 06-27-2010 08:12 AM
Problem converting PDB to ePUB bookwurm70 Calibre 1 12-22-2009 06:13 AM


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


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