![]() |
#1 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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? |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,349
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,251
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Thank you
![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
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 |