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-18-2012, 11:08 AM   #1
Bobosmite
Enthusiast
Bobosmite ought to be getting tired of karma fortunes by now.Bobosmite ought to be getting tired of karma fortunes by now.Bobosmite ought to be getting tired of karma fortunes by now.Bobosmite ought to be getting tired of karma fortunes by now.Bobosmite ought to be getting tired of karma fortunes by now.Bobosmite ought to be getting tired of karma fortunes by now.Bobosmite ought to be getting tired of karma fortunes by now.Bobosmite ought to be getting tired of karma fortunes by now.Bobosmite ought to be getting tired of karma fortunes by now.Bobosmite ought to be getting tired of karma fortunes by now.Bobosmite ought to be getting tired of karma fortunes by now.
 
Posts: 35
Karma: 474582
Join Date: Mar 2012
Device: Kindle-DX
Conversion hangs at 47%

I've found a few discussions on this topic on another forum, but nothing definitive. I have been converting .html > .mobi with no issues until today when my .html (.zip in Calibre) hangs at 47%. I experimented with the graphics...removed, re-edit, replace, re-save...and my problem docs get over the hump and convert 100%.

So my question is: What are the known issues with graphic files and conversion that causes it to hang at 47%?

I used to work with databases that would hang at 66% during conversion if there was an indexing problem or corruption. It was easily fixed, so I'm hoping this issue has a similar easy fix.
Bobosmite is offline   Reply With Quote
Old 03-18-2012, 11:30 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: 45,176
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
There is an easy fix, just wait, the conversion will finish
kovidgoyal is offline   Reply With Quote
Old 03-18-2012, 12:22 PM   #3
Bobosmite
Enthusiast
Bobosmite ought to be getting tired of karma fortunes by now.Bobosmite ought to be getting tired of karma fortunes by now.Bobosmite ought to be getting tired of karma fortunes by now.Bobosmite ought to be getting tired of karma fortunes by now.Bobosmite ought to be getting tired of karma fortunes by now.Bobosmite ought to be getting tired of karma fortunes by now.Bobosmite ought to be getting tired of karma fortunes by now.Bobosmite ought to be getting tired of karma fortunes by now.Bobosmite ought to be getting tired of karma fortunes by now.Bobosmite ought to be getting tired of karma fortunes by now.Bobosmite ought to be getting tired of karma fortunes by now.
 
Posts: 35
Karma: 474582
Join Date: Mar 2012
Device: Kindle-DX
I was able to get these problem docs to convert after some tinkering.

- All docs are saved as HTML, filtered in Word 2010
- All docs have exactly two graphics (cover & flyleaf) saved as .JPG.
- All docs are converted .ZIP > .MOBI
- The book cover image is the same .JPG as used for the doc.

Using this format, I've converted dozens of docs, over and over many times with no issues. I had three docs that would not convert beyond 47%. Prior to adding graphics, one of these docs converted 100%. So, I tinkered.

1. Removed the graphics from these docs
2. Problem docs converted without graphics
3. Edited/Re-created book and flyleaf graphics
4. Added newbook and flyleaf graphics to the docs
5. Problem docs convert

Each doc now converts to 100% in Calibre, each less than 1m conversion time. Visually, it's the same doc...2 graphics + text. I'd like to understand how graphics affect conversion. Is it size?...format?...dpi?...etc. I don't see any connection between these problem docs or how they are different from previous ones that converted successfully.

One thing I did notice was that graphics pasted directly into Word were saved as .PNG in the <BOOKTITLE>_FILES directory when saved as .HTML. Of the three problem docs, only one had .PNG graphics, the other two used .JPG.
Bobosmite is offline   Reply With Quote
Old 03-18-2012, 12:52 PM   #4
carpetmojo
Wizard
carpetmojo ought to be getting tired of karma fortunes by now.carpetmojo ought to be getting tired of karma fortunes by now.carpetmojo ought to be getting tired of karma fortunes by now.carpetmojo ought to be getting tired of karma fortunes by now.carpetmojo ought to be getting tired of karma fortunes by now.carpetmojo ought to be getting tired of karma fortunes by now.carpetmojo ought to be getting tired of karma fortunes by now.carpetmojo ought to be getting tired of karma fortunes by now.carpetmojo ought to be getting tired of karma fortunes by now.carpetmojo ought to be getting tired of karma fortunes by now.carpetmojo ought to be getting tired of karma fortunes by now.
 
Posts: 3,117
Karma: 9269999
Join Date: Feb 2011
Location: UK
Device: Sony- T3, PRS650, 350, T1/2/3, Paperwhite, Fire 8.9,Samsung Tab S 10.5
I used to worry about this - but as Kovid says, ignore it for a bit, walk the dog or summink, and it will get there.
carpetmojo is offline   Reply With Quote
Old 03-18-2012, 02:40 PM   #5
Bobosmite
Enthusiast
Bobosmite ought to be getting tired of karma fortunes by now.Bobosmite ought to be getting tired of karma fortunes by now.Bobosmite ought to be getting tired of karma fortunes by now.Bobosmite ought to be getting tired of karma fortunes by now.Bobosmite ought to be getting tired of karma fortunes by now.Bobosmite ought to be getting tired of karma fortunes by now.Bobosmite ought to be getting tired of karma fortunes by now.Bobosmite ought to be getting tired of karma fortunes by now.Bobosmite ought to be getting tired of karma fortunes by now.Bobosmite ought to be getting tired of karma fortunes by now.Bobosmite ought to be getting tired of karma fortunes by now.
 
Posts: 35
Karma: 474582
Join Date: Mar 2012
Device: Kindle-DX
Quote:
Originally Posted by carpetmojo View Post
I used to worry about this - but as Kovid says, ignore it for a bit, walk the dog or summink, and it will get there.
Looking at the conversion log, two books were failing over and over. One job was 610minutes before I cancelled it. Ten hours. After removing and re-creating the graphics it took 19sec. & 37sec.

This isn't about being patient, it's about something in the source data that's causing the conversion script to error/hang/stop/loop/whatever. It's worth pursuing a real solution, whether it be in how the document is created or in the conversion code.

Either way, there seems to be a reasonable workaround for this issue and that's what I was really looking for.
Bobosmite is offline   Reply With Quote
Old 03-18-2012, 03:38 PM   #6
speakingtohe
Wizard
speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.
 
Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
Quote:
Originally Posted by Bobosmite View Post
Looking at the conversion log, two books were failing over and over. One job was 610minutes before I cancelled it. Ten hours. After removing and re-creating the graphics it took 19sec. & 37sec.

This isn't about being patient, it's about something in the source data that's causing the conversion script to error/hang/stop/loop/whatever. It's worth pursuing a real solution, whether it be in how the document is created or in the conversion code.

Either way, there seems to be a reasonable workaround for this issue and that's what I was really looking for.
Seems like you found it?
speakingtohe is offline   Reply With Quote
Old 03-18-2012, 08:59 PM   #7
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,897
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Wait it out or until it errors

I just had 2, PDF->Mobi run 1003, 1255 Minutes

It is all about CODE complexity, not count of whatevers
theducks is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
TXT to EPUB conversion hangs, no debug output generated TheRealRalph Conversion 1 01-21-2012 08:18 AM
.cbz conversion hangs roguesith Conversion 5 12-10-2011 03:14 AM
[Old Thread] Conversion hangs at 100% bowsprit Conversion 7 07-04-2011 07:43 PM
Large File Conversion MOBI -> ePub Hangs at 67% Snauzoo Conversion 3 06-07-2011 01:03 PM
epub to mobi conversion hangs clittle Calibre 7 12-12-2010 09:32 AM


All times are GMT -4. The time now is 08:19 PM.


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