Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 01-16-2026, 06:23 AM   #556
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 29,858
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.
DiapDealer is offline   Reply With Quote
Old 01-16-2026, 12:01 PM   #557
B10Mediaworx
Elizabeth Beeton
B10Mediaworx rocks like Gibraltar!B10Mediaworx rocks like Gibraltar!B10Mediaworx rocks like Gibraltar!B10Mediaworx rocks like Gibraltar!B10Mediaworx rocks like Gibraltar!B10Mediaworx rocks like Gibraltar!B10Mediaworx rocks like Gibraltar!B10Mediaworx rocks like Gibraltar!B10Mediaworx rocks like Gibraltar!B10Mediaworx rocks like Gibraltar!B10Mediaworx rocks like Gibraltar!
 
B10Mediaworx's Avatar
 
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.
B10Mediaworx is offline   Reply With Quote
Old 01-17-2026, 10:52 AM   #558
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 29,858
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.
DiapDealer is offline   Reply With Quote
Old 01-17-2026, 02:56 PM   #559
phillipgessert
Addict
phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.
 
phillipgessert's Avatar
 
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.
phillipgessert is offline   Reply With Quote
Old 01-17-2026, 03:17 PM   #560
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,933
Karma: 24259515
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by phillipgessert View Post
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.
An older plugin version used pkg_resources for parsing version numbers.
Please check pugin.py for the following import:

Code:
from pkg_resources import parse_version
If it's not commented out you're using an older plugin version.
Doitsu is offline   Reply With Quote
Old 01-17-2026, 03:19 PM   #561
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 10,146
Karma: 7640000
Join Date: Nov 2009
Device: many
And fwiw, according to Google:

Quote:
The distutils package was the original standard library module in Python for building and installing other Python modules and extensions. However, it has been deprecated since Python 3.10 and was completely removed in Python 3.12 in favor of modern packaging tools like setuptools.
So the bundled Python for Mac and Windows is version 3.13 and will not have distutils.
KevinH is offline   Reply With Quote
Old 01-17-2026, 03:50 PM   #562
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 29,858
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.
DiapDealer is offline   Reply With Quote
Old 01-17-2026, 04:03 PM   #563
phillipgessert
Addict
phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.
 
phillipgessert's Avatar
 
Posts: 332
Karma: 3200122
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
I'll update my version! Classic mistake.
phillipgessert is offline   Reply With Quote
Old 09-18-2026, 12:47 PM   #564
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
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
and change it to:


Code:
    args.extend(['--maxOfEachMessage', 'unlimited'])

    # display status message
(There need to be exactly 4 spaces before the new line.)

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.
Doitsu is offline   Reply With Quote
Old 10-13-2026, 03:32 AM   #565
Leonatus
Wizard
Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.
 
Leonatus's Avatar
 
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'
What should I do, please?
Leonatus is offline   Reply With Quote
Old 10-13-2026, 05:11 AM   #566
Kayadelenium
Addict
Kayadelenium ought to be getting tired of karma fortunes by now.Kayadelenium ought to be getting tired of karma fortunes by now.Kayadelenium ought to be getting tired of karma fortunes by now.Kayadelenium ought to be getting tired of karma fortunes by now.Kayadelenium ought to be getting tired of karma fortunes by now.Kayadelenium ought to be getting tired of karma fortunes by now.Kayadelenium ought to be getting tired of karma fortunes by now.Kayadelenium ought to be getting tired of karma fortunes by now.Kayadelenium ought to be getting tired of karma fortunes by now.Kayadelenium ought to be getting tired of karma fortunes by now.Kayadelenium ought to be getting tired of karma fortunes by now.
 
Kayadelenium's Avatar
 
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
Kayadelenium is offline   Reply With Quote
Old 10-13-2026, 06:26 AM   #567
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 29,858
Karma: 212614993
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by Leonatus View Post
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'
What should I do, please?
Looks like some version checking math failing on a weird returned version with text in it. In the preferences .json file, change

"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.
DiapDealer is offline   Reply With Quote
Old 10-13-2026, 12:12 PM   #568
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,933
Karma: 24259515
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by DiapDealer View Post
.0-fix" version for EpubCheck on their github page (the downloaded java program, not the Sigil plugin version).
That weird version number comes from my obviously inadequate version checking code. It searches for the version number in META-INF/maven/org.w3c/epubcheck/pom.xml

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,
Doitsu is offline   Reply With Quote
Old 10-13-2026, 02:06 PM   #569
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 29,858
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?
DiapDealer is offline   Reply With Quote
Old 10-14-2026, 09:34 AM   #570
Leonatus
Wizard
Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.
 
Leonatus's Avatar
 
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.
Leonatus is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 05:01 AM.


MobileRead.com is a privately owned, operated and funded community.