11-14-2019, 05:37 PM | #121 | |
Wannabe Connoisseur
Posts: 425
Karma: 2516674
Join Date: Apr 2011
Location: Geelong, Australia
Device: Kobo Libra 2, Kobo Aura 2, Sony PRS-T1, Sony PRS-350, Palm TX
|
Quote:
I do have OpenSSL installed though. Is that what you meant by Ssl? Also, I don't configure the system PATH variable to include the cygwin bin paths so, for example, I can't run "ls" from CMD, only from a cygwin shell. |
|
11-14-2019, 05:45 PM | #122 | |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Happy to hear it's fixed. |
|
Advert | |
|
11-14-2019, 10:49 PM | #123 |
Wannabe Connoisseur
Posts: 425
Karma: 2516674
Join Date: Apr 2011
Location: Geelong, Australia
Device: Kobo Libra 2, Kobo Aura 2, Sony PRS-T1, Sony PRS-350, Palm TX
|
I've given this a bit of a pounding too, both the the sample epub and also the original epub from my Calibre library, and can't crash it. Yay!
Also, those "Warning: QObject::connect ..." messages have disappeared too. @KevinH, @DiapDealer - Thanks!! |
11-14-2019, 11:00 PM | #124 |
Sigil Developer
Posts: 7,647
Karma: 5433388
Join Date: Nov 2009
Device: many
|
Yes I cleaned those warnings up when I was in the neighbourhood working on the src/Tabs code. They were not part of the problem but they cluttered up my debugger lldb sessions so they had to go.
|
11-15-2019, 01:16 AM | #125 |
Wannabe Connoisseur
Posts: 425
Karma: 2516674
Join Date: Apr 2011
Location: Geelong, Australia
Device: Kobo Libra 2, Kobo Aura 2, Sony PRS-T1, Sony PRS-350, Palm TX
|
When I try to open a specific epub I get the following output from Sigil (yay cygwin ):
Code:
[3228:20216:1115/170205.254:ERROR:cache_util_win.cc(19)] Unable to move the cache: 5 [3228:20216:1115/170205.254:ERROR:cache_util.cc(140)] Unable to move cache folder C:\Users\simon\AppData\Local\sigil-ebook\sigil\QtWebEngine\Default\GPUCache to C:\Users\simon\AppData\Local\sigil-ebook\sigil\QtWebEngine\Default\old_GPUCache_000 [3228:20216:1115/170205.254:ERROR:disk_cache.cc(168)] Unable to create cache [3228:20216:1115/170205.254:ERROR:shader_disk_cache.cc(620)] Shader Cache Creation failed: -2 Debug: LoadFolderStructure Issue: "OEBPS/Styles/stylesheet.css" "OEBPS/Text/stylesheet.css" Debug: LoadFolderStructure Issue: "OEBPS/Styles/page-template.xpgt" "OEBPS/Text/page-template.xpgt" Code:
Error info: Cannot load file C:\Users\Simon\Calibre Library\Robert Penn\It's All About the Bike (158)\It's All About the Bike - Robert Penn.epub: OEBPS/Text/stylesheet.css Sigil version: 0.9.991 Runtime Qt: 5.12.3 Compiled Qt: 5.12.3 System: Windows 10 (10.0) Architecture: x86_64 Code:
Debug: LoadFolderStructure Issue: "OEBPS/Styles/stylesheet.css" "OEBPS/Text/stylesheet.css" Debug: LoadFolderStructure Issue: "OEBPS/Styles/page-template.xpgt" "OEBPS/Text/page-template.xpgt" Spoiler:
I can supply the CSS file (hoping no copyright issues for that), but guessing from the errors that the contents of the file might not be the issue? This happens when opening via Calibire with the built in open-with, double clicking on the epub and starting Sigil from a cygwin shell. According the modification time, I last edited this epub in 2011(!). |
Advert | |
|
11-15-2019, 05:32 AM | #126 |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Try removing that adobe page template (.xpgt) from the zip archive and see if it will load. If so, we'll have our culprit. You don't see those files much anymore. Perhaps we've not run into one yet since the 0.9.991 overhaul?
|
11-15-2019, 06:00 AM | #127 | |
Sigil Developer
Posts: 7,647
Karma: 5433388
Join Date: Nov 2009
Device: many
|
Please make a copy of the original epub, then manually unzip it.
Then please paste the exact OPF manifest entries that relate to these files, especially the href and mediatype for those specific files.. OEBPS/Styles/page-template.xpgt OEBPS/Styles/stylesheet.css My guess there is something unique about them. KevinH Quote:
Last edited by KevinH; 11-15-2019 at 06:02 AM. |
|
11-15-2019, 11:16 AM | #128 |
Sigil Developer
Posts: 7,647
Karma: 5433388
Join Date: Nov 2009
Device: many
|
As far as I can tell, this is the last outstanding bug report on the alpha. So please post the OPF itself **before** it is loaded in Sigil or at least the OPF manifest lines for those style related files from **before** it is loaded in Sigil so that I can track this one down and either fix the bug or help harden the code against these types of errors.
|
11-15-2019, 01:14 PM | #129 | |
just an egg
Posts: 1,587
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
|
Quote:
Let me know if there are any tests you'd like me to run or what sort of results you need to help. |
|
11-15-2019, 01:29 PM | #130 | |
Sigil Developer
Posts: 7,647
Karma: 5433388
Join Date: Nov 2009
Device: many
|
Yes page templates should not be the issue. I think that this specific epub OPF has either incorrect media types or href values for those files or something else strange such as duplicate entries or ids. I really need to see that opf to see if my guess is correct or not.
Once I know what the issue is I can try to harden the code to prevent problems from errors of this type. Quote:
|
|
11-15-2019, 06:48 PM | #131 | |
Wannabe Connoisseur
Posts: 425
Karma: 2516674
Join Date: Apr 2011
Location: Geelong, Australia
Device: Kobo Libra 2, Kobo Aura 2, Sony PRS-T1, Sony PRS-350, Palm TX
|
Quote:
Code:
<item href="Styles/stylesheet.css" id="css" media-type="txt/css" /> <item href="Styles/page-template.xpgt" id="pt" media-type="application/vnd.adobe-page-map+xml" /> Code:
Debug: LoadFolderStructure Issue: "OEBPS/Styles/stylesheet.css" "OEBPS/Text/stylesheet.css" |
|
11-15-2019, 06:53 PM | #132 |
Sigil Developer
Posts: 7,647
Karma: 5433388
Join Date: Nov 2009
Device: many
|
txt/css is not a valid media-type. the actual media type should be text/css
|
11-15-2019, 07:01 PM | #133 |
Sigil Developer
Posts: 7,647
Karma: 5433388
Join Date: Nov 2009
Device: many
|
And for xpgt files the correct mediatype is "application/vnd.adobe-page-template+xml" not the page-map one provided there.
So both mediatypes are incorrect as I suspected. I think the only solution for broken opf manifest entries is to reverse lookup the provided media-type in an extension table (or visa-versa) and make sure it matches what is provided and create a Warning Dialog to let the user know this opf manifest item is broken. |
11-15-2019, 07:02 PM | #134 |
Sigil Developer
Posts: 7,647
Karma: 5433388
Join Date: Nov 2009
Device: many
|
I will also force the use of the bookpath provided by the href no matter what.
Thanks for getting back to me so that I can try to harden things to errors like this. |
11-15-2019, 07:02 PM | #135 | |
Wannabe Connoisseur
Posts: 425
Karma: 2516674
Join Date: Apr 2011
Location: Geelong, Australia
Device: Kobo Libra 2, Kobo Aura 2, Sony PRS-T1, Sony PRS-350, Palm TX
|
Quote:
Here's the relevent entries for the fonts in Three Men In A Boat: Code:
<item id="fontinbold_font" href="fonts/Fontin-Bold.ttf" media-type="application/x-truetype-font"/> <item id="fontinitalic_font" href="fonts/Fontin-Italic.ttf" media-type="application/x-truetype-font"/> <item id="fontinregular_font" href="fonts/Fontin-Regular.ttf" media-type="application/x-truetype-font"/> |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
5.8.11 Pre=release | knc1 | Kindle Developer's Corner | 21 | 04-17-2018 08:42 PM |
Overdrive - Search for Pre-Release | nynaevelan | General Discussions | 11 | 11-24-2013 02:27 PM |
Where are the pre-release purchase buttons? | Sydney's Mom | General Discussions | 8 | 09-06-2012 10:57 PM |
KF Android 4.0 Pre-Release Version | robertc88 | Kindle Fire | 22 | 01-22-2012 07:24 PM |
PDF Viewer 0.3.0 pre-release | pruss | Android Devices | 62 | 11-22-2011 11:18 AM |