![]() |
#1 |
Enthusiast
![]() Posts: 38
Karma: 46
Join Date: Mar 2017
Device: None
|
Sigil 2.3.0 crashes when opening Fictionwise epubs
I have quite a few epubs I purchased from Fictionwise back in the day. From time to time I pull one out of my backup and load it into Sigil so that I can cleanup the many, many problems with it. Before 2.3.0 it was a workable thing but now Sigil crashes when I open one.
Ironically, I can open them in Caliber but I really don't want to go that route. My preferences are set to mend not well formed html source code on open. Here's an example if you have time to dig into it. Moderator Notice
Removed Coprighted (1994) book. Do not post copyrighted material. Last edited by KevinH; Yesterday at 01:20 PM. Reason: removed copyrighted book |
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,288
Karma: 57979022
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
2.3.0 did ABEND
Opened with ebook-edit directly (Calibre. not added to any Library) The error message is: metadata.opf (line: 30) The tag has no reference to the NCX table of contents file. Without this reference, the table of contents will not work in most readers. The reference should look like . Add the reference to the NCX file <<<I clicked this and Sigil then opened |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Enthusiast
![]() Posts: 38
Karma: 46
Join Date: Mar 2017
Device: None
|
|
![]() |
![]() |
![]() |
#4 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,049
Karma: 5449552
Join Date: Nov 2009
Device: many
|
And that crash will happen with any epub opening warnings that do not have "details" in the warning message. Missing NCX or broken NCX is one of those warnings detected when opening an epub that includes no extra "details", so it causes a crash.
This bug was reported and fixed over the weekend. The fix is already in Sigil master. And we are planning a fast Sigil 2.3.1 release hopefully within the next week or so. Unless you build your own, the only workaround is to use an earlier Sigil release or make sure your epub NCX is correctly specified in an epub2. |
![]() |
![]() |
![]() |
#5 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,049
Karma: 5449552
Join Date: Nov 2009
Device: many
|
@theducks,
I can still see the link in his post? Do you want me to edit his post to delete it or has the link changed to something legal to post? Update, I just removed the attachment to be safe since the problem is known and already fixed. Last edited by KevinH; Yesterday at 01:21 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Enthusiast
![]() Posts: 38
Karma: 46
Join Date: Mar 2017
Device: None
|
Thanks, Kevin. I will wait for the next release.
|
![]() |
![]() |
![]() |
#7 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,288
Karma: 57979022
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
![]() ![]() |
|
![]() |
![]() |
![]() |
#8 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,845
Karma: 198099188
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Sigil definitely shouldn't crash--we've fixed it. But it absolutely amazes me that so many legit epub sources would deliver epubs with broken NCXs!
|
![]() |
![]() |
![]() |
#9 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 38,995
Karma: 153098470
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
|
![]() |
![]() |
![]() |
#10 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,288
Karma: 57979022
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Some of this is from the Lowest Bidder mentality.
Most BPH have house styles. Looking at what was delivered to the end user shows the coder had little clue and just used the first selection that gave 'the look'. Whole books using 'frontmatter' styles The there is Baen, where every chapter is nested in another DIV (30 Chapters are nested in 30 Divs. ![]() In the end, the book looks no different to the reader |
![]() |
![]() |
![]() |
#11 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,845
Karma: 198099188
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I have no problem believing they're full of garbage. But they're typically not flat busted. This ncx thing wouldn't pass any validator out there. NCXs are required in Epub2. Manifested in the opf, given the proper media type, and its manifested id added to the toc attribute of the spine. Sheesh!
|
![]() |
![]() |
![]() |
#12 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 38,995
Karma: 153098470
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Some of the work BooksByJoy did for Baen was a pain. And yeah, I still have my remove divs saved search kicking around.
Not quite sure if this was the issue with the OP's ePub but when I delete the toc.ncx from an ePub and then open the ePub with Sigil built from master, I get the Sigil has encountered a problem message and the file closes. I may have jumped the gun on downloading the source. I checked back and noticed more recent updates so will try a rebuild. Last edited by DNSB; Yesterday at 04:06 PM. |
![]() |
![]() |
![]() |
#13 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,845
Karma: 198099188
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Yes. The crash has already been fixed in master. Sigil will create an empty ncx if one is not present (including one being present but not properly configured). It has always done this. It was a change to our error messaging that was causing the crash in the 2.3.0 release.
EDIT: wait Sigil closes? How are you deleting the ncx? You can't delete the ncx from an epub2 inside of Sigil, and the ncx isn't required in and epub3. I'm confused. Last edited by DiapDealer; Yesterday at 04:04 PM. |
![]() |
![]() |
![]() |
#14 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 38,995
Karma: 153098470
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Tried the code from about 30 minutes ago and still crashes when I open an ePub without the ncx. file.
|
![]() |
![]() |
![]() |
#15 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 38,995
Karma: 153098470
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
I've attached a dummy ePub with the toc.ncx and with the toc.ncx removed. Last edited by DNSB; Yesterday at 04:26 PM. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Updated CC (3.5.6) crashes upon opening | SuzDavid | Calibre Companion | 16 | 11-22-2014 10:18 AM |
Opening EPUBs in Sigil takes ages [Windows] | Wasserpulle | Sigil | 4 | 12-13-2013 01:05 PM |
SIGIL Crashes When Opening Files on MacBook Pro | WilliamGarner | Sigil | 2 | 10-09-2013 09:07 AM |
Epub crashes on Sigil for Mac, OK on Sigil for PC | crystamichelle | Sigil | 6 | 08-14-2013 02:52 PM |
4.129 crashes upon opening | da_jane | Calibre | 7 | 01-19-2009 02:25 AM |