Failing to convert to mobi

Bug #892492 reported by ImConfused
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Invalid
Undecided
Unassigned

Bug Description

Xubuntu 11.04. Calibre is unable to dependably convert epub to mobi. Calibre (Windows XP version same computer different OS) was able to convert the very same documents. The following is what I got at the end of a failed conversion. It also happened in pdf to mobi.

Trimming 'cover1.jpeg' from manifest
Trimming 'titlepage.xhtml' from manifest
Processed HTML written to: /home/edward/Calibre Library/processed
Creating MOBI Output...
Generating in-line TOC...
Applying case-transforming CSS...

Parsing manglecase.css ...

Parsing tocstyle.css ...

Rasterizing SVG images...

Converting XHTML to Mobipocket markup...

Serializing images...

Serializing markup content...

  Compressing markup content...

Generating MOBI index for a book
TOC item Start [titlepage.xhtml] not found in document
Failed to generate MOBI index:
Traceback (most recent call last):
  File "site-packages/calibre/ebooks/mobi/writer2/main.py", line 114, in generate_index
  File "site-packages/calibre/ebooks/mobi/writer2/indexer.py", line 508, in __init__
ValueError: No valid entries in TOC, cannot generate index

MOBI output written to /tmp/calibre_0.8.27_tmp_P9mCxj/nJDcAX.mobi

ICE default IO error handler doing an exit(), pid = 21716, errno = 32

I upgraded to the latest Calibre (0.8.27) on the Calibre website using the bin which had all the dependencies. Again the same problem arose. I tried another PDF file and attempted to convert it to Mobi. It failed when the html file was being converted to mobi. Under Windows XP Calibre did convert however. It seems that Calibre converts to html before it converts to another format.

Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

Hi,

As it affects upstream version too, changing to calibre app.

Thanks,
Fabrice

affects: calibre (Ubuntu) → calibre
Revision history for this message
Kovid Goyal (kovid) wrote :
Changed in calibre:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.