Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 03-22-2014, 08:13 PM   #1
sherpa
Junior Member
sherpa began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2014
Device: iPad2
Conversion Failed:

Hi,

Tried converting a file but keep getting the error below. All default settings.

Can someone please help. Thanks in advance.

Joel


-----------
Spoiler:

calibre, version 1.29.0 (win32, isfrozen: True)
Conversion Error: Failed: Convert book 1 of 1 (Ultimate Speed Secrets: The Complete Guide to High-Performance and Race Driving)

Convert book 1 of 1 (Ultimate Speed Secrets: The Complete Guide to High-Performance and Race Driving)
Resolved conversion options
calibre version: 1.29.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': None,
'custom_size': None,
'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,
'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.InputProfile object at 0x000000000485E940>,
'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,
'old_pdf_engine': False,
'output_profile': <calibre.customize.profiles.iPad3Output object at 0x000000000485EE10>,
'override_profile_size': False,
'page_breaks_before': u"//*[name()='h1' or name()='h2']",
'paper_size': u'letter',
'pdf_add_toc': False,
'pdf_default_font_size': 20,
'pdf_footer_template': None,
'pdf_header_template': None,
'pdf_mark_links': False,
'pdf_mono_family': u'Courier New',
'pdf_mono_font_size': 16,
'pdf_page_numbers': False,
'pdf_sans_family': u'Helvetica',
'pdf_serif_family': u'Times New Roman',
'pdf_standard_font': u'serif',
'prefer_metadata_cover': False,
'preserve_cover_aspect_ratio': False,
'pretty_print': False,
'pubdate': None,
'publisher': None,
'rating': None,
'read_metadata_from_opf': u'D:\\Win7\\TEMP\\calibre_hnvf2f\\dboiyr.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,
'timestamp': None,
'title': None,
'title_sort': None,
'toc_filter': None,
'toc_threshold': 6,
'toc_title': None,
'uncompressed_pdf': False,
'unit': u'inch',
'unsmarten_punctuation': False,
'unwrap_lines': True,
'use_auto_toc': False,
'verbose': 2}
InputFormatPlugin: MOBI Input running
on D:\Win7\TEMP\calibre_hnvf2f\ftkzvq.mobi
Extracting text...
Extracting text...
Python function terminated unexpectedly
string index out of range (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 195, 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 1038, 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 152, in extract_content
File "site-packages\calibre\ebooks\mobi\reader\mobi6.py", line 758, in extract_text
File "site-packages\calibre\ebooks\mobi\reader\mobi6.py", line 752, in text_section
File "site-packages\calibre\ebooks\mobi\reader\mobi6.py", line 747, in sizeof_trailing_entries
IndexError: string index out of range

Last edited by theducks; 03-22-2014 at 09:53 PM. Reason: Wrapped long paste in Spoiler
sherpa is offline   Reply With Quote
Old 03-22-2014, 08:54 PM   #2
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,660
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@sherpa have a read of these sticky threads

How to ask a question about conversion problems ( click)

Read this before Posting PDF Questions ( click)

BR
BetterRed is online now   Reply With Quote
Advert
Old 03-23-2014, 09:05 AM   #3
sherpa
Junior Member
sherpa began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2014
Device: iPad2
Quote:
Originally Posted by BetterRed View Post
@sherpa have a read of these sticky threads

How to ask a question about conversion problems ( click)

Read this before Posting PDF Questions ( click)

BR
Thanks BR. I actually posted my log already (the 2nd requirement).
1. I am not sure I can attach the original as it is quite large, and I don't have an extract for a sample.
2. already pasted in original post.
3. no output file since an error occured.
4. like #2, error message mentioned in original post.
5. No conversion options changed from default.

But before I proceed, it appears (per your 2nd link), that PDF is the worst/most complex format to convert to. Quite unfortunate because I love the formats and reading tools using Adobe Reader in my IPad2.

Anyway, are there other free readers as good as (or better than) Adobe Reader, and use formats that I can convert my Kindle book into using Calibre w/ ease?

Currently reading the book in Kindle but it's quite lacking in tools and features.

Thanks.
sherpa is offline   Reply With Quote
Old 03-23-2014, 11:28 AM   #4
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Quote:
Originally Posted by sherpa View Post
Currently reading the book in Kindle but it's quite lacking in tools and features.
I assume you mean the Kindle app for the iPad so you can read Kindle format books without conversion?

There are a wide variety of ePub readers for the iPad and in my experience that is probably the best format for the iPad. My favourite ereader app is Marvin (which has good integration with Calibre), but others have their own preferences.
itimpi is offline   Reply With Quote
Old 03-24-2014, 02:06 AM   #5
sherpa
Junior Member
sherpa began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2014
Device: iPad2
Yes @itimpi, currently I use Kindle for IPad but like I mentioned, it lacks some features that I use in Adobe reader while reading my PDF books.

I'm downloading Marvin free. But will I have to convert my book in Amazon Kindle format to epub for use in Marvin? Then I would get the same error as in my original post.
sherpa is offline   Reply With Quote
Advert
Old 03-24-2014, 07:55 AM   #6
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,894
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by sherpa View Post
But before I proceed, it appears (per your 2nd link), that PDF is the worst/most complex format to convert to. Quite unfortunate because I love the formats and reading tools using Adobe Reader in my IPad2.
The second link never should have been given to you since it is all about PDF files being the source of the conversion not the output of the conversion. As with any "converted to" format I am sure there may be limitations but that Sticky post you were sent to did not outline any current PDF output problems.

That said you do need to follow step 1 of the 1st link provided if you expect a resolution.

Quote:
Originally Posted by sherpa View Post
1. I am not sure I can attach the original as it is quite large, and I don't have an extract for a sample.
Exactly how large is it? What format is it, azw4 perhaps?

Last edited by DoctorOhh; 03-24-2014 at 07:59 AM.
DoctorOhh is online now   Reply With Quote
Old 03-24-2014, 08:35 AM   #7
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,660
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
My fault again - I saw PDF somewhere in error log, and assumed it was reading PDF, I missed seeing

InputFormatPlugin: MOBI Input running
on D:\Win7\TEMP\calibre_hnvf2f\ftkzvq.mobi

@sherpa - I am still not 100% certain I know which format you are converting from and which format you are converting to. And I'm less certain which format you would prefer to read on your iPad. I had the impression it might be PDF - but then you mentioned Marvin, which I thought was primarily an EPUB reader.

BR
BetterRed is online now   Reply With Quote
Old 03-24-2014, 09:59 PM   #8
sherpa
Junior Member
sherpa began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2014
Device: iPad2
Thanks @DoctorOhh and @BetterRed. I'll try to clarify, sorry for any confusion.

It is an .azw format, a book I recently bought from Amazon. I can read it on Kindle for PC. (I also have a copy in my IPad2 and read it using the iPad Kindle app). Obviously, the file I am working on, and trying to convert to PDF format through Calibre, is the .azw file in my PC. I wish to convert it from .azw to PDF because most of my books are in PDF format, and I prefer the tools available in Adobe reader. This is the only book I have in Kindle format, and I find the Kindle app somewhat lacking in tools.

@DoctorOhh, I can try upload it. It is 10mb. Should I upload the whole .azw file over here? I believe the error in the original post might be due to the DRM? Not sure.

@BetterRed, original copy is in .azw format, the format w/c is downloaded by Kindle in PC from Amazon. Like I mentioned, I also have a copy of the same book in my IPad2 (not sure what format it is on). I simply want to convert the .azw file on my PC into PDF format, and then copy that PDF file to my iPad for reading in Adobe reader.

Also, I mentioned about Marvin on the succeeding post because @Itimpi suggested it.

I hope this is clearer. Please let me know if there's anything else I can provide.

Last edited by sherpa; 03-24-2014 at 10:49 PM. Reason: added clarification re Marvin
sherpa is offline   Reply With Quote
Old 03-24-2014, 10:03 PM   #9
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,939
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
@sherpa
DO NOT post any book the is in copyright here at MR. That will get you banned faster than anything.
theducks is offline   Reply With Quote
Old 03-24-2014, 10:15 PM   #10
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,894
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by sherpa View Post
@DoctorOhh, I can try upload it. It is 10mb. Should I upload the whole .azw file over here?
No don't upload it here. The directions ask you to upload it to the calibre bug tracker.

Is this a fictional novel? I'm ignorant of all things Kindle but I ask because some of their books are PDF files in a AZW wrapper. You can find out more info in Mobileread's wiki, try these topics: AZW, KindleUnpack, and
KindleGen.

Quote:
Originally Posted by sherpa View Post
I believe the error in the original post might be due to the DRM? Not sure.
If it is DRM protected and you attempt to view it using calibre's viewer you will get a message saying it is DRM protected. If you have not visited Apprentice Alf's page and installed tools found there then it is most likely DRM protected. We cannot give you specific instructions (against forum policy) on how to remove DRM, google Apprentice Alf for more info.

Last edited by DoctorOhh; 03-24-2014 at 10:17 PM.
DoctorOhh is online now   Reply With Quote
Old 03-24-2014, 11:57 PM   #11
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,660
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by sherpa View Post
I hope this is clearer. Please let me know if there's anything else I can provide.
@sherpa - clear as crystal now, thanks - I hope it's helped everyone - I can't add anything useful to what DoctorOhh has already said

BR
BetterRed is online now   Reply With Quote
Old 03-26-2014, 10:40 AM   #12
sherpa
Junior Member
sherpa began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2014
Device: iPad2
Thanks @DoctorOhh. But the error I encounter happens during conversion in Calibre, and I believe nothing to do w/ DRM because it has already been deDRM'ed w/ the plugin. It is after conversion where I get the error I posted in the 1st post. Shouldn't that be reported here?
sherpa is offline   Reply With Quote
Old 03-26-2014, 12:48 PM   #13
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,939
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by sherpa View Post
Thanks @DoctorOhh. But the error I encounter happens during conversion in Calibre, and I believe nothing to do w/ DRM because it has already been deDRM'ed w/ the plugin. It is after conversion where I get the error I posted in the 1st post. Shouldn't that be reported here?
Not really, and never with a copyrighted book.
Use the report bugs at the Calibre download site and MARK the attachment as private
theducks is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Conversion Failed mjt271 Conversion 2 08-09-2012 09:51 AM
failed LIT conversion gohlensc Conversion 2 07-29-2012 10:18 AM
Need some help with a failed conversion bfollowell Conversion 7 01-06-2012 10:25 PM
Failed Conversion Message daylight54 Conversion 0 09-14-2011 06:20 PM
conversion failed tponzo Conversion 3 05-16-2011 01:32 PM


All times are GMT -4. The time now is 05:23 AM.


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