Hi all, I am having some issues running offline Apertium plugin with the last OmegaT beta (3.5.01). It looks like the plugin has some concurrency issues.
Whenever a recent project is loaded (Project > Open recent project), omegaT fires 2 translation events (this might be a bug on omegaT side). This sometimes works (Machine Translation panel shows 2 Apertium translations) and sometimes makes OmegaT crash, usually with NullPointerExceptions or IndexOutOfBoundsExceptions. You can see a couple of examples here *http://pastebin.com/yVJdfWhY <http://pastebin.com/yVJdfWhY>* Same happens when you fire multiple translation events. If you accidentally hold enter/ctrl+n, OmegaT fires a translation event for every segment you go through, triggering the crash. This behaviour looks a lot like concurrency issues. Maybe some part of Apertium or lttoolbox should be marked as synchronized? Also, its worth noting that non-local Apertium that ships with OmegaT by default still uses the old api. Thanks a lot.
------------------------------------------------------------------------------
_______________________________________________ Apertium-stuff mailing list Apertium-stuff@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/apertium-stuff