apertium / apertium-omegat-native

OmegaT plugin to use native versions of Apertium.
https://wiki.apertium.org/wiki/Apertium_OmegaT_Native
GNU General Public License v3.0
2 stars 0 forks source link

Language pair install/detection broken in Linux #3

Open marcriera opened 5 years ago

marcriera commented 5 years ago

Something seems to be off when using the plugin under Linux. Trying to install any language pair results in the following:

captura de pantalla de 2018-10-16 10-24-22

It looks like it is trying to run 7-zip (as in Windows) and failing. This happens in my laptop, which runs Arch Linux, but I have tested it in virtual machines with Debian and Linux Mint and in none of the cases I have managed to get it to work. Windows, however, seems to be fine (language pairs get downloaded and installed properly).

Furthermore, I have three language pairs installed in /usr/local/share (Arch is not covered by Apertium packaging) which I expect to be detected by the plugin, but they are not.

These are the debug messages given by the plugin when running OmegaT from the terminal:

10947: CONFIG: Set root path to: /home/marc/.local/share/apertium-omegat-native
10947: CONFIG: Set package manager to: yum
10947: CONFIG: Set OS to: rpm
10947: Error: 7-Zip Missing: 7-Zip either failed to install or files in your data folder are not executable.
10947: CONFIG: Modes folder did not exist: /home/marc/.local/share/apertium-omegat-native/nightly/usr/share/apertium/modes
TinoDidriksen commented 5 years ago

Linux isn't even supported yet. It's currently only usable on Windows and macOS.

marcriera commented 5 years ago

Oh, I see now that the wiki page only mentions Windows and macOS, I thought Linux was supported. Thanks for the information!