|
|
#91 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,129
Karma: 12246865
Join Date: Mar 2013
Location: Germany
Device: Kobo Clara 2E, Tolino Shine 3
|
I have downgraded to the desktop version 5.8, and now, everything seems to work well again, as it did before. I only had thought it to be good to upgrade if possible.
Thank you all for the support! Again, there was something to be learnt! |
|
|
|
|
|
#92 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 52,414
Karma: 180944990
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
While I prefer to upgrade when new versions become available, there are some good arguments for the "if it ain't broken, don't fix it" side.
|
|
|
|
|
|
#93 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,129
Karma: 12246865
Join Date: Mar 2013
Location: Germany
Device: Kobo Clara 2E, Tolino Shine 3
|
I now tried to upgrade the desktop version of LanguageTool to 6.6, the LanguageTool beeing 0.4.3. Sigil v. 2.5.2, Windows 10, 64 bit. I changed the entries in the .json file to the respective folder of the LanguageTool 6.6.
Before running the tool, I updated the Java version to 8, update 451. But then, I got the message: Code:
Status: failed Working on chapter.xhtml... EPUBCheck Java error. Exception in thread "main" java.lang.UnsupportedClassVersionError: org/languagetool/commandline/Main has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source) |
|
|
|
|
|
#94 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,830
Karma: 24222221
Join Date: Dec 2010
Device: Kindle PW2
|
LanguageTool 6.6 requires Java 17 or higher.
Either downgrade LanguageTool to version 6.5 or install Java 17 or higher. I installed java 21.0.7 2025-04-15 LTS, which works fine with LanguageTool and EPUBCheck. The latest version, JDK 24, should also work, but I haven't tested it. |
|
|
|
|
|
#95 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,129
Karma: 12246865
Join Date: Mar 2013
Location: Germany
Device: Kobo Clara 2E, Tolino Shine 3
|
Thank you! I installed JDK 24.01 and upgraded to LangugageTool 0.4.6, what I have been missing before, and now everything works well. The reason why I had installed the above mentioned Java version is that the link in #1 points to this one.
By the way: In the LanguageTool.json I set Code:
"clipboard_copy": true, |
|
|
|
|
|
#96 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,830
Karma: 24222221
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
BTW, the latest version is actually, LanguageToolQt_v0.5.0.zip, which has some improvements over LangugageTool 0.4.6. Unless you're using a very old Sigil version you might want to install and use that version. (By "old version" I mean Sigil 0.9.6 or older. The plugin has been tested with Sigil 0.9.8 and higher.) Last edited by Doitsu; 06-24-2025 at 03:49 PM. |
|
|
|
|
|
|
#97 | ||
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,129
Karma: 12246865
Join Date: Mar 2013
Location: Germany
Device: Kobo Clara 2E, Tolino Shine 3
|
Quote:
Quote:
Thank you very much anyway! |
||
|
|
|
|
|
#98 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,129
Karma: 12246865
Join Date: Mar 2013
Location: Germany
Device: Kobo Clara 2E, Tolino Shine 3
|
Ahem, a new problem: when I run the LanguageToolQt, I'm impelled to choose the LanguageTool Java file. It opens the C: root and the Program files directory with several folders, but none of them seems to contain the respective file.
./.Sorry, please ignore the post: I saw that it was only looking for the languagetoll-commandline.jar that is contained in LanguageToool 6.6.! Everything allright! Last edited by Leonatus; 06-25-2025 at 03:13 AM. |
|
|
|
|
|
#99 |
|
Zealot
![]() Posts: 112
Karma: 10
Join Date: Aug 2018
Location: New Jersey
Device: Samsung Tab E nook
|
Status: failed
Hello again,
I have Sigial 2.76 on a windows 11 desktop and have just downloaded Language tool and your plugin. When I run the validation I get the following: Status: failed Language code used: en Working on Section0001.xhtml... Traceback (most recent call last): File "C:\Users\brent\AppData\Local\Programs\Sigil\plugi n_launchers\python\launcher.py", line 142, in launch self.exitcode = target_script.run(container) ~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "C:\Users\brent\AppData\Local\sigil-ebook\sigil\plugins\LanguageToolQt\plugin.py", line 592, in run result, returncode = ltWrapper(*run_args) ~~~~~~~~~^^^^^^^^^^^ File "C:\Users\brent\AppData\Local\sigil-ebook\sigil\plugins\LanguageToolQt\plugin.py", line 101, in ltWrapper process = subprocess.Popen(list(args), stdout=subprocess.PIPE, stderr=subprocess.PIPE, startupinfo=startupinfo) File "subprocess.py", line 1038, in __init__ File "subprocess.py", line 1552, in _execute_child FileNotFoundError: [WinError 2] The system cannot find the file specified Error: [WinError 2] The system cannot find the file specified What do I need to do to get it to work? Thanks |
|
|
|
|
|
#100 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,830
Karma: 24222221
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Code:
"ltPath": "C:/Program Files/LanguageTool/languagetool-commandline.jar", |
|
|
|
|
|
|
#101 |
|
Zealot
![]() Posts: 112
Karma: 10
Join Date: Aug 2018
Location: New Jersey
Device: Samsung Tab E nook
|
I downloaded and installed jre-8u491-windows-x64.exe
I unchecked Use Bundled Python, and added the Path to Interpreter Executable and this is what I get: Plugin failed to start |
|
|
|
|
|
#102 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,705
Karma: 6774572
Join Date: Nov 2009
Device: many
|
Remove duplicate post made by accident
|
|
|
|
|
|
#103 | |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,705
Karma: 6774572
Join Date: Nov 2009
Device: many
|
Quote:
So you need to follow the full installation instructions found here: https://www.mobileread.com/forums/sh...07&postcount=1 Note, that if you are not on Linux, you should actually always make sure the Use Bundled Python interpreter is checked. You have put something in that path that is incorrect and should instead be added to the Plugin's own preferences folder in its json file. So try again, but this time following the linked instructions. Note you can open the Sigil Preferences folder usig the button in the lower left corner so you can easily navigate to find the plugin's preferences folder in order to edit the path to where you stored the jar. Once all of this is set up the first time, you should not have to worry about it in the future. If you are new to plugins, and run into trouble or do not understand the instructions, just ask here. |
|
|
|
|
|
|
#104 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,830
Karma: 24222221
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
The plugin also needs to know in which folder languagetool-commandline.jar is located. Usually, it should display a file selection dialog that allows you to select languagetool-commandline.jar. The plugin also assumes that if you enter java -version in a command prompt/terminal window a version number is displayed. Please try the following:
In that case refer to the Java isn't found section of the EpubCheck plugin. |
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What does 'Well-Formed Check EPUB' actually check? | bookman156 | Sigil | 21 | 03-20-2016 06:31 PM |
| Grammar issues (again).... | mukoan | Writers' Corner | 25 | 06-28-2013 02:26 PM |
| Trusting Words grammar check? | jhempel24 | Writers' Corner | 23 | 01-30-2013 02:52 PM |
| Are DRM books with check in/check out allowed? | i8abug | Library Management | 4 | 05-31-2012 02:27 PM |
| Seriously thoughtful English (or US) grammar | Sweetpea | Lounge | 26 | 10-21-2011 10:17 PM |