Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-20-2010, 02:49 AM   #1
seema.the.doctor
Junior Member
seema.the.doctor began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2010
Device: iphone4
prc to epub error

Hi
I'm trying to convert a mobi prc file from the website www.clinmedconsult.com to epub using calibre for the first time. I converted the demo version without any problems.
The conversion of the purchased file (32MB) failed and I am getting the following error message:

ERROR: Conversion Error: <b>Failed</b>: Convert book 1 of 1 (The Clinical Medicine Consult 2011v4m)

Convert book 1 of 1 (The Clinical Medicine Consult 2011v4m)
Resolved conversion options
calibre version: 0.7.14
{'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\\s+', 'i')) or @class = 'chapter']",
'chapter_mark': u'pagebreak',
'comments': None,
'cover': '/var/folders/l6/l6U0deKSGNKgx6V0DK2N7E+++TI/-Tmp-/calibre_0.7.14_vJBr_D.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>)' ,
'input_encoding': None,
'input_profile': <calibre.customize.profiles.InputProfile object at 0x67877d0>,
'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.OutputProfile object at 0x67879b0>,
'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': '/var/folders/l6/l6U0deKSGNKgx6V0DK2N7E+++TI/-Tmp-/calibre_0.7.14_Scg5Hd.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,
'tags': None,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'use_auto_toc': False,
'verbose': 2}
calibre-parallel(5354,0xa0626500) malloc: *** mmap(size=209719296) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
Python function terminated unexpectedly:
InputFormatPlugin: MOBI Input running
on /Users/dan/Desktop/Unknown/The Clinical Medicine Consult 2011v4m (7)/The Clinical Medicine Consult 2011v4m - Unknown.prc
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...
Adding anchors...
Extracting images...
Traceback (most recent call last):
File "/Volumes/calibre-0.7.14/calibre.app/Contents/Resources/Python/lib/python2.6/site.py", line 147, in main
return run_entry_point()
File "/Volumes/calibre-0.7.14/calibre.app/Contents/Resources/Python/lib/python2.6/site.py", line 116, in run_entry_point
return getattr(pmod, func)()
File "site-packages/calibre/utils/ipc/worker.py", line 99, 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 815, in run
File "site-packages/calibre/customize/conversion.py", line 207, in __call__
File "site-packages/calibre/ebooks/mobi/input.py", line 27, in convert
File "site-packages/calibre/ebooks/mobi/reader.py", line 312, in extract_content
File "site-packages/calibre/ebooks/mobi/reader.py", line 750, in replace_page_breaks
MemoryError

I would be grateful for any advice.
seema.the.doctor is offline   Reply With Quote
Old 08-20-2010, 07:28 AM   #2
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Perhaps the Mobi book has DRM? Calibre won't convert books with DRM.
HarryT is offline   Reply With Quote
Advert
Old 08-20-2010, 11:42 AM   #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: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No that's a memory error, you need more RAM
kovidgoyal is offline   Reply With Quote
Old 08-20-2010, 02:04 PM   #4
seema.the.doctor
Junior Member
seema.the.doctor began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2010
Device: iphone4
The file is 100% non-DRM.
Sorry to be thick. How do I get more RAM?
seema.the.doctor is offline   Reply With Quote
Old 08-22-2010, 11:04 AM   #5
plunderydoo
Enthusiast
plunderydoo has a complete set of Star Wars action figures.plunderydoo has a complete set of Star Wars action figures.plunderydoo has a complete set of Star Wars action figures.plunderydoo has a complete set of Star Wars action figures.plunderydoo has a complete set of Star Wars action figures.
 
Posts: 38
Karma: 412
Join Date: Sep 2009
Device: WinMobile, Hanvon N516 w. OpenInkPot, eLyricon EBX-500, Iphone 3GS
Quote:
Originally Posted by seema.the.doctor View Post
The file is 100% non-DRM.
Sorry to be thick. How do I get more RAM?
http://en.wikipedia.org/wiki/Random_access_memory

plunderydoo is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error on PRC > EPUB conversion myusername Calibre 8 09-02-2010 08:30 PM
Error converting to PDF from EPub and PRC gauravj Calibre 3 05-24-2010 02:07 AM
Error converting .prc => .mobi Skydog Calibre 2 01-22-2010 04:00 PM
Error message converting PRC to LRF Amalthia Calibre 5 06-27-2009 04:01 PM
prc to lrf error jlbfoot Calibre 2 01-16-2009 08:14 AM


All times are GMT -4. The time now is 04:50 AM.


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