View Single Post
Old 07-25-2016, 05:08 PM   #1
Seeker407
Junior Member
Seeker407 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jul 2016
Device: (android) xperia z3 compact
Exclamation Memory Error, need help!

Hello all.

First of all, if someone can help me with this issue, I will be donating at least $20 to Calibre because of how awesome it is. (I am trying to use calibre for 1 specific task which is below, if I can get it to work, it would be worth the money at that point)

1. General description of the problem

I am trying to convert large files (kindle ebooks) into PDF or really any format that I can view on any device. Calibre seems to work just fine with smaller files, but with larger files, it seems to fall a part.

2. I need a solution to convert large files

3. The file you are trying to convert. If the file is copyrighted then create an extract/sample that shows the problem, or use the calibre bug report system to create a private bug with the file attached.

The file I am trying to convert is a test file I downloaded from Kindle.. its the oxford dictionary, and its size is 26 mb. I can't upload it because it is too large. But if you go to the kindle store, you can download the dictionary for free and try it at your place


4 The conversion log from calibre. You get this by clicking the rotating spinner in the bottom right of the main calibre window and using the show job details button.

calibre, version 2.62.0 (win32, embedded-python: True)
Conversion Error: Failed: Convert book 1 of 1 (The New Oxford American Dictionary)

Convert book 1 of 1 (The New Oxford American Dictionary)
Resolved conversion options
calibre version: 2.62.0
{'asciiize': False,
'author_sort': None,
'authors': None,
'base_font_size': 0.0,
'book_producer': None,
'change_justification': u'original',
'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., '\\s*((chapter|book|section|part)\\s+)|((prolog|pr ologue|epilogue)(\\s+|$))', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': u'C:\\Users\\seeker\\AppData\\Local\\Temp\\calibre _wkyoyc\\ueutre.jpeg',
'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,
'extract_to': 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.KindleInput object at 0x0458BD50>,
'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,
'no_chapters_in_toc': False,
'no_inline_navbars': False,
'output_profile': <calibre.customize.profiles.OutputProfile object at 0x0458BE70>,
'page_breaks_before': u"//*[name()='h1' or name()='h2']",
'prefer_metadata_cover': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'C:\\Users\\seeker\\AppData\\Local\\Temp\\calibre _wkyoyc\\fpepp3.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'',
'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,
'template_css': None,
'template_html': None,
'template_html_index': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'transform_css_rules': '[]',
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: MOBI Input running
on C:\Users\seeker\AppData\Local\Temp\calibre_wkyoyc\ irzrtb.mobi
Extracting text...
Adding anchors...
Extracting text...
Adding anchors...
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 190, 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 1060, in run
File "site-packages\calibre\customize\conversion.py", line 241, in __call__
File "site-packages\calibre\ebooks\conversion\plugins\mobi_in put.py", line 35, in convert
File "site-packages\calibre\ebooks\mobi\reader\mobi6.py", line 167, in extract_content
File "re.py", line 155, in sub
MemoryError


5 The output file, if any.

No output file, just the standard kindle version of the file

6 A description of what exactly the problem is. If there is an error message when converting then the full error message, which you can get by clicking the show details button on the error message.

See 1

7 A description of any conversion options you changed from the default

I just installed calibre, and used the DRM plugin to remove DRM (or DMRs, whatever it is).

Thank you all in advance!

J
Seeker407 is offline   Reply With Quote