FS#68079 - [languagetool] make it possible to run command-line without passing a file path
Attached to Project:
Community Packages
Opened by Enno (konfekt) - Friday, 02 October 2020, 18:49 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 27 April 2023, 18:28 GMT
Opened by Enno (konfekt) - Friday, 02 October 2020, 18:49 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 27 April 2023, 18:28 GMT
|
Details
Description:
As the source code at https://github.com/archlinux/svntogit-community/blob/9b4884d4d6e48ca5578e42468ea9c3024538d803/trunk/languagetool.sh#L11 shows, the GUI is started if a file path is not passed as an argument. However, for example listing all available languages by `--list` is expected to output all available languages on the command-line. Therefore, an executable should be added to run languagetool on the command-line to achieve this output. Steps to reproduce: Run `languagetool --list`. Expected: the list of all available languages on the command-line. Instead, the GUI is openend. |
This task depends upon
Closed by Antonio Rojas (arojas)
Thursday, 27 April 2023, 18:28 GMT
Reason for closing: Fixed
Additional comments about closing: languagetool 6.1-2
Thursday, 27 April 2023, 18:28 GMT
Reason for closing: Fixed
Additional comments about closing: languagetool 6.1-2
the missing output of `--list` is due to the error
Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-14-openjdk/lib/libawt_xawt.so
I figured out that I need to install the jre-openjdk package to fix the crash. And yes, after that the GUI starts up :(
Thanks!
[1] https://github.com/lervag/vimtex/issues/2190