tmp_log.txt error
See original GitHub issueNeed better handling of this error. It occurs
Exception in thread Thread-43:
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "/usr/lib/python3.6/threading.py", line 864, in run
self._target(*self._args, **self._kwargs)
File "/elpis/elpis/wrappers/objects/model.py", line 239, in background_train_task
train()
File "/elpis/elpis/wrappers/objects/model.py", line 232, in train
p = run(f"cd {local_kaldi_path}; ./run.sh > {tmp_log_path}")
File "/elpis/elpis/wrappers/objects/command.py", line 16, in run
stderr=subprocess.STDOUT
File "/usr/lib/python3.6/subprocess.py", line 438, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['bash', '-c', 'cd /elpis/state/models/ab6a2222936e2ad98bcc8232e8620674/kaldi; ./run.sh > /elpis/state/tmp_log.txt']' returned non-zero exit status 1.
Hard to reproduce, but the few times I have seen it the tmp_log.txt
file ends after the aligning data line:
steps/train_deltas.sh: training pass 20
steps/train_deltas.sh: aligning data
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
`nim --verboselog:/tmp/log.txt ...` to log more context when ... - GitHub
nim --verboselog:/tmp/log.txt ... to log more context when needed while not obfuscating stdout #8789.
Read more >Batch File write into .txt does not work but works in a CMD Window ...
I have a strange problem. ... I copy and paste this Line into a CMD Window (no admin rights) it will write the...
Read more >linux + write both standard output and stand error to log and to ...
#!/bin/bash trap 'rm $TMP' 0 TMP=$(mktemp) rm $TMP mkfifo $TMP tee < $TMP ${log:-/tmp/log.txt} & exec > $TMP 2>&1.
Read more >[Chimera-users] save reply log from chimera python script
Hi Chimera Users, Could someone please point out the syntax error in this code: def save_reply_log("/tmp/tmplog.txt"): <<--- error should be ...
Read more >Getting an error when trying to install WebSphere Application ...
When I try to install WebSphere Application Server 9.0 I receive the below errors: 1 - For WASND 9 install: ./imcl install com.ibm.websphere....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just by the way you can set the current working directory on the python side and that will make the
./run.sh
command cleanerafter logging refactor this should no longer be an issue