modernmt: Getting an error while creating a new engine "EN-AR"

Hello support team,

I followed the instructions mentioned here https://github.com/ModernMT/MMT/issues/208#issuecomment-266766252, but I am getting the following error when I type the following command:

./mmt create en ar examples/data/train

I am also getting the same error when using the command in readme

./mmt create en ar examples/data/train

Here is the full error log:

`root@modernmt-VirtualBox:/home/modernmt/Downloads/mmt# ./mmt create en ar examples/data/train

WARNING: more than 0G of RAM recommended, only 0G available

=========== TRAINING STARTED ===========

ENGINE: default BILINGUAL CORPORA: 15 documents MONOLINGUAL CORPORA: 0 documents LANGS: en > ar

INFO: (1 of 7) TMs clean-up… DONE (in 3s) ERROR Unexpected exception: Command ‘java -cp /home/modernmt/Downloads/mmt/build/mmt-0.14.1.jar -Dmmt.home=/home/modernmt/Downloads/mmt -Djava.library.path=/home/modernmt/Downloads/mmt/build/lib eu.modernmt.cli.CleaningPipelineMain -s en -t ar --output /home/modernmt/Downloads/mmt/runtime/default/tmp/training/clean_tms --input /home/modernmt/Downloads/mmt/examples/data/train’ failed with exit code 1 Traceback (most recent call last): File “./mmt”, line 549, in <module> main() File “./mmt”, line 526, in main actionscommand File “./mmt”, line 357, in main_create debug=args.debug, steps=args.training_steps, split_trainingset=args.split_corpora) File “/home/modernmt/Downloads/mmt/cli/engine.py”, line 222, in build unprocessed_bicorpora, self._get_tempdir(‘clean_tms’), log=logger.stream) File “/home/modernmt/Downloads/mmt/cli/mt/processing.py”, line 99, in clean shell.execute(command, stdout=log, stderr=log) File “/home/modernmt/Downloads/mmt/cli/libs/shell.py”, line 55, in execute raise ShellError(str_cmd, returncode, stderr_dump) cli.libs.shell.ShellError: Command ‘java -cp /home/modernmt/Downloads/mmt/build/mmt-0.14.1.jar -Dmmt.home=/home/modernmt/Downloads/mmt -Djava.library.path=/home/modernmt/Downloads/mmt/build/lib eu.modernmt.cli.CleaningPipelineMain -s en -t ar --output /home/modernmt/Downloads/mmt/runtime/default/tmp/training/clean_tms --input /home/modernmt/Downloads/mmt/examples/data/train’ failed with exit code 1 ` How can this be fixed?

thanks, Mohamed

P.S. I am using Ubuntu 14.04 VirtualBox image to run this test.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 16 (7 by maintainers)

Most upvoted comments

Hi @memoday

thank you very much for the support, it’s really appreciated 😃 Regarding CAT tools integration, we have good news: MMT is currently integrated into the MyMemory Plugin for Trados. If you activate MyMemoryPRO, you will receive MT coming directly from our MMT servers.

We currently support 3 language pairs: EN > FR, EN > ES and DE > EN.

More CAT tool integrations are coming in the next months: MateCat will probably be the next so, stay tuned!

Thanks again for your support, if you need any other infos please don’t hesitate to contact me. Davide