Comments (10)
I cannot reproduce that when starting the JAR from the LT 6.4 ZIP files we provide. It looks like a packaging issue. Do you know what the actual commend is that gets executed by languagetool
?
from languagetool.
languagetool
looks like a shell script to build the java command and eventually runs
/bin/java
-cp /usr/share/languagetool:/usr/share/java/languagetool/languagetool-commandline.jar:/usr/share/java/languagetool/languagetool-server.jar:/usr/share/java/languagetool/languagetool.jar
org.languagetool.server.HTTPServer
-p 8000 --public --allow-origin * --config /home/languagetool/languagetool.conf
(wrapped for readability)
from languagetool.
here's the source for the wrapper:
https://gitlab.archlinux.org/archlinux/packaging/packages/languagetool/-/blob/main/languagetool.sh
I'll try to build the package myself and see how that goes
from languagetool.
Does it make a difference if you run the command from the directory that contains languagetool-commandline.jar
? Or from /usr/share/languagetool
?
from languagetool.
It does not seem to make a difference from where I run the full command.
from languagetool.
looking at the code, it looks like git.properties isn't found
from languagetool.
the file is where it should be, so it's probably a problem with invoking the jars or it's not able to properly read the file, but it doesn't log the warning either
from languagetool.
It's definitely some kind of packaging thing.
Downloading the release zip, extracting it and running the command as in the docs successfully starts the server.
from languagetool.
https://gitlab.archlinux.org/archlinux/packaging/packages/languagetool/-/issues/2
from languagetool.
I just found the reason.
There was a stray, empty git-premium.properties
in /usr/share/languagetool, getting rid of that solves the issue.
So it wasn't a packaging issue.
I wonder why it still worked on 6.3
from languagetool.
Related Issues (20)
- [ca] deixar de marcar «baixar» com a no pronominal
- [pt] Number of examples in antipatterns HOT 2
- [DE] Fehlalarm mit "Mutter Theresa" HOT 4
- Potential replacements for fasttext?
- Incorrect its/it's correction
- Plugin error on load LibreOffice Calc for macOS HOT 8
- Configure LT for Desktop with own server
- Stacktrace w NullPointer Exception HOT 6
- [en] add "Informal" category
- [en] False Positive IN_WINDOWS
- LongSentenceRule shows confusing behavior HOT 5
- [DE] LT-Bugfehlermeldung April.2024 HOT 2
- [DE] widersprüchlicher Vorschlag zu einem Fehleralarm
- Missing suggestion for "werrden" HOT 28
- What's wrong with "der Ergebnisse"? HOT 4
- Please add the word "Vierfüßlerstand" HOT 1
- Wikipedia tool issue with UTF-8
- [en] Issue with "a" - 2024-05-04 HOT 1
- [en] Article false positive on "an http" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from languagetool.