|
|
#541 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 49,593
Karma: 174632684
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
For what it may be worth, epubcheck 5.3.0 has been released. It's only a few hours old at this time but I tried a manual install and epubcheck worked including a couple of tests for bug fixes. The first try at an automatic update failed but a while later (2 hours), the auto update worked.
The GitHub link to the page is epubcheck 5.3.0 Last edited by DNSB; 09-01-2025 at 08:00 PM. |
|
|
|
|
|
#542 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,249
Karma: 6565382
Join Date: Nov 2009
Device: many
|
And fwiw, I had previously filed an epubcheck bug about the missing support for the backlink epub:type attribute and received a notice that it was fixed in this release of epubcheck.
|
|
|
|
|
|
#543 | |
|
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Oct 2020
Location: Somewhere in Spain
Device: iPad
|
Upgraded to 5.3.0
Quote:
|
|
|
|
|
|
|
#544 | |
|
Elizabeth Beeton
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4
Karma: 100000
Join Date: May 2008
Location: Kansas City, MO
Device: iPad, Galaxy S22, Paperwhite, eBookWise-1150
|
Hi, long-time lurker, longer-time formatter, one-time poster. I haven't participated in the community much because everyone here is smarter than I am.
I'm posting for a little help on the EpubCheck plugin by Doitsu (v0.4.7.1) for Sigil. Sigil 2.7.0 Python 3.4 on 2.7. I'm almost exclusively EPUB2 because reasons. I format professionally and use Sigil almost every single day. I have changed nothing, and this just started happening in the last couple of weeks: Quote:
I have no idea how to fix this. I don't know Python and don't have time to learn it well enough to fix the code myself. My questions: 1. Is this something I can fix? 2. If so, how? I have Java. I don't know where to put the .jar. I can't find a urllib folder. 3. If not, is there another packaged epubcheck plugin for Sigil? I've looked, but I can't find one, but that's not saying much because my googlefu is suboptimal. I use pagina otherwise, but I really do miss the convenience of a one-click check. Thanks in advance! LizzieB/Moriah Jovan dba B10 Mediaworx |
|
|
|
|
|
|
#545 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,249
Karma: 6565382
Join Date: Nov 2009
Device: many
|
That error typically means the Python version you are using has missing or outdated web certificates which are used for secure communications on the internet. These certificates expire by a certain date in case they are ever compromised.
Python 3.4 is really really old so the certificates could just be outdated. Sigil plugins can work as far back as Python 3.4 but a much more modern and still supported version of Python is best. For example Sigil on Windows and MacOS ships with Python 3.13.2. So which platform are you using? If Linux, which variant? Did you build this version yourself or are you using the AppImage? The fix is possible .. upgrading Python, or adding in new certificates, or manually downloading the epubcheck jar file and installing it in the proper place in the plugin or plugin preferences folder which is inside your Sigil Preferences folder, or .. But knowing your platform will tell us the easiest fix. Last edited by KevinH; 01-15-2026 at 03:17 PM. |
|
|
|
|
|
#546 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 81,643
Karma: 150265991
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
|
|
|
|
|
#547 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,249
Karma: 6565382
Join Date: Nov 2009
Device: many
|
But Sigil 2.7.0 on Windows does not use Python 3.4? It uses its own embedded python which should not be an issue with web certificates so ....
Could this be a really early version of Windows 10 that needs to be updated? |
|
|
|
|
|
#548 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,778
Karma: 24088595
Join Date: Dec 2010
Device: Kindle PW2
|
The problem is most likely caused by an outdated external Python interpreter.
Is the Use Bundled Python option checked in Sigil? If not please enable it. Quote:
Code:
%localappdata%\sigil-ebook\sigil\plugins\EpubCheck Code:
https://github.com/w3c/epubcheck/releases/download/v5.3.0/epubcheck-5.3.0.zip Code:
%localappdata%\sigil-ebook\sigil\plugins_prefs\EpubCheck Code:
"github": false, "update_check": false, Last edited by Doitsu; Yesterday at 01:37 AM. |
|
|
|
|
|
|
#549 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29,033
Karma: 210162574
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I'm wondering if they're mistaking the Python3.4+ label in the plugin config dialog for their version of Python.
Also: OpenSSL version 3.0.15 is far, far newer than what would be being used by Python 3.4. Whatever else might be going on, I'm betting the Python being used is the bundled 3.13.2 that comes with the Sigil 2.7.0 Windows installer. Last edited by DiapDealer; 01-15-2026 at 08:03 PM. |
|
|
|
|
|
#550 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29,033
Karma: 210162574
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
urllib.request uses the operating system's certificate store. It's entirely possible that Windows 10's certificate store is no longer valid. We may need to look into configuring the Windows Sigil bundle to include (and use) the certifi module by default to keep plugins that use urllib.request working on Windows 10.
Anyone know if there is a manual workaround to updating Windows 10's certificates? EDIT: I realize that not being able to find epubcheck.jar might be the root cause here, but urllib.request not being able to get valid local certs from Windows 10 machines not getting any more updates should probably be addressed. And Jon: if you say one thing about updating to Windows 11, your posts in this thread will be deleted. Last edited by DiapDealer; 01-15-2026 at 09:12 PM. |
|
|
|
|
|
#551 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29,033
Karma: 210162574
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I was getting the same errors on my Windows 10 VM when running the EpubCheck plugin. But on subsequent attempts, it worked just fine. Not sure what's up there.
|
|
|
|
|
|
#552 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,249
Karma: 6565382
Join Date: Nov 2009
Device: many
|
FWIW, Mac has long included and used the certifi module and in the PluginRunner Dialog we explicitly set its path in this snippet. Should we be doing the same for Windows 10 (and 11)?
Code:
#ifdef Q_OS_MAC
// On Mac OS X, it appears that QProcess does not inherit the callers process environment at all
// which directly contradicts the Qt documentation.
// So we simply read the system environment and set it for QProcess manually
// so that python getpreferredencoding() and stdout/stderr/stdin encodings to get properly set
if (settings.useBundledInterp()) {
// determine path to site-packages/certifi/cacert.pem to set SSL_CERT_FILE
QDir exedir(QCoreApplication::applicationDirPath());
exedir.cdUp();
QString cert_path = exedir.absolutePath() + PYTHON_SITE_PACKAGES + "/certifi/cacert.pem";
env.insert("SSL_CERT_FILE", cert_path);
env.insert("QT_PLUGIN_PATH", QDir(QCoreApplication::applicationDirPath() + "/../PlugIns").absolutePath());
env.insert("QT_QPA_PLATFORM_PLUGIN_PATH", QDir(QCoreApplication::applicationDirPath() + "/../PlugIns/platforms").absolutePath());
}
Last edited by KevinH; 01-15-2026 at 10:40 PM. |
|
|
|
|
|
#553 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29,033
Karma: 210162574
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I believe I'm doing something similar for the Linux AppImage as well. Let me do some experimenting.
|
|
|
|
|
|
#554 | |
|
Elizabeth Beeton
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4
Karma: 100000
Join Date: May 2008
Location: Kansas City, MO
Device: iPad, Galaxy S22, Paperwhite, eBookWise-1150
|
Goodness! I didn't think my post posted AT ALL and I didn't want to rewrite all that, so I didn't, and went back to my problem. I just NOW got an email that it posted, so I came and found all this help. Thank you!!!
I actually solved it with close attention paid to the most excellent directions here: https://www.mobileread.com/forums/sh...d.php?t=248186 I also documented exactly what I did, so here's my readme that yes, does read like a kindergartner's book: Quote:
Then when Smashwords came online, I actually broke the meatgrinder. Twice. In the same weekend. That's how they figured out you couldn't upload HTML or RTF. And so I hung out my shingle. I've been using Sigil since almost the very beginning, and let me tell you. I am sooooooo happy to be able to do only ONE format now (not including PDF, which is typesetting, not markup). Self-publishing has come so far since I started (took a lot of heat for it too), but I know I can come back here and (probably) find the answer to any question I have. Thank you so much! PS Yes, I'm on Win10 and I intend to stay on it as long as I possibly can. As for Linux, I was thinking about building a Linux box way back in 2000, and still haven't done it. My husband did build me a Hackintosh a few years ago, but then Dan Poynter gave me one of his old MacBooks, so I used that when I had to upload to iBooks. |
|
|
|
|
|
|
#555 | |
|
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 74,755
Karma: 319000000
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
Quote:
|
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Plugin] PunctuationSmarten Sigil plugin | DiapDealer | Plugins | 156 | 11-22-2025 05:24 PM |
| [Plugin] KindleImport Sigil plugin | DiapDealer | Plugins | 187 | 07-04-2022 11:11 AM |
| Sigil Plugin Index | Thasaidon | Plugins | 0 | 10-04-2014 08:41 AM |
| FC and Sigil 0.5.3 ePUBcheck failure | Hitch | Sigil | 32 | 04-17-2012 03:56 AM |
| Web-based epubcheck upgraded to epubcheck 1.0.5 | kjk | ePub | 4 | 02-09-2010 10:53 PM |