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 06-12-2011, 02:40 AM   #1
complex
Junior Member
complex began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jun 2011
Device: Kindle
Problem with PDF to MOBI conversion - Please help

I'm getting the following error while trying to convert a pdf file to mobi with calibre. It is 15 MB in size and contains a lot of internal links since it is originally a website converted with Acrobat X.

Please help. I'm not very familiar with the jargon in this error message. How can I solve this? If it's unavoidable, is there a different reliable program (except for Mobipocket creator, which didn't preserve my internal links) that performs the same task?

Thanks a lot!

calibre, version 0.8.5
ERROR: Conversion Error: <b>Failed</b>: Convert book 1 of 1 (Chemguide)

Convert book 1 of 1 (Chemguide)
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'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': None,
'debug_pipeline': None,
'dehyphenate': True,
'delete_blank_paragraphs': True,
'disable_font_rescaling': False,
'dont_compress': False,
'enable_heuristics': False,
'extra_css': None,
'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 0x056BE270>,
'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': 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,
'mobi_ignore_margins': False,
'new_pdf_engine': False,
'no_chapters_in_toc': False,
'no_images': False,
'no_inline_navbars': False,
'no_inline_toc': False,
'output_profile': <calibre.customize.profiles.OutputProfile object at 0x056BE390>,
'page_breaks_before': u"//*[name()='h1' or name()='h2']",
'personal_doc': u'[PDOC]',
'prefer_author_sort': False,
'prefer_metadata_cover': False,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'c:\\users\\praves~1\\appdata\\local\\temp\\calib re_0.8.5_tmp_gnschn\\calibre_0.8.5_bysrlu.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'',
'rescale_images': False,
'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,
'toc_title': None,
'unwrap_factor': 0.5,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: PDF Input running
on C:\Shashank\Calibre Library\Unknown\Chemguide (278)\Chemguide - Unknown.pdf
Converting file to html...
Python function terminated unexpectedly

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
(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\pdf\input.py", line 51, in convert
File "site-packages\calibre\ebooks\pdf\pdftohtml.py", line 74, in pdftohtml
calibre.ebooks.ConversionError:
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

complex is offline   Reply With Quote
Old 06-12-2011, 10:29 AM   #2
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,940
Karma: 5036099
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That's a bug in pdftohtml the program used by calibre to convert PDF to HTML. You should report it to the poppler project.
kovidgoyal 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
PDF to MOBI Conversion Problem with Page Heading gtbeagle Conversion 1 06-09-2011 02:10 AM
Yet another pdf to mobi conversion problem (Calibre) Andalusian_Wolf Conversion 8 03-16-2011 10:56 AM
PDF-to-mobi conversion problem ruffunatio Calibre 3 09-26-2010 03:01 PM
Epub/Mobi TO pdf conversion problem Hitch Calibre 4 06-15-2010 05:28 PM
PDF to Mobi conversion problem DavidJD Calibre 6 10-04-2009 11:27 AM


All times are GMT -4. The time now is 06:36 PM.


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