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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 11-24-2010, 06:59 PM   #1
jbennion
Member
jbennion for a long time would go to bed early.jbennion for a long time would go to bed early.jbennion for a long time would go to bed early.jbennion for a long time would go to bed early.jbennion for a long time would go to bed early.jbennion for a long time would go to bed early.jbennion for a long time would go to bed early.jbennion for a long time would go to bed early.jbennion for a long time would go to bed early.jbennion for a long time would go to bed early.jbennion for a long time would go to bed early.
 
Posts: 12
Karma: 17972
Join Date: Nov 2010
Device: Sony reader PRS-650
Problem converting LDS MOBI file to ePub with Calibre 0.7.29

I am trying to use the LDS scriptures on my Sony Reader PRS-650. There is a version someone else did that doesn't use the links or touchscreen feature, but this version is much better if you do have a touch screen, which I do.

The problem is it isn't converting correctly. When I convert it, all the links fail and I can't page past the first page.

Even the basic viewer has a problem with displaying this file, it takes hours and hours before anything will display. Though the latest Mobipocket reader (and prior versions) pull it up quickly and just fine.

The file is attached below.
Attached Files
File Type: prc LDSScriptures-1.prc (12.35 MB, 57 views)
jbennion is offline   Reply With Quote
Old 11-26-2010, 01:37 AM   #2
jbennion
Member
jbennion for a long time would go to bed early.jbennion for a long time would go to bed early.jbennion for a long time would go to bed early.jbennion for a long time would go to bed early.jbennion for a long time would go to bed early.jbennion for a long time would go to bed early.jbennion for a long time would go to bed early.jbennion for a long time would go to bed early.jbennion for a long time would go to bed early.jbennion for a long time would go to bed early.jbennion for a long time would go to bed early.
 
Posts: 12
Karma: 17972
Join Date: Nov 2010
Device: Sony reader PRS-650
The conversion job did finally fail. Here is the log file output:

ERROR: Conversion Error: <b>Failed</b>: Convert book 1 of 1 (LDS Scriptures Blackberry)

Convert book 1 of 1 (LDS Scriptures Blackberry)
Resolved conversion options
calibre version: 0.7.29
{'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(., 'chapter|book|section|part|prologue|epilogue\\s+', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': 'c:\\users\\jeff~1.alb\\appdata\\local\\temp\\cali bre_0.7.29_tmp_klu7cx\\calibre_0.7.29_fszzh6.jpeg' ,
'debug_pipeline': None,
'disable_font_rescaling': False,
'dont_split_on_page_breaks': False,
'extra_css': None,
'extract_to': None,
'flow_size': 260,
'font_size_mapping': None,
'footer_regex': u'(?i)(?<=<hr>)((\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?\\d+<br>\\s*.*?\\s*)|(\\s* <a name=\\d+></a>((<img.+?>)*<br>\\s*)?.*?<br>\\s*\\d+))(?=<br>)' ,
'header_regex': u'(?i)(?<=<hr>)((\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?\\d+<br>\\s*.*?\\s*)|(\\s* <a name=\\d+></a>((<img.+?>)*<br>\\s*)?.*?<br>\\s*\\d+))(?=<br>)' ,
'html_unwrap_factor': 0.40000000000000002,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x05940210>,
'insert_blank_line': False,
'insert_metadata': False,
'isbn': None,
'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,
'max_toc_links': 50,
'no_chapters_in_toc': False,
'no_default_epub_cover': False,
'no_inline_navbars': False,
'no_svg_cover': False,
'output_profile': <calibre.customize.profiles.SonyReaderOutput object at 0x059405D0>,
'page_breaks_before': u"//*[name()='h1' or name()='h2']",
'prefer_metadata_cover': False,
'preprocess_html': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': True,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': 'c:\\users\\jeff~1.alb\\appdata\\local\\temp\\cali bre_0.7.29_tmp_klu7cx\\calibre_0.7.29_bhepqi.opf',
'remove_first_image': False,
'remove_footer': False,
'remove_header': False,
'remove_paragraph_spacing': False,
'remove_paragraph_spacing_indent_size': 1.5,
'series': None,
'series_index': None,
'smarten_punctuation': False,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: MOBI Input running
on C:\Users\Jeff.ALBION\Documents\My eBooks\Calibre\The Church of Jesus Christ of Latter Day\LDS Scriptures Blackberry (128)\LDS Scriptures Blackberry - The Church of Jesus Christ of Latter Day.mobi
Extracting text...
Adding anchors...
Extracting images...
Cleaning up HTML...
Parsing HTML...
Malformed markup, parsing using BeautifulSoup
MOBI markup appears to contain random bytes. Stripping.
Extracting text...
Python function terminated unexpectedly
(Error Code: 1)
Traceback (most recent call last):
File "site.py", line 103, in main
File "site.py", line 85, in run_entry_point
File "site-packages\calibre\utils\ipc\worker.py", line 107, in main
File "site-packages\calibre\gui2\convert\gui_conversion.py", line 24, in gui_convert
File "site-packages\calibre\ebooks\conversion\plumber.py", line 836, in run
File "site-packages\calibre\customize\conversion.py", line 216, in __call__
File "site-packages\calibre\ebooks\mobi\input.py", line 28, in convert
File "site-packages\calibre\ebooks\mobi\reader.py", line 300, in extract_content
File "site-packages\calibre\ebooks\mobi\reader.py", line 737, in extract_text
File "site-packages\calibre\ebooks\mobi\huffcdic.py", line 90, in decompress
MemoryError
jbennion is offline   Reply With Quote
Old 11-26-2010, 05:48 AM   #3
Manichean
Wizard
Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!
 
Manichean's Avatar
 
Posts: 3,130
Karma: 80520
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
MemoryError means that the process is out of physical memory. You'd need to install more RAM, I think.
Manichean is offline   Reply With Quote
Old 12-01-2010, 05:26 PM   #4
jbennion
Member
jbennion for a long time would go to bed early.jbennion for a long time would go to bed early.jbennion for a long time would go to bed early.jbennion for a long time would go to bed early.jbennion for a long time would go to bed early.jbennion for a long time would go to bed early.jbennion for a long time would go to bed early.jbennion for a long time would go to bed early.jbennion for a long time would go to bed early.jbennion for a long time would go to bed early.jbennion for a long time would go to bed early.
 
Posts: 12
Karma: 17972
Join Date: Nov 2010
Device: Sony reader PRS-650
Yeah it ran out of memory after running for more than 18 hours. The file isn't THAT big. I was hoping that something prior in the logs would have indicated what would cause the process to hang.
jbennion is offline   Reply With Quote
Old 12-01-2010, 06:28 PM   #5
Manichean
Wizard
Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!
 
Manichean's Avatar
 
Posts: 3,130
Karma: 80520
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
The only mildly remarkable thing is that Calibre notices that the markup (XHTML or whatever lies underneath a mobi file) seems to be somewhat screwy and wants to correct that. I have no idea in what way that influences memory consumption, though.
Manichean is offline   Reply With Quote
Old 12-01-2010, 06:35 PM   #6
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,338
Karma: 5382313
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That's a memory error in the huff/cdic decompression code. That code is very rudimentary (based on an initial reverse engineering of the algorithm, and as there aren't a lot of books in the MOBI format that use Huff/cdic, I've never bothered to polish it). I'm afraid that's unlikely to change, as the amount of effort this would entail is not worth it, IMO.
kovidgoyal is offline   Reply With Quote
Old 10-21-2012, 11:03 PM   #7
TheGreatNi
Junior Member
TheGreatNi began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 2012
Device: Kindle Touch
In an effort to help the Kindle community I have converted most church materials into the native MOBI format. All are free and available for download here.

<URL to copyrighted material removed >

Perhaps someday the church will have an official app for the Kindle Touch but in the mean time you can get all the content here.

I hope everyone finds this useful.

Moderator Notice
Never link to copyrighted material that you are not the copyright holder of

Last edited by theducks; 10-21-2012 at 11:53 PM. Reason: removed link to copyright material
TheGreatNi 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
Problem converting pdf to epub (size) using calibre abadguy PDF 6 03-23-2012 06:33 AM
Problem Converting pdf files to epub file clover_kid Calibre 2 10-28-2010 06:32 PM
Problem bei der Konvertierung epub->mobi mit Calibre Bratzzo Software 8 09-22-2010 07:10 PM
Calibre Indent Issue When Removing Blank Lines (Converting From HTML to MOBI or EPUB) David Derrico Calibre 5 08-04-2010 01:13 AM
Problem converting PDF to EPUB in calibre adgpro Calibre 2 07-09-2010 02:10 AM


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


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