|
|
#556 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29,860
Karma: 212614993
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I'm happy it's working for you now, but there is really no need to install Python. Sigil comes with its own bundled Python environment.
|
|
|
|
|
|
#557 |
|
Elizabeth Beeton
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5
Karma: 100000
Join Date: May 2008
Location: Kansas City, MO
Device: iPad, Galaxy S22, Paperwhite, eBookWise-1150
|
Yes, I knew that, and I've always had the "use bundled python" checked, which was why I couldn't figure out what changed and why it was no longer working.
|
|
|
|
|
|
#558 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29,860
Karma: 212614993
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I got the exact same error as you on my virtual Windows 10 machine when launching the EPubCheck plugin. It then began to work correctly with no changes made whatsoever. I suspect something else is going on that triggers the failure under the right conditions.
|
|
|
|
|
|
#559 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 332
Karma: 3200122
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
|
Probably unrelated, but I started getting an error re: missing distutils when using this plugin on MacOS. I thought it was an issue with the Mac’s python version, so was surprised to see I already had the Sigil python bundle checked. When I unchecked it, the plugin worked again.
Last edited by phillipgessert; 01-17-2026 at 02:59 PM. |
|
|
|
|
|
#560 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,933
Karma: 24259515
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Please check pugin.py for the following import: Code:
from pkg_resources import parse_version |
|
|
|
|
|
|
#561 | |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,146
Karma: 7640000
Join Date: Nov 2009
Device: many
|
And fwiw, according to Google:
Quote:
|
|
|
|
|
|
|
#562 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29,860
Karma: 212614993
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
That IS strange. The bundled Python is checked by default on new Windows, macOS, and Linux AppImage installations. So if nobody ever unchecks the box, they will be using the bundled Python (even after updates. What's surprising is that I've never heard of Sigil's bundled Python throwing distutils errors on macOS--with ANY plugin. You should not have to uncheck the Use Bundled Python setting to get the epubcheck plugin to work on maOS.
EDIT: Never mind, it looks like I took too long to prepare my post. Doitsu's post has probably nailed the issue/solution. Last edited by DiapDealer; 01-17-2026 at 03:52 PM. |
|
|
|
|
|
#563 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 332
Karma: 3200122
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
|
I'll update my version! Classic mistake.
|
|
|
|
|
|
#564 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,933
Karma: 24259515
Join Date: Dec 2010
Device: Kindle PW2
|
FYI: in the latest EPUBCheck release, the devs have added a new parameter that'll output all messages: --maxOfEachMessage
If you want to test this new parameter, open plugin.py search for: Code:
# display status message Code:
args.extend(['--maxOfEachMessage', 'unlimited'])
# display status message
You can test it with this epub file. Without the new parameter the plugin will output 71 messages. After adding the additional line, it'll output 3435 messages. |
|
|
|
|
|
#565 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,154
Karma: 12417943
Join Date: Mar 2013
Location: Germany
Device: Kobo Clara 2E, Tolino Shine 3
|
Error: Invalid version: '5.4.0-fix'
Linux Mint 22.3 Cinnamon, Sigil (AppImage) v. 2.8.1, Epubcheck v. 0.4.7.1.
I'm continuously using the plugin without issues, but recently I receive this message: Code:
Status: failed
Update wird gesucht...
Traceback (most recent call last):
File "/tmp/.mount_Sigil.OIPeJo/usr/share/sigil/plugin_launchers/python/launcher.py", line 142, in launch
self.exitcode = target_script.run(container)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^
File "/home/juergen/.local/share/sigil-ebook/sigil/plugins/EpubCheck/plugin.py", line 282, in run
if (latest_version and version) and (parse_version(latest_version) > parse_version(version)) or epc_files_not_found:
~~~~~~~~~~~~~^^^^^^^^^
File "/home/juergen/.local/share/sigil-ebook/sigil/plugins/EpubCheck/packaging/version.py", line 277, in __init__
raise InvalidVersion("Invalid version: '{0}'".format(version))
packaging.version.InvalidVersion: Invalid version: '5.4.0-fix'
Error: Invalid version: '5.4.0-fix'
|
|
|
|
|
|
#566 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 251
Karma: 364036
Join Date: Jul 2026
Location: Planet Earth
Device: Kobo Forma
|
Why not give epubveri a try?
Whether it’s a single book or hundreds—even thousands—of books, epubveri handles the task quickly. It is an EPUB validator written in pure Rust that is 100% compatible with epubcheck and adheres to standards. Sigil plugin: https://github.com/veripublica/epubv...g/sigil-v0.3.4 Sigil plugin forum thread: https://www.mobileread.com/forums/sh...d.php?t=374939 |
|
|
|
|
|
#567 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29,860
Karma: 212614993
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
"update_check": true, To "update_check": false, Until that unfortunate version number shakes itself out (or until Doitsu changes the plugin version checking code). Also... always make sure you're running the very latest version of the EpubCheck plugin itself. EDIT: I'm not seeing any "v5.4.0-fix" version for EpubCheck on their github page (the downloaded java program, not the Sigil plugin version). Not sure why/where that version would come from. Have you tried running the plugin again lately? Last edited by DiapDealer; 10-13-2026 at 11:04 AM. |
|
|
|
|
|
|
#568 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,933
Karma: 24259515
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Code:
<scm>
<connection>scm:git:ssh://git@github.com:w3c/epubcheck.git</connection>
<developerConnection>scm:git:ssh://git@github.com:w3c/epubcheckgit</developerConnection>
<url>https://github.com/w3c/epubcheck</url>
<tag>v5.4.0-fix</tag>
</scm>
I'll try to upload a fixed version tomorrow. @Leonatus Please disable the update check in the EpubCheck.json file. Code:
"github": false, "update_check": false, |
|
|
|
|
|
|
#569 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29,860
Karma: 212614993
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Oh, OK. So that's an internal version that's found within the epubcheck.jar itself then?
|
|
|
|
|
|
#570 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,154
Karma: 12417943
Join Date: Mar 2013
Location: Germany
Device: Kobo Clara 2E, Tolino Shine 3
|
With the mentioned settings disabled it works again.
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Plugin] PunctuationSmarten Sigil plugin | DiapDealer | Plugins | 173 | 03-06-2026 12:56 PM |
| [Plugin] KindleImport Sigil plugin | DiapDealer | Plugins | 187 | 07-04-2022 10:11 AM |
| Sigil Plugin Index | Thasaidon | Plugins | 0 | 10-04-2014 07:41 AM |
| FC and Sigil 0.5.3 ePUBcheck failure | Hitch | Sigil | 32 | 04-17-2012 02:56 AM |
| Web-based epubcheck upgraded to epubcheck 1.0.5 | kjk | ePub | 4 | 02-09-2010 09:53 PM |