![]() |
#346 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,844
Karma: 6120478
Join Date: Nov 2009
Device: many
|
According to your log, epubcheck ran to completion and found a bunch of empty "id" attributes. It also found some missing files and missing targets fragment. So the parsing of the epubcheck output must be an issue but what looks so strange here are the file paths have path joiner set to "." instead of the normal "/" character. I am not sure if that is the issue or not but since file extensions and "." are allowed in file names and directory names, it will cause serious issues when trying to parse a path.
|
![]() |
![]() |
![]() |
#347 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,844
Karma: 6120478
Join Date: Nov 2009
Device: many
|
Okay, I took a look at the plugin.py code and this appears to be expected behaviour that results from a bug when a python subprocess is used to run a java command line program on macOSX.
My guess is the subprocess is not capturing any of the environment variable settings so no locale is detected and no java Properties are set (specifically the file.separator property). Or they try to lower case the os.name but without a Locale set in the environment it fails. So my guess is your Sigil or temp path or book path has a "." someplace in the path that is confusing the workaround (perhaps here: "epub3-v4.1") This is all a guess. Perhaps adding a -Dos.name="Mac OS X" to the java command line of epubcheck on macOS may help prevent the need for the workaround. Doitsu, I would be happy to test that for you if you decide to try that approach. Last edited by KevinH; 08-23-2020 at 08:32 PM. Reason: " |
![]() |
![]() |
Advert | |
|
![]() |
#348 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,736
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Since I don't have access to a Mac right now, KevinH had a look at my code and updated it to make the macOS message parser more robust. Please download the new version and give it a try. Last edited by Doitsu; 08-24-2020 at 04:21 PM. |
|
![]() |
![]() |
![]() |
#349 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Sep 2020
Device: Kindle Paperwhite
|
Error: Plugin not a valid sigil plugin
I have the latest Sigil 1.30 and Java 64bit running on my Windows 10 64bit machine. I am unable to install epubcheck 4.2.4 or any earlier version. I get "Error: Plugin not a valid sigil plugin".
In Command I checked that java is installed. I tried installing the plugin from my desktop, not Downloads. However when I try "python -V" nothing shows. Python is supposed to be bundled with Sigil and it says it is in the manage plugin area "python 3.4". Please advise. I used your epubcheck program in the past and it is great. However, I updated to a new computer and cannot install it! Thanks! |
![]() |
![]() |
![]() |
#350 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,613
Karma: 169712392
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Do you have the "Use Bundled Python" checkbox checked? If not, have you browsed to the python executable where ever it is installed on your computer using the Set button? Please note that unless you open a command prompt in the Sigil install directory, python3 -V will not work to check the bundled Python version since the Sigil directory is not added to the path. Does your download match the following: Code:
Name: EpubCheck_v0.4.5.zip Size: 12038818 bytes (11 MiB) SHA256: 79B7B0113C098AB2A8FD84CCCAB844C90D40F7FE7CB295D58C74D4630E5529A7 |
|
![]() |
![]() |
Advert | |
|
![]() |
#351 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,645
Karma: 204624552
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
As already mentioned: make sure you're not unzipping or renaming the downloaded plugin. And make sure no browser download helpers are unzipping/renaming them for you.
|
![]() |
![]() |
![]() |
#352 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Sep 2020
Device: Kindle Paperwhite
|
Thank you !!! ver. 4.2.5 worked, the others do not. Very grateful!
BTW, yes, had the bundle checked and only loading in a zip. Cakeman |
![]() |
![]() |
![]() |
#353 |
Bookmaker
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 427
Karma: 2143650
Join Date: Sep 2010
Device: Cybook Opus
|
Hm, lately the plugin for Sigil and Calibre both keeps telling me it can't find the file specified, which research indicates is a Java problem. I reinstalled Java, which got it working for an hour or so before it started throwing the same error again.
|
![]() |
![]() |
![]() |
#354 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,736
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
BTW, if you know the exact location of the Java executable, you can specify it via the java_path entry in the EpubCheck.json file. (Obviously, the Java path on your machine will be different.) Code:
"java_path": "C:\\Program Files\\Java\\jre1.8.0_191\\bin\\java.exe", |
|
![]() |
![]() |
![]() |
#355 | |
Bookmaker
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 427
Karma: 2143650
Join Date: Sep 2010
Device: Cybook Opus
|
Quote:
ERROR: Unhandled exception: <b>FileNotFoundError</b>:[WinError 2] The system cannot find the file specified calibre 5.0.1 [64bit] embedded-python: True is64bit: True Windows-10-10.0.19041-SP0 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.19041') Python 3.8.5 Windows: ('10', '10.0.19041', 'SP0', 'Multiprocessor Free') Interface language: None Successfully initialized third party plugins: EpubCheck (0, 2, 3) && Kobo Utilities (2, 11, 5) && KoboTouchExtended (3, 2, 15) && Modify ePub (1, 4, 1) Traceback (most recent call last): File "calibre_plugins.epub_check.main", line 401, in ask_user File "calibre_plugins.epub_check.main", line 113, in jarWrapper File "subprocess.py", line 854, in __init__ File "subprocess.py", line 1307, in _execute_child FileNotFoundError: [WinError 2] The system cannot find the file specified |
|
![]() |
![]() |
![]() |
#356 |
Bookmaker
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 427
Karma: 2143650
Join Date: Sep 2010
Device: Cybook Opus
|
Specifying the java path in the JSON has gotten it to work for now, anyway.
|
![]() |
![]() |
![]() |
#357 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,613
Karma: 169712392
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
After an update to Java 8 update 271 on Windows 10 x64, I started getting the same error as @Rand Brittain. The java path workaround fixed the issue. I did notice the Java path in the environment was still showing the old version's path.
Last edited by DNSB; 10-31-2020 at 11:54 AM. |
![]() |
![]() |
![]() |
#358 | |
Running with scissors
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,589
Karma: 14328510
Join Date: Nov 2019
Device: none
|
Quote:
On my system for some time now Oracle has been installing a Windows symbolic hard link (?) to the current java version. In the System (not user) environment variables in the PATH environment variable it added C:\Program Files (x86)\Common Files\Oracle\Java\javapath which is a symbolic hard linked folder. The icon for that looks like a Windows shortcut but when you open its properties you don't get the usual properties window for a shortcut. I don't remember how I determined that it's a symbolic hard link, which are rarely seen (in my experience) on Windows. (Hard links appear to be an obscure and not well publicized feature of NTFS. Allowing multiple named data streams in files is another one.) So if you use that in your PATH you shouldn't need to keep updating your PATH when new versions are installed. I installed the 64 bit version of Java and I'm guessing that the x86 in the above is something to make everyone happy, including x86 things. I'm wondering why you guys aren't getting this slightly convoluted wrapper for the java path. Maybe if you had it with the explicit path the installer keeps using that and I got the new method when I rebuilt my system. Edit: fix link type. Last edited by hobnail; 10-31-2020 at 02:08 PM. |
|
![]() |
![]() |
![]() |
#359 | |
Hedge Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 802
Karma: 19999999
Join Date: May 2011
Location: UK/Philippines
Device: Kobo Touch, Nook Simple
|
Hi Doitsu
I recently upgraded to Calibre 5.4 on Windows 10 Enterprise and am running Sigil 1.1.0 This last couple of days I have been getting the following error message when I have run ePubCheck in Sigil. N.B. I ca run ePubCheck in Calibre Editor without problems. Quote:
|
|
![]() |
![]() |
![]() |
#360 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,736
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
|
You'll have to manually specify the java.exe path.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Plugin] PunctuationSmarten Sigil plugin | DiapDealer | Plugins | 143 | 07-30-2025 06:58 AM |
[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 |