Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 01-03-2014, 03:19 PM   #1
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Problem with detection/correction of media-type error

I just came across this error detection problem (calibre 1.18, Win7 64 bit but running calibre 32 bit). I can open a proper bug report but I thought I'd post here first to get some initial thoughts.

I opened an epub and ran a Check which detected one error,
The file xxxxxx/toc.ncx is not referenced. File not in book spine.

As the ToC editor had already been happy to edit the ToC I was somewhat confused so I opened the same epub in Sigil which reported the 'real problem' which was that the ncx's media-type was incorrectly set in the opf to "application/xhtml+xml" instead of "application/x-dtbncx+xml".

Q1: Is it possible for the calibre Editor to be a bit more specific with error message if a media-type is incorrect?
Q2: Is it possible for this type of error to be one of those which can be auto-fixed by clicking the 'try to correct all fixable errors automatically"?

Now onto the followup problem ... having manually corrected the ncx media-type, I re-ran the Check, expecting it to be clean, but the original error was flagged again. I was pretty sure the problem was fixed so I saved the epub and reopened. Sure enough, running Check this time showed no error. So it appears that the Editor is not registering some fixes whilst the epub is still open.

Q3: Is it possible to have the Check detect this kind of manual fix without save/reopen?
jackie_w is offline   Reply With Quote
Old 01-04-2014, 02:33 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,349
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...e2ed83a522ac34

https://github.com/kovidgoyal/calibr...83d10af4be9ffc
kovidgoyal is offline   Reply With Quote
Advert
Old 01-04-2014, 08:06 AM   #3
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Thank you
jackie_w is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Buy vs licence in another media type murraypaul General Discussions 15 06-11-2013 11:11 PM
Sigil error when start spelling correction karnhack Sigil 1 05-31-2013 12:44 PM
MP3 defined in opf as media-type="text/plain LGN Sigil 5 04-26-2013 03:38 PM
media-type me too ePub 5 08-07-2012 05:32 PM
Permissable Spine Media Type Error mimosawind ePub 5 10-07-2011 03:55 AM


All times are GMT -4. The time now is 02:41 PM.


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