![]() |
#1 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 303
Karma: 1033852
Join Date: Jun 2011
Device: Sony PRS-350,Sony PRS-950,Pocketbook 360+,B&N Nook Simple Touch Reader
|
Unable to convert Mobi to Epub
I bought a book on Amazon and was unable to convert it to Epub for the first time. It has nothing to do with DRM, as I have the plugin installed which removes this (DRM). The error has nothing to do with DRM.
It's a VERY large file, found here: http://www.amazon.com/Complete-Works...0690556&sr=1-1 Could it be that the file is simply too large? If so, are there any other options for converting to epub, other than Calibre? Any help would be greatly appreciated. |
![]() |
![]() |
![]() |
#2 | ||
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,889
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
Quote:
Update: You can download most of these individual books from Mobileread. Last edited by DoctorOhh; 07-14-2011 at 09:41 PM. |
||
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 303
Karma: 1033852
Join Date: Jun 2011
Device: Sony PRS-350,Sony PRS-950,Pocketbook 360+,B&N Nook Simple Touch Reader
|
calibre, version 0.8.5
ERROR: Conversion Error: <b>Failed</b>: Convert book 1 of 1 (Complete Works of Dickens) Convert book 1 of 1 (Complete Works of Dickens) Failed to initialize plugin: u'C:\\Users\\JP\\AppData\\Roaming\\calibre\\plugin s\\Goodreads Metadata.zip' Resolved conversion options calibre version: 0.8.5 {'asciiize': False, 'author_sort': None, 'authors': None, 'base_font_size': 0.0, 'book_producer': None, 'change_justification': u'justify', 'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., 'chapter|book|section|part|prologue|epilogue\\s+', 'i')) or @class = 'chapter']", 'chapter_mark': u'pagebreak', 'comments': None, 'cover': u'c:\\users\\jp\\appdata\\local\\temp\\calibre_0.8 .5_tmp_hoonjk\\calibre_0.8.5_tfrjzi.jpeg', 'debug_pipeline': None, 'dehyphenate': True, 'delete_blank_paragraphs': True, 'disable_font_rescaling': False, 'dont_split_on_page_breaks': False, 'enable_heuristics': False, 'epub_flatten': False, 'extra_css': None, 'extract_to': None, '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 0x0599B030>, 'insert_blank_line': False, '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': 1.0, 'margin_left': 1.0, 'margin_right': 1.0, 'margin_top': 1.0, 'markup_chapter_headings': True, 'max_toc_links': 50, 'minimum_line_height': 0.0, 'no_chapters_in_toc': False, 'no_default_epub_cover': False, 'no_inline_navbars': False, 'no_svg_cover': False, 'output_profile': <calibre.customize.profiles.SonyReader300Output object at 0x0599B490>, 'page_breaks_before': u"//*[name()='h1' or name()='h2']", '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\\jp\\appdata\\local\\temp\\calibre_0.8 .5_tmp_hoonjk\\calibre_0.8.5_7vlb9e.opf', 'remove_fake_margins': True, 'remove_first_image': False, 'remove_paragraph_spacing': True, 'remove_paragraph_spacing_indent_size': 1.5, 'renumber_headings': True, 'replace_scene_breaks': u'', '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, 'tags': None, 'timestamp': None, 'title': None, 'title_sort': None, 'toc_filter': None, 'toc_threshold': 6, 'unwrap_lines': True, 'use_auto_toc': False, 'verbose': 2} InputFormatPlugin: MOBI Input running on C:\Users\JP\Documents\E-Book Library\Charles Dickens\Complete Works of Dickens (5381)\Complete Works of Dickens - Charles Dickens.mobi Extracting text... Adding anchors... Extracting images... Cleaning up HTML... Parsing HTML... Malformed markup, parsing using BeautifulSoup Converting style information to CSS... Creating OPF... 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 181, 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 920, in run File "site-packages\calibre\customize\conversion.py", line 204, in __call__ File "site-packages\calibre\ebooks\mobi\input.py", line 37, in convert File "site-packages\lxml\html\__init__.py", line 1493, in tostring File "lxml.etree.pyx", line 2860, in lxml.etree.tostring (src/lxml/lxml.etree.c:53681) File "serializer.pxi", line 139, in lxml.etree._tostring (src/lxml/lxml.etree.c:87439) MemoryError |
![]() |
![]() |
![]() |
#4 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 303
Karma: 1033852
Join Date: Jun 2011
Device: Sony PRS-350,Sony PRS-950,Pocketbook 360+,B&N Nook Simple Touch Reader
|
Anyone know what those errors mean?
|
![]() |
![]() |
![]() |
#5 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
Looks like you probably ran out of memory - the mobi code was malformed, and Calibre's attempt to fix it had a memory related issue.
You can get the raw mobiml and manually massage that into usable html by using the debug output feature, but Dwanthny's advice to use alternative free sources is probably the best use of your time. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,889
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
|
![]() |
![]() |
![]() |
#7 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 303
Karma: 1033852
Join Date: Jun 2011
Device: Sony PRS-350,Sony PRS-950,Pocketbook 360+,B&N Nook Simple Touch Reader
|
Updated to the latest version and still nothing. Not sure if the error is the same. Here it is, cut and pasted. Given this, does anyone know of any software which might work here?
calibre, version 0.8.5 ERROR: Conversion Error: <b>Failed</b>: Convert book 1 of 1 (Complete Works of Dickens) Convert book 1 of 1 (Complete Works of Dickens) Failed to initialize plugin: u'C:\\Users\\JP\\AppData\\Roaming\\calibre\\plugin s\\Goodreads Metadata.zip' Resolved conversion options calibre version: 0.8.5 {'asciiize': False, 'author_sort': None, 'authors': None, 'base_font_size': 0.0, 'book_producer': None, 'change_justification': u'justify', 'chapter': u"//*[((name()='h1' or name()='h2') and re:test(., 'chapter|book|section|part|prologue|epilogue\\s+', 'i')) or @class = 'chapter']", 'chapter_mark': u'pagebreak', 'comments': None, 'cover': u'c:\\users\\jp\\appdata\\local\\temp\\calibre_0.8 .5_tmp_nqegkh\\calibre_0.8.5_wdnn3l.jpeg', 'debug_pipeline': None, 'dehyphenate': True, 'delete_blank_paragraphs': True, 'disable_font_rescaling': False, 'dont_split_on_page_breaks': False, 'enable_heuristics': False, 'epub_flatten': False, 'extra_css': None, 'extract_to': None, '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 0x05A1DFF0>, 'insert_blank_line': False, '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': 1.0, 'margin_left': 1.0, 'margin_right': 1.0, 'margin_top': 1.0, 'markup_chapter_headings': True, 'max_toc_links': 50, 'minimum_line_height': 0.0, 'no_chapters_in_toc': False, 'no_default_epub_cover': False, 'no_inline_navbars': False, 'no_svg_cover': False, 'output_profile': <calibre.customize.profiles.SonyReader300Output object at 0x05A1F470>, 'page_breaks_before': u"//*[name()='h1' or name()='h2']", '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\\jp\\appdata\\local\\temp\\calibre_0.8 .5_tmp_nqegkh\\calibre_0.8.5_aolof5.opf', 'remove_fake_margins': True, 'remove_first_image': False, 'remove_paragraph_spacing': True, 'remove_paragraph_spacing_indent_size': 1.5, 'renumber_headings': True, 'replace_scene_breaks': u'', '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, 'tags': None, 'timestamp': None, 'title': None, 'title_sort': None, 'toc_filter': None, 'toc_threshold': 6, 'unwrap_lines': True, 'use_auto_toc': False, 'verbose': 2} InputFormatPlugin: MOBI Input running on C:\Users\JP\Documents\E-Book Library\Charles Dickens\Complete Works of Dickens (5381)\Complete Works of Dickens - Charles Dickens.mobi Extracting text... Adding anchors... Extracting images... Cleaning up HTML... Parsing HTML... Malformed markup, parsing using BeautifulSoup Converting style information to CSS... Creating OPF... 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 181, 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 920, in run File "site-packages\calibre\customize\conversion.py", line 204, in __call__ File "site-packages\calibre\ebooks\mobi\input.py", line 37, in convert File "site-packages\lxml\html\__init__.py", line 1493, in tostring File "lxml.etree.pyx", line 2860, in lxml.etree.tostring (src/lxml/lxml.etree.c:53681) File "serializer.pxi", line 139, in lxml.etree._tostring (src/lxml/lxml.etree.c:87439) MemoryError |
![]() |
![]() |
![]() |
#8 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
It's the same error. I'm pretty sure a DRM'd file would have errored out before that. Enabling debug output as I mentioned before would be the simplest solution to the problem if you really want 'this' version of the ebook, but some hand editing of the html will be required, perhaps to split it into multiple novels.
All of Dicken's novels are in the public domain, and accessible from many locations. Frankly that would probably be easier. Here is the mobileread library index where the Dickens titles start: https://www.mobileread.com/forums/ebo...mid=130&page=5 |
![]() |
![]() |
![]() |
#9 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 303
Karma: 1033852
Join Date: Jun 2011
Device: Sony PRS-350,Sony PRS-950,Pocketbook 360+,B&N Nook Simple Touch Reader
|
I'd rather be able to fix this one, as I've already paid for it.How do I enable debug mode? I can't find an option for that anywhere.
|
![]() |
![]() |
![]() |
#10 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 303
Karma: 1033852
Join Date: Jun 2011
Device: Sony PRS-350,Sony PRS-950,Pocketbook 360+,B&N Nook Simple Touch Reader
|
Ok, never mind. Found it all the way at the bottom of the Convert screen. I selected a directory. I will let you know once it's done.
|
![]() |
![]() |
![]() |
#11 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 303
Karma: 1033852
Join Date: Jun 2011
Device: Sony PRS-350,Sony PRS-950,Pocketbook 360+,B&N Nook Simple Touch Reader
|
Debug did absolutely nothing. All it did was put a readme file in the target directory.
So, given that downloading these one by one is not an option, what other options are there which might handle this file better, if Calibre aint cutting it? |
![]() |
![]() |
![]() |
#12 | ||
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,889
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
Quote:
Good Luck |
||
![]() |
![]() |
![]() |
#13 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 303
Karma: 1033852
Join Date: Jun 2011
Device: Sony PRS-350,Sony PRS-950,Pocketbook 360+,B&N Nook Simple Touch Reader
|
It can't be any of these things as I've downloaded it from Amazon a couple of times already (thinking it could be that). Is there ANY other software out there?
|
![]() |
![]() |
![]() |
#14 | |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,889
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
Quote:
Maybe someone else can point you to an alternative. |
|
![]() |
![]() |
![]() |
#15 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 303
Karma: 1033852
Join Date: Jun 2011
Device: Sony PRS-350,Sony PRS-950,Pocketbook 360+,B&N Nook Simple Touch Reader
|
I have the De-DRM plugin installed, so, if there IS DRM, it's automatically removed, so, I don't know for sure if it has DRM or not. Is there a way for me to tell? And, yes, I can view the Mobi file in Calibre by double clicking it (it takes forever to open but it does open and, from a quick scan, it appears to look fine).
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Unable to convert to MOBI | chota | Conversion | 7 | 03-06-2011 06:19 AM |
PRS-700 Unable to convert pdf to other formats (epub/rtf/doc) | testndtv | Sony Reader | 1 | 09-24-2010 01:45 PM |
Convert .prc / .mobi to epub | goldberry | Calibre | 3 | 09-12-2010 03:56 PM |
Unable to convert RTF files to ePub | Chrysanthemum | Calibre | 14 | 07-07-2010 01:57 PM |
Unable Convert Gutenberg TXT to Mobi | ascherjim | Calibre | 4 | 06-23-2009 08:55 AM |