11-28-2022, 08:24 AM | #451 | |
Groupie
Posts: 177
Karma: 10
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6
|
update for flatpak users of Sigil on Linux
Before getting too involved in making my own build - although I did look at DiapDealer's remarkably clear instructions - I made a visit to the Sigil flatpak's github site.
I posted an 'issue' about the matter of difficulty for the plugin to get in touch with java. I also mentioned ODTimport which also needs java. Overnight, this issue has been taken into account with an update pushed. The Readme has also been updated to state : Quote:
I havn't yet had a chance to retry ODTimport - but I am optimistic. Last edited by philja; 11-28-2022 at 08:37 AM. Reason: accidental post of duplicate of preceding, and typo |
|
11-28-2022, 08:35 AM | #452 |
Grand Sorcerer
Posts: 28,044
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
|
Advert | |
|
11-28-2022, 08:53 AM | #453 |
Groupie
Posts: 177
Karma: 10
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6
|
Thanks for that offer, DiapDealer. I'll keep it in mind for possible future needs. But for the moment, the flatpak issue has been solved and Sigil and EpubCheck are now working fine as a flatpak - see my post above.
Last edited by philja; 11-28-2022 at 08:54 AM. Reason: typos |
12-16-2022, 12:30 PM | #454 |
Zealot
Posts: 100
Karma: 1204
Join Date: Jun 2012
Device: Bookari (née Mantano Reader) on Android; Kindle Fire HD
|
Sigil 1.9.20 built from source on Xubuntu 22.10; Qt 5.15.6. testplugin_v019.zip works with all tests passed. Java installed:
Code:
$ java --version openjdk 11.0.17 2022-10-18 OpenJDK Runtime Environment (build 11.0.17+8-post-Ubuntu-1ubuntu2) OpenJDK 64-Bit Server VM (build 11.0.17+8-post-Ubuntu-1ubuntu2, mixed mode, sharing) Code:
Status: failed Running update check... *** PYTHON ERROR *** SSL version: OpenSSL 3.0.5 5 Jul 2022 An exception of type HTTPError occurred. Arguments: () Version not found. |
12-16-2022, 01:46 PM | #455 | |
Grand Sorcerer
Posts: 5,640
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Code:
"github": false,
Try the following: Open a terminal, enter python and hit Enter. Then paste the following commands Code:
from urllib.request import urlopen github_url = 'https://api.github.com/repos/w3c/epubcheck/releases' response = urlopen(github_url).read().decode('utf-8') Code:
href = 'https://www.mobileread.com/forums/showpost.php?p=2950625&postcount=1' response = urlopen(href).read().decode('utf-8', 'ignore') Last edited by Doitsu; 12-17-2022 at 08:54 AM. |
|
Advert | |
|
02-03-2023, 03:04 AM | #456 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
Java error using ePub check plugin
Hi
When I try to check an ePub with the plugin, I get this message: Code:
Statut : failed Vérification de la mise à jour ignorée : Pas d’accès Internet. EPUBCheck 4.2.5 en cours d'exécution ... veuillez patienter. Erreur de java. Error: A JNI error has occurred, please check your installation and try again Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-11-openjdk/lib/libnio.so: /usr/lib/jvm/java-11-openjdk/lib/libnio.so: undefined symbol: reuseport_available at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method) at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2445) at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2501) at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2700) at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2651) at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:830) at java.base/java.lang.System.loadLibrary(System.java:1873) at java.base/sun.nio.fs.UnixNativeDispatcher$1.run(UnixNativeDispatcher.java:621) at java.base/sun.nio.fs.UnixNativeDispatcher$1.run(UnixNativeDispatcher.java:619) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/sun.nio.fs.UnixNativeDispatcher.<clinit>(UnixNativeDispatcher.java:619) at java.base/sun.nio.fs.UnixFileSystem.<init>(UnixFileSystem.java:65) at java.base/sun.nio.fs.LinuxFileSystem.<init>(LinuxFileSystem.java:39) at java.base/sun.nio.fs.LinuxFileSystemProvider.newFileSystem(LinuxFileSystemProvider.java:46) at java.base/sun.nio.fs.LinuxFileSystemProvider.newFileSystem(LinuxFileSystemProvider.java:39) at java.base/sun.nio.fs.UnixFileSystemProvider.<init>(UnixFileSystemProvider.java:56) at java.base/sun.nio.fs.LinuxFileSystemProvider.<init>(LinuxFileSystemProvider.java:41) at java.base/sun.nio.fs.DefaultFileSystemProvider.<clinit>(DefaultFileSystemProvider.java:35) at java.base/java.nio.file.FileSystems$DefaultFileSystemHolder.getDefaultProvider(FileSystems.java:113) at java.base/java.nio.file.FileSystems$DefaultFileSystemHolder$1.run(FileSystems.java:102) at java.base/java.nio.file.FileSystems$DefaultFileSystemHolder$1.run(FileSystems.java:100) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.nio.file.FileSystems$DefaultFileSystemHolder.defaultFileSystem(FileSystems.java:100) at java.base/java.nio.file.FileSystems$DefaultFileSystemHolder.<clinit>(FileSystems.java:94) at java.base/java.nio.file.FileSystems.getDefault(FileSystems.java:182) at java.base/java.io.File.toPath(File.java:2329) at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1259) at java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:733) at java.base/java.util.zip.ZipFile$CleanableResource.get(ZipFile.java:850) at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:248) at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:177) at java.base/java.util.jar.JarFile.<init>(JarFile.java:350) at java.base/java.util.jar.JarFile.<init>(JarFile.java:321) at java.base/java.util.jar.JarFile.<init>(JarFile.java:260) at java.base/sun.launcher.LauncherHelper.getMainClassFromJar(LauncherHelper.java:552) at java.base/sun.launcher.LauncherHelper.loadMainClass(LauncherHelper.java:778) at java.base/sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:686) Code:
[roger@roger-lenovo ~]$ java --version openjdk 11.0.18 2023-01-17 OpenJDK Runtime Environment (build 11.0.18+10) OpenJDK 64-Bit Server VM (build 11.0.18+10, mixed mode) |
02-03-2023, 04:27 AM | #457 |
Grand Sorcerer
Posts: 5,640
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
|
It's an Arch Linux JRE bug.
You'll need to downgrade JRE to the previous version. If you haven't already done so, install the downgrade package. Then run the following commands and select 19.0.1.u10 /var/cache/pacman/pkg: sudo downgrade jre-openjdk-headless sudo downgrade jre-openjdk |
02-03-2023, 06:34 AM | #458 |
Wizard
Posts: 2,608
Karma: 3000161
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
|
thank you |
02-10-2023, 07:05 AM | #459 |
Junior Member
Posts: 8
Karma: 10
Join Date: May 2012
Location: Oxford, United Kingdom
Device: none
|
Unable to install epubcheck sigil plugin v5.0.0
I have python and java installed (have checked in cmd prompt), have tried using both bundled and path python. I'm trying to install the .zip in Sigil version 1.9.20. But Sigil keeps giving me the same message: Error: Plugin not a valid Sigil plugin. Is this a bug, or there something I am not doing? |
02-10-2023, 07:23 AM | #460 |
Grand Sorcerer
Posts: 28,044
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
You (or a download manager) have probably inadvertently renamed the plugin's zip file. The file name matters. Either that or you (or the OS) have mistakenly unzipped the plugin.
|
02-10-2023, 07:45 AM | #461 |
Junior Member
Posts: 8
Karma: 10
Join Date: May 2012
Location: Oxford, United Kingdom
Device: none
|
Hi DiapDealer
The filename I have is epubcheck-5.0.0.zip - is that correct? I've also tried with epubcheck-4.2.6.zip and get the same result. |
02-10-2023, 08:47 AM | #462 |
Grand Sorcerer
Posts: 5,640
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
|
You'll need to download the plugin .zip file attached to the first post in this thread (EpubCheck_v0.4.6.3.zip).
If you try to install the .zip files from the W3C EPUBCheck Github releases download page, you'll get an error message. |
02-10-2023, 09:27 AM | #463 |
Junior Member
Posts: 8
Karma: 10
Join Date: May 2012
Location: Oxford, United Kingdom
Device: none
|
Ah okay. I clearly did not look hard enough. Maybe a note about it being an attachment to the post could be added at the top - there is so much information about other things before reaching the attachment itself.
I have now installed it successfully, and it appears to run, but then... no visible result is given. Using a screen recorder I was able to capture the information that flashed up for a split second: Running EPUBCheck 5.0.0 ... please wait. < ?xml version= "1.0" encoding= "UTF-8"?> <wrapper type= "valid ation"> < result> success</ result> <changes> </changes> <msg> Running E_pUBCheck 5.0.0 ... please wait. </msg> </wrapper> Is this the expected behaviour? It seems to happen with any file, including ones I would not expect to pass validation. |
02-10-2023, 09:52 AM | #464 | |
Grand Sorcerer
Posts: 5,640
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
To test that the plugin works, create a new epub2 book. Then delete the closing </p> tag in Section0001.xhtml and run the plugin. Spoiler:
You should get the following error message: Col: 3: FATAL(RSC-016): Fatal Error while parsing file: The element type "p" must be terminated by the matching end-tag "</p>". |
|
02-10-2023, 10:41 AM | #465 |
Junior Member
Posts: 8
Karma: 10
Join Date: May 2012
Location: Oxford, United Kingdom
Device: none
|
Thanks - yes it works perfectly.
I am trying to make accessible epubs, so yes, probably more picky! I see now that the result appears in the Validation Results window/tab. I had already run the "Well-Formed Check EPUB" (F7), so the Message "No Problems Found" was there and did not change, making it appear that nothing had happened. Many thanks for your help. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Plugin] PunctuationSmarten Sigil plugin | DiapDealer | Plugins | 138 | 07-11-2023 12:22 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 |