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-26-2020, 06:15 AM   #76
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,023
Karma: 10963125
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
LanguageTool v. 0.4.3, Sigil v. 1.4.2, Windows 10, 32 bit.

I have been forced to reinstall Windows, and thus had to reinstall Sigil and the plugins. Now, at running the languagetool, I receive this error message:
Code:
Status: failed

Working on index.xhtml...
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\Juerg\AppData\Local\sigil-ebook\sigil\plugins\LanguageTool\plugin.py", line 490, in run
    result, returncode = ltWrapper(*run_args)
  File "C:\Users\Juerg\AppData\Local\sigil-ebook\sigil\plugins\LanguageTool\plugin.py", line 130, in ltWrapper
    process = subprocess.Popen(list(args), stdout=subprocess.PIPE, stderr=subprocess.PIPE, startupinfo=startupinfo)
  File "subprocess.py", line 854, in __init__
  File "subprocess.py", line 1307, in _execute_child
FileNotFoundError: [WinError 2] Das System kann die angegebene Datei nicht finden
Error: [WinError 2] Das System kann die angegebene Datei nicht finden
Please, what can I do?
Leonatus is offline   Reply With Quote
Old 11-26-2020, 06:50 AM   #77
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by Leonatus View Post
Please, what can I do?
You'll need to add/update the following LanguageTool.json entry:

Code:
 "ltPath": "C:/Program Files/LanguageTool-5.1.3/languagetool-commandline.jar",
Doitsu is offline   Reply With Quote
Advert
Old 11-26-2020, 08:29 AM   #78
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,023
Karma: 10963125
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
This didn't work, although having uninstalled and reinstalled Sigil.
In the LanguagTool.json ther is the following entry:
Code:
"ltPath": "F:/Sigil/LanguageTool-4.0/LanguageTool-4.0/languagetool-commandline.jar"
And, in fact, this is the location of the languagetool-commandline.jar.
Whereas in C:/Program Files/ there is no LanguageTool directory.
And even having changed the entry in the LanguagTool.json, after starting the tool, the old entry reappears.

And even having created a directory in C: with the given path (inserted the languagetool-commandline.jar, of course), there is the same error message.

Ah, I see that I don't have the latest LanguageTool desktop version. But how do I get the zipped version? I only see .oxt.

Last edited by Leonatus; 11-26-2020 at 09:07 AM.
Leonatus is offline   Reply With Quote
Old 11-26-2020, 09:47 AM   #79
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by Leonatus View Post
This didn't work, although having uninstalled and reinstalled Sigil.
In the LanguagTool.json ther is the following entry:
Code:
"ltPath": "F:/Sigil/LanguageTool-4.0/LanguageTool-4.0/languagetool-commandline.jar"
In that case, you might have to re-install Java and/or add the Java path environment variable.

If you open a command prompt window, do you get an error message when you enter the following command?

Code:
java -version
Quote:
Originally Posted by Leonatus View Post
Ah, I see that I don't have the latest LanguageTool desktop version. But how do I get the zipped version? I only see .oxt.
You can download the latest version from this website.
(The direct link for version 5.1 is here.)
Doitsu is offline   Reply With Quote
Old 11-26-2020, 10:18 AM   #80
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,023
Karma: 10963125
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
java -version returns:
Der Befehl "java" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.

Now that I installed Java, the plugin seems to work. I didn't remember that at reinstalling Windows Java isn't shipped together.

The only strange is that the tool boldly returns: "No problems found".

Anyway, thanks for the help again!

Last edited by Leonatus; 11-26-2020 at 10:29 AM.
Leonatus is offline   Reply With Quote
Advert
Old 02-15-2021, 02:41 PM   #81
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,023
Karma: 10963125
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
Strange, now, at my other computer (Windows 10, 64 bit, Sigil v. 1.4.3, plugin v. 0.4.3) I receive repeatedly this message:
PHP Code:
Statusfailed

Working on content0002
.xhtml...
5 error(sfound.
Working on content0003.xhtml...
1 error(sfound.
Working on content0004.xhtml...
15 error(sfound.
Working on content0005.xhtml...
132 error(sfound.
Working on content0006.xhtml...
50 error(sfound.
Working on content0006a.xhtml...
113 error(sfound.
Working on content0007.xhtml...
65 error(sfound.
Working on content0008.xhtml...
47 error(sfound.
Working on content0009.xhtml...
20 error(sfound.
Working on content0010.xhtml...
97 error(sfound.
Working on content0011.xhtml...
73 error(sfound.
Working on content0012.xhtml...
103 error(sfound.
Working on content0013.xhtml...
80 error(sfound.
Working on content0014.xhtml...
52 error(sfound.
Working on content0015.xhtml...
55 error(sfound.
Working on content0016.xhtml...
55 error(sfound.
Working on content0017.xhtml...
49 error(sfound.
Working on content0018.xhtml...
128 error(sfound.
Working on content0019.xhtml...
32 error(sfound.
Working on content0020.xhtml...
68 error(sfound.
Working on content0021.xhtml...
98 error(sfound.
Working on content0022.xhtml...
88 error(sfound.
Working on content0023.xhtml...
77 error(sfound.
Working on content0024.xhtml...
36 error(sfound.
Working on content0025.xhtml...
82 error(sfound.
Working on content0026.xhtml...
87 error(sfound.
Working on content0027.xhtml...
33 error(sfound.
Working on content0028.xhtml...
56 error(sfound.
Working on content0029.xhtml...
70 error(sfound.
Working on content0030.xhtml...
21 error(sfound.
Working on content0031.xhtml...
23 error(sfound.
Working on content0032.xhtml...
120 error(sfound.
Working on content0033.xhtml...
53 error(sfound.
Working on content0034.xhtml...
14 error(sfound.
Working on content0035.xhtml...
24 error(sfound.
Working on content0036.xhtml...
EPUBCheck Java error.
 
WarningAt the momentyour platform (Windowsis not supported by the official XGBoost maven packageML-based suggestion reordering is disabled.
Expected text languageGerman (Germany) (no spell checking active)
Working on C:\Users\Juerg\AppData\Local\Temp\tmpzv5fzsjl\content0036.xhtml...
Exception in thread "main" java.lang.RuntimeExceptionjava.util.concurrent.ExecutionExceptionjava.lang.RuntimeExceptionjava.lang.RuntimeExceptionCould not check sentence (languageGerman (Germany)): 'Aber jetzt hör’, du sollst auch was g’lernt haben in München, sollst wenigstens kochen können und zu dem gehst zwei Monat in die Anstalt vom Roten Kreuz, wo mei’ Regerl is. '
    
at org.languagetool.MultiThreadedJLanguageTool.performCheck(MultiThreadedJLanguageTool.java:175)
    
at org.languagetool.JLanguageTool.check(JLanguageTool.java:820)
    
at org.languagetool.JLanguageTool.check(JLanguageTool.java:784)
    
at org.languagetool.JLanguageTool.check(JLanguageTool.java:775)
    
at org.languagetool.JLanguageTool.check(JLanguageTool.java:758)
    
at org.languagetool.JLanguageTool.check(JLanguageTool.java:717)
    
at org.languagetool.JLanguageTool.check(JLanguageTool.java:701)
    
at org.languagetool.commandline.CommandLineTools.checkText(CommandLineTools.java:106)
    
at org.languagetool.commandline.CommandLineTools.checkText(CommandLineTools.java:82)
    
at org.languagetool.commandline.Main.runOnFile(Main.java:195)
    
at org.languagetool.commandline.Main.main(Main.java:467)
Caused byjava.util.concurrent.ExecutionExceptionjava.lang.RuntimeExceptionjava.lang.RuntimeExceptionCould not check sentence (languageGerman (Germany)): 'Aber jetzt hör’, du sollst auch was g’lernt haben in München, sollst wenigstens kochen können und zu dem gehst zwei Monat in die Anstalt vom Roten Kreuz, wo mei’ Regerl is. '
    
at java.util.concurrent.ForkJoinTask.get(Unknown Source)
    
at org.languagetool.MultiThreadedJLanguageTool.performCheck(MultiThreadedJLanguageTool.java:172)
    ... 
10 more
Caused by
java.lang.RuntimeExceptionjava.lang.RuntimeExceptionCould not check sentence (languageGerman (Germany)): 'Aber jetzt hör’, du sollst auch was g’lernt haben in München, sollst wenigstens kochen können und zu dem gehst zwei Monat in die Anstalt vom Roten Kreuz, wo mei’ Regerl is. '
    
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    
at java.lang.reflect.Constructor.newInstance(Unknown Source)
    
at java.util.concurrent.ForkJoinTask.getThrowableException(Unknown Source)
    ... 
12 more
Caused by
java.lang.RuntimeExceptionCould not check sentence (languageGerman (Germany)): 'Aber jetzt hör’, du sollst auch was g’lernt haben in München, sollst wenigstens kochen können und zu dem gehst zwei Monat in die Anstalt vom Roten Kreuz, wo mei’ Regerl is. '
    
at org.languagetool.JLanguageTool$TextCheckCallable.getOtherRuleMatches(JLanguageTool.java:1457)
    
at org.languagetool.JLanguageTool$TextCheckCallable.call(JLanguageTool.java:1345)
    
at org.languagetool.JLanguageTool$TextCheckCallable.call(JLanguageTool.java:1306)
    
at java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(Unknown Source)
    
at java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
    
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source)
    
at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
    
at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
Caused byjava.lang.RuntimeExceptionError analyzing sentence'<S> Aber[Aber/SUB:AKK:PLU:NEU,Aber/SUB:AKK:SIN:NEU,Aber/SUB:DAT:PLU:NEU,Aber/SUB:DAT:SIN:NEU,Aber/SUB:GEN:PLU:NEU,Aber/SUB:GEN:SIN:NEU,Aber/SUB:NOM:PLU:NEU,Aber/SUB:NOM:SIN:NEU,aber/ADV:MOD,aber/KON:NEB,aber/ADV:MOD,aber/KON:NEB,B-NP] jetzt[jetzt/ADV:TMP,O] hör[hören/VER:IMP:SIN:SFT,O]’[’/null,O],[,/PKT,O] du[ich/PRO:PER:NOM:SIN:ALG:2:B,O] sollst[sollen/VER:MOD:2:SIN:PRÄ,O] auch[auch/ADV:MOD,auch/KON:NEB,O] was[etwas/ADV:MOD,etwas/PRO:IND:SIN:ALG:3:B/S,wer/PRO:RIN:AKK:NEU,wer/PRO:RIN:NOM:NEU,O] g[g/null,O]’[’/null,O]lernt[lernen/VER:2:PLU:PRÄ:SFT,lernen/VER:3:SIN:PRÄ:SFT,lernen/VER:IMP:PLU:SFT,O] haben[haben/VER:1:PLU:KJ1:NON,haben/VER:1:PLU:PRÄ:NON,haben/VER:3:PLU:KJ1:NON,haben/VER:3:PLU:PRÄ:NON,haben/VER:AUX:1:PLU:KJ1,haben/VER:AUX:1:PLU:PRÄ,haben/VER:AUX:3:PLU:KJ1,haben/VER:AUX:3:PLU:PRÄ,haben/VER:AUX:INF,haben/VER:INF:NON,O] in[in/PRP:LOK+TMP+MOD:DAT+AKK,PP] München[München/SUB:AKK:SIN:NEU,München/SUB:DAT:SIN:NEU,B-NP|NPS|PP],[,/PKT,O] sollst[sollen/VER:MOD:2:SIN:PRÄ,O] wenigstens[wenigstens/ADV:MOD,O] kochen[kochen/VER:1:PLU:KJ1:SFT,kochen/VER:1:PLU:PRÄ:SFT,kochen/VER:3:PLU:KJ1:SFT,kochen/VER:3:PLU:PRÄ:SFT,kochen/VER:INF:SFT,O] können[können/VER:MOD:1:PLU:KJ1,können/VER:MOD:1:PLU:PRÄ,können/VER:MOD:3:PLU:KJ1,können/VER:MOD:3:PLU:PRÄ,können/VER:MOD:INF,O] und[und/KON:NEB,O] zu[zu/ADV:MOD,zu/PRP:LOK+TMP+CAU+MOD:DAT+AKK,zu/ZUS,O] dem[der/ART:DEF:DAT:SIN:MAS,der/ART:DEF:DAT:SIN:NEU,der/PRO:DEM:DAT:SIN:MAS,der/PRO:DEM:DAT:SIN:NEU,der/PRO:PER:DAT:SIN:MAS,der/PRO:PER:DAT:SIN:NEU,O] gehst[gehen/VER:2:SIN:PRÄ:NON,O] zwei[zwei/ZAL,B-NP|NPP] Monat[Monat/SUB:AKK:SIN:MAS,Monat/SUB:DAT:SIN:MAS,Monat/SUB:NOM:SIN:MAS,B-NP|I-NP|NPP] in[in/PRP:LOK+TMP+MOD:DAT+AKK,PP] die[der/ART:DEF:AKK:SIN:FEM,der/PRO:DEM:AKK:SIN:FEM,der/PRO:PER:AKK:SIN:FEM,B-NP|NPS|PP] Anstalt[Anstalt/SUB:AKK:SIN:FEM,I-NP|NPS|PP] vom[vom/PRP:LOK+TMP+MOD+CAU:DAT,PP] Roten[Rote/SUB:AKK:PLU:FEM:ADJ,Rote/SUB:AKK:PLU:MAS:ADJ,Rote/SUB:AKK:PLU:NEU:ADJ,Rote/SUB:AKK:SIN:MAS:ADJ,Rote/SUB:DAT:PLU:FEM:ADJ,Rote/SUB:DAT:PLU:MAS:ADJ,Rote/SUB:DAT:PLU:NEU:ADJ,Rote/SUB:DAT:SIN:FEM:ADJ,Rote/SUB:DAT:SIN:MAS:ADJ,Rote/SUB:DAT:SIN:NEU:ADJ,Rote/SUB:GEN:PLU:FEM:ADJ,Rote/SUB:GEN:PLU:MAS:ADJ,Rote/SUB:GEN:PLU:NEU:ADJ,Rote/SUB:GEN:SIN:FEM:ADJ,Rote/SUB:GEN:SIN:MAS:ADJ,Rote/SUB:GEN:SIN:NEU:ADJ,B-NP|PP] Kreuz[Kreuz/SUB:AKK:SIN:NEU,Kreuz/SUB:DAT:SIN:NEU,Kreuz/SUB:NOM:SIN:NEU,I-NP|PP],[,/PKT,O] wo[wo/ADV,O] mei[mei/null,O]’[’/null,O] Regerl[Regerl/null,O] is[is/null,O].[</S>./PKT,O] ' with rule VIELZAHL_PLUS_SINGULAR[3]
    
at org.languagetool.rules.patterns.PatternRule.match(PatternRule.java:239)
    
at org.languagetool.JLanguageTool.checkAnalyzedSentence(JLanguageTool.java:944)
    
at org.languagetool.JLanguageTool$TextCheckCallable.getOtherRuleMatches(JLanguageTool.java:1414)
    ... 
7 more
Caused by
java.util.ConcurrentModificationException
    at java
.util.ArrayList$Itr.checkForComodification(Unknown Source)
    
at java.util.ArrayList$Itr.next(Unknown Source)
    
at org.languagetool.synthesis.BaseSynthesizer.synthesize(BaseSynthesizer.java:194)
    
at org.languagetool.synthesis.GermanSynthesizer.synthesize(GermanSynthesizer.java:59)
    
at org.languagetool.rules.patterns.MatchState.toFinalString(MatchState.java:257)
    
at org.languagetool.rules.patterns.PatternRuleMatcher.concatMatches(PatternRuleMatcher.java:467)
    
at org.languagetool.rules.patterns.PatternRuleMatcher.formatMatches(PatternRuleMatcher.java:350)
    
at org.languagetool.rules.patterns.PatternRuleMatcher.createRuleMatch(PatternRuleMatcher.java:194)
    
at org.languagetool.rules.patterns.PatternRuleMatcher.match(PatternRuleMatcher.java:161)
    
at org.languagetool.rules.patterns.PatternRule.match(PatternRule.java:235)
    ... 
9 more 
Is there something I can do, please?
Leonatus is offline   Reply With Quote
Old 02-16-2021, 02:53 PM   #82
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
I tested the plugin with on my 64bit Windows 10 machine with Sigil 1.4.3 and the latest LanguageTool release and wasn't able to reproduce your problem.
Download the latest LanguageTool snapshot, unpack it and update the ltPath setting in LanguageTool.json. Also double-check that you have installed the latest plugin version.

If that doesn't fix the problem, check whether you have accidentally installed a 32bit Java version.
Open a command prompt, paste the following string into it and hit Enter:
Code:
java -XshowSettings:properties
This will output several lines of text. Scroll back until you see an entry that starts with sun.arch.data.model. If it doesn't look like the following entry, you have a 32bit Java interpreter:
Code:
sun.arch.data.model = 64
Doitsu is offline   Reply With Quote
Old 02-19-2021, 03:35 AM   #83
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,023
Karma: 10963125
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
64bit Java interpreter is o.k.
How do I update the ltPath setting in LanguageTool.json?
The actual entry is:
Code:
"E:/Plugins/Sigil/LanguageTool-4.9.1/LanguageTool-4.9.1/languagetool-commandline.jar"
Ah, I checked it out. Now, it works fine again. Thank you (once more)!

A suggestion that I would like to ask: As the output of LT sometimes is quite large, it were useful when there were an otion to save it - even if that would mean to lose the possibility of double-clicking and finding the text in question immediately. Is this possible?

Last edited by Leonatus; 02-19-2021 at 06:17 AM.
Leonatus is offline   Reply With Quote
Old 02-19-2021, 12:22 PM   #84
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by Leonatus View Post
A suggestion that I would like to ask: As the output of LT sometimes is quite large, it were useful when there were an option to save it - even if that would mean to lose the possibility of double-clicking and finding the text in question immediately. Is this possible?
If you insert the following entry immediately after the opening curly brace in LanguageTool.json, the plugin will copy the LT output to the clipboard.
Code:
{
  "clipboard_copy": true,
Doitsu is offline   Reply With Quote
Old 02-20-2021, 07:30 AM   #85
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,023
Karma: 10963125
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
Great! Thank you!
Leonatus is offline   Reply With Quote
Old 01-30-2023, 10:39 AM   #86
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,023
Karma: 10963125
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
LanguageTool V. 0.4.3, LanguageTool Desktop V. 6.0 and 6.1 SNAPSHOT, Sigil V. 1.9.20, Windows 10, 64 bit.
Some time ago, I had a problem similar to that I refer today (see #76 ff.). But following all the checks recommended above, there is no solution.
All began when I tried to update the plugin to the desktop version 6.0. Until then, everything worked fine. It had been just before this updating that I had applied the plugin for the last time.
So, I changed the ltpath in the languageTool.json and made a test, but the result was like the following, only referring to the desktop v. 6.0:
Code:
Status: failed

Working on content0020.xhtml...
EPUBCheck Java error.
 Expected text language: German (Germany) (no spell checking active)
Working on C:\Users\Juerg\AppData\Local\Temp\tmpkc0shkf3\content0020.xhtml...
Exception in thread "main" java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: Could not check sentence (language: German (Germany)): <sentcontent>                                                                                     1     Chaintre, cheintre [n. m.]: Das Ende oder die Grenze des Feldes, an dem der Pflüger den Pflug wendet. </sentcontent>
	at org.languagetool.MultiThreadedJLanguageTool.performCheck(MultiThreadedJLanguageTool.java:217)
	at org.languagetool.JLanguageTool.checkInternal(JLanguageTool.java:991)
	at org.languagetool.JLanguageTool.check(JLanguageTool.java:910)
	at org.languagetool.JLanguageTool.check(JLanguageTool.java:895)
	at org.languagetool.commandline.CommandLineTools.checkText(CommandLineTools.java:112)
	at org.languagetool.commandline.CommandLineTools.checkText(CommandLineTools.java:88)
	at org.languagetool.commandline.Main.runOnFile(Main.java:186)
	at org.languagetool.commandline.Main.main(Main.java:454)
Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: Could not check sentence (language: German (Germany)): <sentcontent>                                                                                     1     Chaintre, cheintre [n. m.]: Das Ende oder die Grenze des Feldes, an dem der Pflüger den Pflug wendet. </sentcontent>
	at java.util.concurrent.ForkJoinTask.get(Unknown Source)
	at org.languagetool.MultiThreadedJLanguageTool.performCheck(MultiThreadedJLanguageTool.java:214)
	... 7 more
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Could not check sentence (language: German (Germany)): <sentcontent>                                                                                     1     Chaintre, cheintre [n. m.]: Das Ende oder die Grenze des Feldes, an dem der Pflüger den Pflug wendet. </sentcontent>
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at java.util.concurrent.ForkJoinTask.getThrowableException(Unknown Source)
	... 9 more
Caused by: java.lang.RuntimeException: Could not check sentence (language: German (Germany)): <sentcontent>                                                                                     1     Chaintre, cheintre [n. m.]: Das Ende oder die Grenze des Feldes, an dem der Pflüger den Pflug wendet. </sentcontent>
	at org.languagetool.JLanguageTool$TextCheckCallable.getOtherRuleMatches(JLanguageTool.java:1993)
	at org.languagetool.JLanguageTool$TextCheckCallable.call(JLanguageTool.java:1862)
	at org.languagetool.MultiThreadedJLanguageTool.lambda$null$1(MultiThreadedJLanguageTool.java:200)
	at java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(Unknown Source)
	at java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
	at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source)
	at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
	at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
Caused by: java.lang.RuntimeException: Could not create hunspell instance. Please note that LanguageTool supports only 64-bit platforms (Linux, Windows, Mac) and that it requires a 64-bit JVM (Java).
	at org.languagetool.rules.spelling.hunspell.DumontsHunspellDictionary.<init>(DumontsHunspellDictionary.java:35)
	at org.languagetool.rules.spelling.hunspell.Hunspell.getDictionary(Hunspell.java:46)
	at org.languagetool.rules.spelling.hunspell.HunspellRule.init(HunspellRule.java:584)
	at org.languagetool.rules.de.GermanSpellerRule.init(GermanSpellerRule.java:1557)
	at org.languagetool.rules.spelling.hunspell.HunspellRule.ensureInitialized(HunspellRule.java:558)
	at org.languagetool.rules.spelling.hunspell.HunspellRule.isMisspelled(HunspellRule.java:490)
	at org.languagetool.rules.de.GermanSpellerRule.isMisspelled(GermanSpellerRule.java:1927)
	at org.languagetool.rules.de.CaseRule.potentiallyAddUppercaseMatch(CaseRule.java:1015)
	at org.languagetool.rules.de.CaseRule.match(CaseRule.java:880)
	at org.languagetool.JLanguageTool.checkAnalyzedSentence(JLanguageTool.java:1370)
	at org.languagetool.JLanguageTool.access$1500(JLanguageTool.java:74)
	at org.languagetool.JLanguageTool$TextCheckCallable.getOtherRuleMatches(JLanguageTool.java:1950)
	... 7 more
Caused by: java.lang.UnsatisfiedLinkError: Error looking up function 'Hunspell_add_dic': Die angegebene Prozedur wurde nicht gefunden.

	at com.sun.jna.Function.<init>(Function.java:252)
	at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:604)
	at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:580)
	at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:566)
	at com.sun.jna.Native.register(Native.java:1904)
	at dumonts.hunspell.bindings.HunspellLibrary.<clinit>(HunspellLibrary.java:18)
	at dumonts.hunspell.Hunspell.<init>(Hunspell.java:21)
	at org.languagetool.rules.spelling.hunspell.DumontsHunspellDictionary.<init>(DumontsHunspellDictionary.java:33)
	... 18 more
Java version is 64 bit; I didn't find any error there; nevertheless, I re-installed it, restarted the computer, downloaded and extracted the desktop-version 6.1-SNAPSHOT, changed the ltpath once more, restarted the computer once more, and am still receiving the above mentioned error message. The languageTool.json looking like this:
Code:
{
  "disabledRules": "GERMAN_SPELLER_RULE,GERMAN_WORD_REPEAT_BEGINNING_RULE,WHITESPACE_RULE,COMMA_PARENTHESIS_WHITESPACE,SENTENCE_WHITESPACE",
  "last_time_checked": "2022-08-13 17:18:09.623229",
  "update_check": true,
  "allFiles": false,
  "clipboard_copy": true,
  "ltPath": "E:/Plugins/Sigil/LanguageTool-6.1-SNAPSHOT/languagetool-commandline.jar"
}
Pleasre, what could I do still?
Leonatus is offline   Reply With Quote
Old 01-30-2023, 10:54 AM   #87
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: 7,655
Karma: 5433388
Join Date: Nov 2009
Device: many
Without seeing the entire error message with no lines skipped, it is had to know what the very first exception actually was and what it said before it rippled and created multiple exceptions.

One thing to explore might be hunspell:

java.lang.RuntimeException: Could not create hunspell instance. Please note that LanguageTool supports only 64-bit platforms (Linux, Windows, Mac) and that it requires a 64-bit JVM (Java).

Caused by: java.lang.UnsatisfiedLinkError: Error looking up function 'Hunspell_add_dic': Die angegebene Prozedur wurde nicht gefunden.

It seems to needs hunspell (64 bit version only to match the jvm version) but can not find it.

Sigil comes with its own hunspell.dll (if built that way). Are you using a 64 bit version of Sigil? Do you have a 64 bit version of hunspell?

Last edited by KevinH; 01-30-2023 at 11:00 AM.
KevinH is online now   Reply With Quote
Old 01-30-2023, 11:17 AM   #88
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: 7,655
Karma: 5433388
Join Date: Nov 2009
Device: many
Okay, I looked closer at newer versions of Hunspell than what comes in Sigil and they have added a new C wrapper call to the hunspell.h interface called Hunspell_add_dic.

The newer version of the language tool is looking for that specifically but it does not exist in the older internal hunspell dictionary that comes with Sigil.

I will add that extra wrapper call to our hunspell.h (the underlying C++ version already exists) and/or try to update the version of hunspell that is built into Sigil.

Your best bet until that time might be to download and install an official hunspell (recent version) dll and use it to replace the one in the Sigil directory (or build it youself) or use an earlier version of language tool that does not use that specific C call for hunspell.

Hope this explains things.
KevinH is online now   Reply With Quote
Old 01-30-2023, 01:04 PM   #89
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by KevinH View Post
Okay, I looked closer at newer versions of Hunspell than what comes in Sigil and they have added a new C wrapper call to the hunspell.h interface called Hunspell_add_dic.
Thanks for looking into this! However, AFAIK, LanguageTool is a self-contained .jar file that doesn't have any dependencies other than Java. I've just downloaded the latest stable version (6.0) and it works fine with the plugin.

I tested it with the following well-known nonsense English sentence:

Code:
<body>
  <p>I Can Has Cheezburger?</p>
</body>
and got two error messages:

Spoiler:
Code:
File Name	Line	Context	Category	Rule	Short Message	Message	Suggestions
OEBPS/Text/Section0001.xhtml	11	... I Can ■Has■ Cheezburger?	GRAMMAR	MD_BASEFORM	Grammatical problem: use the base form	The modal verb 'Can' requires the verb's base form.	Suggestion: Have
OEBPS/Text/Section0001.xhtml	11	... I Can ■Has■ Cheezburger?	GRAMMAR	NON3PRS_VERB	Grammatical problem: agreement error	The pronoun 'I' must be used with a non-third-person form of a verb.	Suggestion: Have


LanguageTool also worked fine with random English and Italian books.

However, when I checked content0004.xhtml in Leonatus's latest German MR upload (Fogazzaro, Antonio: Kleine moderne Welt [German] V.1 29.01.2023) I got the following error message:

Spoiler:
Code:
Working on content0004.xhtml...
LanguageTool Java error.
 Expected text language: German (Germany) (no spell checking active)
Working on C:\Users\user\AppData\Local\Temp\tmpnm_js3br\content0004.xhtml...
Exception in thread "main" java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: Could not check sentence (language: German (Germany)): <sentcontent>»Ah, ah«, brummte er, als er der Präfekt angekündigt wurde, »ah, jetzt sollten wir gerade heraus reden!     </sentcontent>
	at org.languagetool.MultiThreadedJLanguageTool.performCheck(MultiThreadedJLanguageTool.java:217)
	at org.languagetool.JLanguageTool.checkInternal(JLanguageTool.java:991)
	at org.languagetool.JLanguageTool.check(JLanguageTool.java:910)
	at org.languagetool.JLanguageTool.check(JLanguageTool.java:895)
	at org.languagetool.commandline.CommandLineTools.checkText(CommandLineTools.java:112)
	at org.languagetool.commandline.CommandLineTools.checkText(CommandLineTools.java:88)
	at org.languagetool.commandline.Main.runOnFile(Main.java:186)
	at org.languagetool.commandline.Main.main(Main.java:454)
Caused by: java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: Could not check sentence (language: German (Germany)): <sentcontent>»Ah, ah«, brummte er, als er der Präfekt angekündigt wurde, »ah, jetzt sollten wir gerade heraus reden!     </sentcontent>
	at java.base/java.util.concurrent.ForkJoinTask.reportExecutionException(ForkJoinTask.java:605)
	at java.base/java.util.concurrent.ForkJoinTask.get(ForkJoinTask.java:981)
	at org.languagetool.MultiThreadedJLanguageTool.performCheck(MultiThreadedJLanguageTool.java:214)
	... 7 more
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Could not check sentence (language: German (Germany)): <sentcontent>»Ah, ah«, brummte er, als er der Präfekt angekündigt wurde, »ah, jetzt sollten wir gerade heraus reden!     </sentcontent>
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
	at java.base/java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:562)
	at java.base/java.util.concurrent.ForkJoinTask.reportExecutionException(ForkJoinTask.java:604)
	... 9 more
Caused by: java.lang.RuntimeException: Could not check sentence (language: German (Germany)): <sentcontent>»Ah, ah«, brummte er, als er der Präfekt angekündigt wurde, »ah, jetzt sollten wir gerade heraus reden!     </sentcontent>
	at org.languagetool.JLanguageTool$TextCheckCallable.getOtherRuleMatches(JLanguageTool.java:1993)
	at org.languagetool.JLanguageTool$TextCheckCallable.call(JLanguageTool.java:1862)
	at org.languagetool.MultiThreadedJLanguageTool.lambda$null$1(MultiThreadedJLanguageTool.java:200)
	at java.base/java.util.concurrent.ForkJoinTask$AdaptedCallable.exec(ForkJoinTask.java:1428)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
Caused by: java.lang.RuntimeException: Error analyzing sentence: '<S> »[»/null,O]Ah[ah/INJ,O],[,/PKT,O] ah[ah/INJ,O]«[«/null,O],[,/PKT,O] brummte[brummen/VER:3:SIN:KJ2:SFT,brummen/VER:3:SIN:PRT:SFT,O] er[ich/PRO:PER:NOM:SIN:MAS,O],[,/PKT,O] als[als/KON:NEB,als/KON:UNT,als/KON:VGL,als/PRP:NOM+DAT+AKK,PP] er[ich/PRO:PER:NOM:SIN:MAS,PP] der[der/ART:DEF:NOM:SIN:MAS,der/PRO:DEM:NOM:SIN:MAS,der/PRO:PER:NOM:SIN:MAS,B-NP|NPS|PP] Präfekt[Präfekt/SUB:NOM:SIN:MAS,I-NP|NPS|PP] angekündigt[angekündigt/PA2:PRD:GRU:VER,ankündigen/VER:PA2:SFT,O] wurde[werden/VER:1:SIN:PRT:NON,werden/VER:3:SIN:PRT:NON,werden/VER:AUX:1:SIN:PRT,werden/VER:AUX:3:SIN:PRT,O],[,/PKT,O] »[»/null,O]ah[ah/INJ,O],[,/PKT,O] jetzt[jetzt/ADV:TMP,O] sollten[sollen/VER:MOD:1:PLU:KJ2,sollen/VER:MOD:1:PLU:PRT,O] wir[ich/PRO:PER:NOM:PLU:ALG,O] gerade[gerade/ADJ:AKK:PLU:FEM:GRU:SOL,gerade/ADJ:AKK:PLU:MAS:GRU:SOL,gerade/ADJ:AKK:PLU:NEU:GRU:SOL,gerade/ADJ:AKK:SIN:FEM:GRU:DEF,gerade/ADJ:AKK:SIN:FEM:GRU:IND,gerade/ADJ:AKK:SIN:FEM:GRU:SOL,gerade/ADJ:AKK:SIN:NEU:GRU:DEF,gerade/ADJ:NOM:PLU:FEM:GRU:SOL,gerade/ADJ:NOM:PLU:MAS:GRU:SOL,gerade/ADJ:NOM:PLU:NEU:GRU:SOL,gerade/ADJ:NOM:SIN:FEM:GRU:DEF,gerade/ADJ:NOM:SIN:FEM:GRU:IND,gerade/ADJ:NOM:SIN:FEM:GRU:SOL,gerade/ADJ:NOM:SIN:MAS:GRU:DEF,gerade/ADJ:NOM:SIN:NEU:GRU:DEF,gerade/ADJ:PRD:GRU,gerade/ADV,gerade/ZUS,O] heraus[heraus/ADV:LOK,heraus/ZUS,heraus/ADV:LOK,heraus/ZUS,O] reden[reden/VER:1:PLU:KJ1:SFT,reden/VER:1:PLU:PRÄ:SFT,reden/VER:3:PLU:KJ1:SFT,reden/VER:3:PLU:PRÄ:SFT,reden/VER:INF:SFT,O]![</S>!/PKT,O]     ' with rule ZUSAMMENSCHREIBUNG_HER[1]
	at org.languagetool.rules.patterns.PatternRuleMatcher.match(PatternRuleMatcher.java:98)
	at org.languagetool.rules.patterns.PatternRule.match(PatternRule.java:218)
	at org.languagetool.JLanguageTool.checkAnalyzedSentence(JLanguageTool.java:1370)
	at org.languagetool.JLanguageTool.access$1500(JLanguageTool.java:74)
	at org.languagetool.JLanguageTool$TextCheckCallable.getOtherRuleMatches(JLanguageTool.java:1950)
	... 8 more
Caused by: java.lang.RuntimeException: Could not create hunspell instance. Please note that LanguageTool supports only 64-bit platforms (Linux, Windows, Mac) and that it requires a 64-bit JVM (Java).
	at org.languagetool.rules.spelling.hunspell.DumontsHunspellDictionary.<init>(DumontsHunspellDictionary.java:35)
	at org.languagetool.rules.spelling.hunspell.Hunspell.getDictionary(Hunspell.java:46)
	at org.languagetool.rules.spelling.hunspell.HunspellRule.init(HunspellRule.java:584)
	at org.languagetool.rules.de.GermanSpellerRule.init(GermanSpellerRule.java:1557)
	at org.languagetool.rules.spelling.hunspell.HunspellRule.ensureInitialized(HunspellRule.java:558)
	at org.languagetool.rules.spelling.hunspell.HunspellRule.isMisspelled(HunspellRule.java:490)
	at org.languagetool.rules.de.GermanSpellerRule.isMisspelled(GermanSpellerRule.java:1917)
	at org.languagetool.rules.de.RemoveUnknownCompoundsFilter.acceptRuleMatch(RemoveUnknownCompoundsFilter.java:36)
	at org.languagetool.rules.patterns.RuleFilterEvaluator.runFilter(RuleFilterEvaluator.java:43)
	at org.languagetool.rules.patterns.PatternRuleMatcher.createRuleMatch(PatternRuleMatcher.java:177)
	at org.languagetool.rules.patterns.PatternRuleMatcher.lambda$match$1(PatternRuleMatcher.java:81)
	at org.languagetool.rules.patterns.AbstractPatternRulePerformer.matchFrom(AbstractPatternRulePerformer.java:161)
	at org.languagetool.rules.patterns.AbstractPatternRulePerformer.doMatch(AbstractPatternRulePerformer.java:75)
	at org.languagetool.rules.patterns.PatternRuleMatcher.match(PatternRuleMatcher.java:80)
	... 12 more
Caused by: java.lang.UnsatisfiedLinkError: Error looking up function 'Hunspell_add_dic': The specified procedure could not be found.

	at com.sun.jna.Function.<init>(Function.java:252)
	at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:604)
	at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:580)
	at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:566)
	at com.sun.jna.Native.register(Native.java:1904)
	at dumonts.hunspell.bindings.HunspellLibrary.<clinit>(HunspellLibrary.java:18)
	at dumonts.hunspell.Hunspell.<init>(Hunspell.java:21)
	at org.languagetool.rules.spelling.hunspell.DumontsHunspellDictionary.<init>(DumontsHunspellDictionary.java:33)
	... 25 more


@Leonatus
Unfortunately, there's nothing I can do about this. You'll need to downgrade LT 6.0 to LT 5.9 until this bug has been fixed.

You might want to contact the German lead developer send him content0004.xhtml and the above error message and ask him to fix this bug.
http://www.danielnaber.de/

Last edited by Doitsu; 01-30-2023 at 01:11 PM.
Doitsu is offline   Reply With Quote
Old 01-30-2023, 02:18 PM   #90
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: 7,655
Karma: 5433388
Join Date: Nov 2009
Device: many
That error message indicates that the jar uses its C interface to call into the hunspell (much like python can call into hunspell) to add additional dictionaries (in this case an extra German one) but the Sigil supplied hunspell.dll does not have that symbol defined.

On Linux, you are probably using a newer external hunspell but on Windows and macOS my bet is that jar will find the Sigil supplied hunspll dll and thus fail to load with this error message taken from your output above.

java.lang.UnsatisfiedLinkError: Error looking up function 'Hunspell_add_dic': The specified procedure could not be found.


That specific symbol only exists in newer hunspell dlls not the one supplied with Sigil.

Update: since Sigil hunspell was getting old (over 7 years old) DiapDealer and I decided to update to hunspell 1.7.2 (the latest) in Sigil master which should at least make this missing symbol issue go away when it is released for Windows and macOS folks. Linux users have long been using the updated version in most cases based on what their distribution offers.

Last edited by KevinH; 01-30-2023 at 03:40 PM. Reason: updated
KevinH is online now   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 06:46 PM.


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