![]() |
#436 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,878
Karma: 5449552
Join Date: Nov 2009
Device: many
|
My guess (and this is just a guess) is that your version of Sigil is too old for the newest epubcheck 4.6.2. If 0.4.5 catches no errors, and the commandline version reports no errors. Your epub is clean.
|
![]() |
![]() |
![]() |
#437 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,626
Karma: 23190435
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Code:
bk.add_result('error', path, None, _('*** Internal error. bk.readfile() failed for: ') + filename) Code:
pass |
|
![]() |
![]() |
Advert | |
|
![]() |
#438 |
mostly an observer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,515
Karma: 987654
Join Date: Dec 2012
Device: Kindle
|
Thanks for the plug-in, but even more, thanks for the clear instructions!
|
![]() |
![]() |
![]() |
#439 | |
Zealot
![]() Posts: 136
Karma: 10
Join Date: Nov 2015
Location: Europe EEC
Device: none
|
Quote:
I expect the new UbuntuStudio 22.04 LTS will be available in a few weeks' time and hopefully it will have a newer version of Sigil. |
|
![]() |
![]() |
![]() |
#440 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,718
Karma: 196949708
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Unfortunately, it's also possible that Sigil 1.9.2 might not get updated for the 5 years Ubuntu 22.04 is supported. |
|
![]() |
![]() |
Advert | |
|
![]() |
#441 | |
Member
![]() Posts: 22
Karma: 10
Join Date: Sep 2020
Device: Kindle Paperwhite
|
Quote:
Windows 10 Sigil 1.9.20 Epubcheck 0.4.6.2 Java java version "1.8.0_351" Java(TM) SE Runtime Environment (build 1.8.0_351-b10) Java HotSpot(TM) Client VM (build 25.351-b10, mixed mode) and i also modified epubcheck.json and put false in github line |
|
![]() |
![]() |
![]() |
#442 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,878
Karma: 5449552
Join Date: Nov 2009
Device: many
|
What exactly was your error message?
|
![]() |
![]() |
![]() |
#443 |
Member
![]() Posts: 22
Karma: 10
Join Date: Sep 2020
Device: Kindle Paperwhite
|
Estado: failed
Traceback (most recent call last): File "C:\Program Files\Sigil\plugin_launchers\python\launcher.py", line 142, in launch self.exitcode = target_script.run(container) File "C:\Users\server\AppData\Local\sigil-ebook\sigil\plugins\EpubCheck\plugin.py", line 250, in run arch = get_arch(java_path) File "C:\Users\server\AppData\Local\sigil-ebook\sigil\plugins\EpubCheck\plugin.py", line 36, in get_arch _, stderr = jar_wrapper(*args) File "C:\Users\server\AppData\Local\sigil-ebook\sigil\plugins\EpubCheck\plugin.py", line 56, in jar_wrapper process = Popen(args, stdout=PIPE, stderr=PIPE, shell=False) File "subprocess.py", line 951, in __init__ File "subprocess.py", line 1420, in _execute_child FileNotFoundError: [WinError 2] El sistema no puede encontrar el archivo especificado Error: [WinError 2] El sistema no puede encontrar el archivo especificado |
![]() |
![]() |
![]() |
#444 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,878
Karma: 5449552
Join Date: Nov 2009
Device: many
|
Have you properly installed 64 bit java on your system and added it so it can be found in your path? The epubcheck plugin requires you install java since epubcheck itself is written in java and it must be added to your system path so that it can be found and launched or its path must be properly added to the epubcjheck plugin json settings file.
Last edited by KevinH; 11-23-2022 at 10:19 AM. |
![]() |
![]() |
![]() |
#445 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,272
Karma: 133361584
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
epubcheck does not work with 32-bit java.
|
![]() |
![]() |
![]() |
#446 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,626
Karma: 23190435
Join Date: Dec 2010
Device: Kindle PW2
|
That error message is usually shown if the Java binary can't be found.
If you open a command prompt window and enter Code:
java -version For more information see the trouble-shooting section at the end of the first post. You can also add a custom Java path to EpubCheck.json. For example: Code:
"java_path": "C:/Program Files/Eclipse Adoptium/jdk-17.0.5.8-hotspot/bin/java.exe", Code:
"java_path": "C:\\Program Files\\Eclipse Adoptium\\jdk-17.0.5.8-hotspot\\bin\\java.exe", |
![]() |
![]() |
![]() |
#447 | ||
Zealot
![]() Posts: 136
Karma: 10
Join Date: Nov 2015
Location: Europe EEC
Device: none
|
similar problem to killo3967
I was overjoyed at discovering on the Sigil website that Linux users could install a flatpack version of Sigil which would enable them to stay up to date. So when I moved up to UbuntuStudio 22.04LTS (with KDE Plasma desktop), I installed said flatpack version Sigil 1.9.20 which works fine except for the EpubCheck plugin.
Running epubcheck on my file gives the failure message: Quote:
Quote:
I've tried editing the "java_path" line in the EpubCheck.json file to: "java_path": "/usr/bin/java" and to several variations - I tracked down the ultimate java executable at the end of links to: /lib/jvm/java-18-openjdk-amd64/bin/java and tried using that in the java_path variable but all I achieved was to alter the value of the 'No such file or directory' statement at the end of the failure message. The epubcheck.jar file in my flatpack installation is located in this directory: ~/.var/app/com.sigil_ebook.Sigil/data/sigil-ebook/sigil/plugins/EpubCheck/ If I open a terminal in there and run "java -jar epubcheck.jar ~/Desktop/myebook.epub", it completes the check with an appropriate series of messages. I expect my problem is complicated by the use of a flatpack version but I would be grateful for any help in correcting it. |
||
![]() |
![]() |
![]() |
#448 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,626
Karma: 23190435
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
IMHO, thanks to DiapDealer's fool-proof build instructions, installing Sigil form source is the easiest solution. All you have to do is create a build folder and copy and paste a couple of ready-made commands. (No Linux skills other than creating/changing a directory are required.) |
|
![]() |
![]() |
![]() |
#449 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,718
Karma: 196949708
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Plugins that need to use external binaries (such as java) are not likely to work with the Flatpak version of Sigil.
EDIT: as Doitsu already mentioned. |
![]() |
![]() |
![]() |
#450 |
Zealot
![]() Posts: 136
Karma: 10
Join Date: Nov 2015
Location: Europe EEC
Device: none
|
Thanks, Doitsu and DiapDealer, for the prompt replies.
I suspected as much and that surprises me since I had thought the objectives of snap and flatpack packages included the idea that all necessary baggage was to be included. I guess they hadn't anticipated that some plugins with additional requirements might be used. I'll have a look at "DiapDealer's fool-proof build instructions". |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Plugin] PunctuationSmarten Sigil plugin | DiapDealer | Plugins | 138 | 07-11-2023 11:22 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 |