-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
Hello,
I am trying to run this image on a Raspberry Pi 5.
Spellchecking English does work, but as soon as I try German this error happens:
...
Languagetool | Caused by: java.lang.RuntimeException: Could not check sentence (language: German (Germany)): <sentcontent>Das ist ein Test </sentcontent>
Languagetool | at org.languagetool.JLanguageTool$TextCheckCallable.getOtherRuleMatches(JLanguageTool.java:2133)
Languagetool | at org.languagetool.JLanguageTool$TextCheckCallable.call(JLanguageTool.java:1994)
Languagetool | at org.languagetool.JLanguageTool$TextCheckCallable.call(JLanguageTool.java:1957)
Languagetool | at org.languagetool.JLanguageTool.performCheck(JLanguageTool.java:1403)
Languagetool | ... 9 more
Languagetool | 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).
Languagetool | at org.languagetool.rules.spelling.hunspell.DumontsHunspellDictionary.<init>(DumontsHunspellDictionary.java:36)
Languagetool | at org.languagetool.rules.spelling.hunspell.Hunspell.getDictionary(Hunspell.java:48)
Languagetool | at org.languagetool.rules.spelling.hunspell.HunspellRule.init(HunspellRule.java:520)
Languagetool | at org.languagetool.rules.de.GermanSpellerRule.init(GermanSpellerRule.java:1805)
Languagetool | at org.languagetool.rules.spelling.hunspell.HunspellRule.ensureInitialized(HunspellRule.java:493)
Languagetool | at org.languagetool.rules.spelling.hunspell.HunspellRule.match(HunspellRule.java:166)
Languagetool | at org.languagetool.rules.de.GermanSpellerRule.match(GermanSpellerRule.java:1695)
Languagetool | at org.languagetool.JLanguageTool.checkAnalyzedSentence(JLanguageTool.java:1484)
Languagetool | at org.languagetool.JLanguageTool.access$1600(JLanguageTool.java:73)
Languagetool | at org.languagetool.JLanguageTool$TextCheckCallable.getOtherRuleMatches(JLanguageTool.java:2088)
Languagetool | ... 12 more
Languagetool | Caused by: java.lang.UnsatisfiedLinkError: Unable to load library 'hunspell':
Languagetool | libhunspell.so: cannot open shared object file: No such file or directory
Languagetool | libhunspell.so: cannot open shared object file: No such file or directory
Languagetool | Native library (linux-aarch64/libhunspell.so) not found in resource path (languagetool-server.jar)
Languagetool | at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:307)
Languagetool | at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:467)
Languagetool | at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:429)
Languagetool | at dumonts.hunspell.bindings.HunspellLibrary.<clinit>(HunspellLibrary.java:16)
Languagetool | at dumonts.hunspell.Hunspell.<init>(Hunspell.java:21)
Languagetool | at org.languagetool.rules.spelling.hunspell.DumontsHunspellDictionary.<init>(DumontsHunspellDictionary.java:34)
Languagetool | ... 21 more
Languagetool | Suppressed: java.lang.UnsatisfiedLinkError: libhunspell.so: cannot open shared object file: No such file or directory
Languagetool | at com.sun.jna.Native.open(Native Method)
Languagetool | at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:197)
Languagetool | ... 26 more
Languagetool | Suppressed: java.lang.UnsatisfiedLinkError: libhunspell.so: cannot open shared object file: No such file or directory
Languagetool | at com.sun.jna.Native.open(Native Method)
Languagetool | at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:210)
Languagetool | ... 26 more
Languagetool | Suppressed: java.io.IOException: Native library (linux-aarch64/libhunspell.so) not found in resource path (languagetool-server.jar)
Languagetool | at com.sun.jna.Native.extractFromResourcePath(Native.java:1145)
Languagetool | at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:281)
Languagetool | ... 26 more
Similar to #2
I tried it with a minimal docker compose file:
services:
lang:
container_name: Languagetool
image: silviof/docker-languagetool
restart: unless-stopped
ports:
- 8010:8010
Sadly I could not get it working.
Any help would much be appreciated!
Metadata
Metadata
Assignees
Labels
No labels