-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft release crashes #31
Comments
Have you tried this?
|
Ciao Marcello, Due check velocissimi: Dovresti inoltre avere dei log nella cartella engines/default/logs, Grazie! Il venerdì 8 gennaio 2016, Marco Trombetti notifications@github.com ha
|
Ciao Davide,
Ecco i file di log: |
@marcotrombetti: yes I did. |
Perdonami Marcello, ma non riesco ad aprire il file log.tar.zip. Potresti 2016-01-08 9:30 GMT+01:00 Marcello Federico notifications@github.com:
|
Scusami ma ormai sono in ufficio. Il fai lo creato facendo tar e poi zip
|
Ti allego qui il contenuto del file di Marcello:
|
Comunque mi sembra che non possiamo assumere che Ubuntu 14.04 funzioni in tutti i casi. Vedi ad esempio #39 |
@mfederico could you please send me a zip file with the entire engines folder, and the exact sequence of commands you run? Can you also send me the version of your python? Just run 'python --version' in a terminal. Thanks! |
Can we close this? @davidecaroselli has it been solved? |
I close it for now because the bug is still not replicable. If you have more information about this problem, please reopen it. |
It took me some time to update the release of java to version 8 and to tell my computer to actually use it with
Then, while running
=========== TRAINING STARTED ===========
ENGINE: default
CORPORA: /home/marcello/Progetti/mmt/examples/data/train (3 documents)
LANGS: en > it
INFO: (1 of 6) Corpora tokenization... DONE (in 22s)
INFO: (2 of 6) Corpora cleaning... DONE (in 0s)
INFO: (3 of 6) Context Analyzer training... DONE (in 2s)
INFO: (4 of 6) Language Model training... DONE (in 0s)
2016-01-08 00:52:19,721 [ERROR] - [Errno 8] Exec format error
Traceback (most recent call last):
File "/home/marcello/Progetti/mmt/scripts/engine.py", line 286, in build
self._lm.train(tokenized_corpora, self.target_lang, working_dir, log_file)
File "/home/marcello/Progetti/mmt/scripts/mt/lm.py", line 117, in train
self._train_lm(file, os.path.join(models_folder, lm), working_dir, log)
File "/home/marcello/Progetti/mmt/scripts/mt/lm.py", line 144, in _train_lm
shell.execute(command, stderr=log)
File "/home/marcello/Progetti/mmt/scripts/libs/shell.py", line 42, in execute
process = subprocess.Popen(cmd, stdin=stdin, stdout=stdout, stderr=stderr, shell=(True if isinstance(cmd, basestring) else False))
File "/usr/lib/python2.7/subprocess.py", line 710, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 8] Exec format error
Traceback (most recent call last):
File "./mmt", line 370, in
main()
File "./mmt", line 346, in main
main_create(argv[1:])
File "./mmt", line 329, in main_create
engine.build(corpora, debug=args.debug, steps=args.training_steps)
File "/home/marcello/Progetti/mmt/scripts/engine.py", line 286, in build
self._lm.train(tokenized_corpora, self.target_lang, working_dir, log_file)
File "/home/marcello/Progetti/mmt/scripts/mt/lm.py", line 117, in train
self._train_lm(file, os.path.join(models_folder, lm), working_dir, log)
File "/home/marcello/Progetti/mmt/scripts/mt/lm.py", line 144, in _train_lm
shell.execute(command, stderr=log)
File "/home/marcello/Progetti/mmt/scripts/libs/shell.py", line 42, in execute
process = subprocess.Popen(cmd, stdin=stdin, stdout=stdout, stderr=stderr, shell=(True if isinstance(cmd, basestring) else False))
File "/usr/lib/python2.7/subprocess.py", line 710, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 8] Exec format error
The text was updated successfully, but these errors were encountered: