divvun / libdivvun

lib for running gramcheck and other pipelines + cli; modules for CG→spelling, CG→feedback, tagging blanks
https://giellalt.github.io/proof/gramcheck/GrammarCheckerDocumentation.html
GNU General Public License v3.0
9 stars 1 forks source link

divvun-checker --spec <spec> --variant <variant> crashes #41

Closed albbas closed 4 years ago

albbas commented 4 years ago

On Linux this is the result of the command

❯ divvun-checker --spec tools/grammarcheckers/pipespec.xml --variant smegramrelease
terminate called after throwing an instance of 'TransducerHeaderException'
Aborted

divvun-checker also crashes on macOS when using these options.

albbas commented 4 years ago

When running the command in the directory where pipeline.xml is, then the command succeeds. It seems that the paths to the .hfst files are miscalculated.

unhammer commented 4 years ago

Aha, we're probably looking in CWD for a relative path, should prepend tools/grammarcheckers/ in your example.