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 11-28-2020, 04:00 AM   #376
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,060
Karma: 11391181
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
That was it! Thank you!
Leonatus is offline   Reply With Quote
Old 12-03-2020, 03:46 PM   #377
Ryn
Connoisseur
Ryn began at the beginning.
 
Posts: 55
Karma: 10
Join Date: Feb 2012
Device: none
Any older versions of the plugin still extant?

OSX, Sigil version 9.10 (yeah I like book view still).

I can't get this plugin to do what it's supposed to. Since updating the plugin, it does not show errors or warnings, even when I create epubs that shouldn't validate -- tags not closing, ids beginning with a digit, intra-book references that don't arrive at their destinations.

I even upgraded Sigil to its latest version to see whether that would have a better effect. But alas.

Perhaps it has something to do with my Mac running java version 1.7.0.67, whereas the OP states version 1.8 or higher is required. I have downloaded and installed version 8(?) but that does not seem to matter to my terminal's java, which stubbornly insists that it is still on 1.7.yadayada.

It's not the epubcheck jar that is giving me this headache, as I have tried multiple versions:
ePubCheck 3.0.1
ePubCheck 4.0.2
ePubCheck 4.1.0
ePubCheck 4.1.1

Well you get the picture.

I was completely fine with the old version of the plugin I used, which tried to update itself occasionally but always failed miserably, bless its heart. I could just get the epubcheck jar and lib folder updated from time to time, and not worry about the plugin itself.

Which leads me to my question, does anyone happen to have a plugin version 3.x somewhere lying around?

Last edited by Ryn; 12-03-2020 at 04:29 PM. Reason: epubcheck jar versions added
Ryn is offline   Reply With Quote
Advert
Old 12-03-2020, 04:17 PM   #378
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,856
Karma: 146918083
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Ryn View Post
OSX, Sigil version 9.10 (yeah I like book view still).

I can't get this plugin to do what it's supposed to. Since updating the plugin, it does not show errors or warnings, even when I create epubs that shouldn't validate -- tags not closing, ids beginning with a digit, etc, intra-book references that don't arrive at their destinations.

I even upgrade Sigil to its latest version to see whether that would have a better effect. But alas.

Perhaps it has something to do with my Mac running java version 1.7.0.67, whereas the OP states version 1.8 or higher is required. I have downloaded and installed version 8(?) but that does not seem to matter to my terminal's java, which stubbornly insists that it is firmly on 1.7.yadayada.

I was completely fine with the old version of the plugin I used, which tried to update itself occasionally but always failed miserably, bless its heart. I could just get the epubcheck jar and lib folder updated from time to time, and not worry about the plugin itself.

Which leads me to my question, does anyone happen to have a plugin version 3.x somewhere lying around? I'd be very grateful
If you are on a 64-bit Windows, if you have a 32-bit Java, uninstall it and install a 64-bit version. epubcheck works better with 64-bit Java.
JSWolf is offline   Reply With Quote
Old 12-03-2020, 04:35 PM   #379
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: 8,849
Karma: 6120478
Join Date: Nov 2009
Device: many
No old versions, but have you made sure to download and install the full java jdk and not the jre. The jre package never updates the path propetly. On macOS only the full jdk does that.

You might want to try that.


Quote:
Originally Posted by Ryn View Post
OSX, Sigil version 9.10 (yeah I like book view still).

I can't get this plugin to do what it's supposed to. Since updating the plugin, it does not show errors or warnings, even when I create epubs that shouldn't validate -- tags not closing, ids beginning with a digit, intra-book references that don't arrive at their destinations.

I even upgraded Sigil to its latest version to see whether that would have a better effect. But alas.

Perhaps it has something to do with my Mac running java version 1.7.0.67, whereas the OP states version 1.8 or higher is required. I have downloaded and installed version 8(?) but that does not seem to matter to my terminal's java, which stubbornly insists that it is still on 1.7.yadayada.

It's not the epubcheck jar that is giving me this headache, as I have tried multiple versions:
ePubCheck 3.0.1
ePubCheck 4.0.2
ePubCheck 4.1.0
ePubCheck 4.1.1

Well you get the picture.

I was completely fine with the old version of the plugin I used, which tried to update itself occasionally but always failed miserably, bless its heart. I could just get the epubcheck jar and lib folder updated from time to time, and not worry about the plugin itself.

Which leads me to my question, does anyone happen to have a plugin version 3.x somewhere lying around?
KevinH is offline   Reply With Quote
Old 12-03-2020, 04:51 PM   #380
Ryn
Connoisseur
Ryn began at the beginning.
 
Posts: 55
Karma: 10
Join Date: Feb 2012
Device: none
Quote:
Originally Posted by KevinH View Post
No old versions, but have you made sure to download and install the full java jdk and not the jre. The jre package never updates the path propetly. On macOS only the full jdk does that.

You might want to try that.
Thanks, I had the JRE, and have now installed the latest JDK - v15. Now it gives me error messages:

Edit: I found a way to install JDK 8, and told my system to favor that over v15, but it still gives me this error.

I am using a clean install of the plugin.

Code:
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.ExceptionInInitializerError
	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(AccessController.java:312)
	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:2310)
	at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1198)
	at java.base/java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:701)
	at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:240)
	at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:171)
	at java.base/java.util.jar.JarFile.<init>(JarFile.java:347)
	at java.base/java.util.jar.JarFile.<init>(JarFile.java:318)
	at java.base/java.util.jar.JarFile.<init>(JarFile.java:257)
	at java.base/sun.launcher.LauncherHelper.getMainClassFromJar(LauncherHelper.java:541)
	at java.base/sun.launcher.LauncherHelper.loadMainClass(LauncherHelper.java:767)
	at java.base/sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:675)
Caused by: java.lang.RuntimeException: default directory must be absolute
	at java.base/sun.nio.fs.UnixFileSystem.<init>(UnixFileSystem.java:53)
	at java.base/sun.nio.fs.BsdFileSystem.<init>(BsdFileSystem.java:41)
	at java.base/sun.nio.fs.MacOSXFileSystem.<init>(MacOSXFileSystem.java:42)
	at java.base/sun.nio.fs.MacOSXFileSystemProvider.newFileSystem(MacOSXFileSystemProvider.java:44)
	at java.base/sun.nio.fs.MacOSXFileSystemProvider.newFileSystem(MacOSXFileSystemProvider.java:37)
	at java.base/sun.nio.fs.UnixFileSystemProvider.<init>(UnixFileSystemProvider.java:55)
	at java.base/sun.nio.fs.BsdFileSystemProvider.<init>(BsdFileSystemProvider.java:36)
	at java.base/sun.nio.fs.MacOSXFileSystemProvider.<init>(MacOSXFileSystemProvider.java:39)
	at java.base/sun.nio.fs.DefaultFileSystemProvider.<clinit>(DefaultFileSystemProvider.java:35)
	... 18 more

Last edited by Ryn; 12-03-2020 at 05:25 PM. Reason: jdk 8 reference
Ryn is offline   Reply With Quote
Advert
Old 12-03-2020, 05:26 PM   #381
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: 8,849
Karma: 6120478
Join Date: Nov 2009
Device: many
Hmm, you might want to restart your machine. It can not find the main epubcheck routine in that jar for some reason.

Once restarted, open a terminal and launch the epubcheck.jar from the command line as described on the official epubcheck website and see what if any errors it produces.

Once you get it working from the command line, we should be able to get it working from the plugin since the plugin uses a sub process from the command line to handle things just in python.
KevinH is offline   Reply With Quote
Old 12-03-2020, 05:46 PM   #382
Ryn
Connoisseur
Ryn began at the beginning.
 
Posts: 55
Karma: 10
Join Date: Feb 2012
Device: none
Quote:
Originally Posted by KevinH View Post
Hmm, you might want to restart your machine. It can not find the main epubcheck routine in that jar for some reason.

Once restarted, open a terminal and launch the epubcheck.jar from the command line as described on the official epubcheck website and see what if any errors it produces.
Rebooted.

The command "java -jar epubcheck.jar" gives me:

Code:
Error: Unable to access jarfile epubcheck.jar
Ryn is offline   Reply With Quote
Old 12-03-2020, 05:54 PM   #383
Ryn
Connoisseur
Ryn began at the beginning.
 
Posts: 55
Karma: 10
Join Date: Feb 2012
Device: none
Found it; deleting the version 15 seems to have cleared the matter up. Thanks for your swift help Kevin!
Ryn is offline   Reply With Quote
Old 12-03-2020, 05:56 PM   #384
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: 8,849
Karma: 6120478
Join Date: Nov 2009
Device: many
Glad to hear you have it working.
KevinH is offline   Reply With Quote
Old 12-14-2020, 04:41 PM   #385
Magess
Member
Magess began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Dec 2020
Device: web
I just tried upgrading the plugin on MacOS and I now get a java error:

Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.ExceptionInInitializerError
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(Access Controller.java:310)
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.j ava:182)
at java.base/java.io.File.toPath(File.java:2290)
at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1160 )
at java.base/java.util.zip.ZipFile$CleanableResource.<init>(Zip File.java:719)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:239)
at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:169)
at java.base/java.util.jar.JarFile.<init>(JarFile.java:346)
at java.base/java.util.jar.JarFile.<init>(JarFile.java:317)
at java.base/java.util.jar.JarFile.<init>(JarFile.java:256)
at java.base/sun.launcher.LauncherHelper.getMainClassFromJar(La uncherHelper.java:521)
at java.base/sun.launcher.LauncherHelper.loadMainClass(Launcher Helper.java:747)
at java.base/sun.launcher.LauncherHelper.checkAndLoadMain(Launc herHelper.java:655)
Caused by: java.lang.RuntimeException: default directory must be absolute
at java.base/sun.nio.fs.UnixFileSystem.<init>(UnixFileSystem.ja va:53)
at java.base/sun.nio.fs.BsdFileSystem.<init>(BsdFileSystem.java :41)
at java.base/sun.nio.fs.MacOSXFileSystem.<init>(MacOSXFileSyste m.java:42)
at java.base/sun.nio.fs.MacOSXFileSystemProvider.newFileSystem( MacOSXFileSystemProvider.java:44)
at java.base/sun.nio.fs.MacOSXFileSystemProvider.newFileSystem( MacOSXFileSystemProvider.java:37)
at java.base/sun.nio.fs.UnixFileSystemProvider.<init>(UnixFileS ystemProvider.java:56)
at java.base/sun.nio.fs.BsdFileSystemProvider.<init>(BsdFileSys temProvider.java:36)
at java.base/sun.nio.fs.MacOSXFileSystemProvider.<init>(MacOSXF ileSystemProvider.java:39)
at java.base/sun.nio.fs.DefaultFileSystemProvider.<clinit>(Defa ultFileSystemProvider.java:35)

---
java version "12.0.1" 2019-04-16
Java(TM) SE Runtime Environment (build 12.0.1+12)
Java HotSpot(TM) 64-Bit Server VM (build 12.0.1+12, mixed mode, sharing)


I didn't change anything about the Java install between switching from one version of the plugin to the other. What do I do?
Magess is offline   Reply With Quote
Old 12-14-2020, 04:46 PM   #386
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: 8,849
Karma: 6120478
Join Date: Nov 2009
Device: many
Your error message is the same as Ryn's. So try their solution, ... installing a newer Java JDK and deleting the old jdk.
KevinH is offline   Reply With Quote
Old 12-14-2020, 04:54 PM   #387
Magess
Member
Magess began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Dec 2020
Device: web
I updated the JDK version to 15 and downloaded epubcheck 4.2.4 from w3c. The commandline works.
Magess is offline   Reply With Quote
Old 12-14-2020, 05:07 PM   #388
Magess
Member
Magess began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Dec 2020
Device: web
Quote:
Originally Posted by KevinH View Post
Your error message is the same as Ryn's. So try their solution, ... installing a newer Java JDK and deleting the old jdk.
I removed 12 and now have 15. I rebooted but still get the same error.

Running epubcheck from commandline still works.

Ryn seems to have used an older version, not a newer one. So I guess I should remove 15 and install 8?

Haha, well Oracle's site won't let me download 8, so I hope that's not the solution.

Last edited by Magess; 12-14-2020 at 05:11 PM.
Magess is offline   Reply With Quote
Old 12-14-2020, 06:08 PM   #389
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: 8,849
Karma: 6120478
Join Date: Nov 2009
Device: many
Are you sure you are installing the full JDK and not just the jre?
Only the Java JDK passake properly updates the path. You should then reboot after installing it.
KevinH is offline   Reply With Quote
Old 12-14-2020, 06:22 PM   #390
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: 28,651
Karma: 205022288
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
For some reason, the Java in JDK 15 cannot determine the file system in use (when run from within the Sigil environment). Something in the latest Java might have changed that's causing permission issues when run within Sigil's python plugin-created environment. I can duplicate the problem in a Mojave VM with the latest JDK installed.
DiapDealer is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 04:26 PM.


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