moschlar / SAUCE

⛔️ DEPRECATED - System for AUtomated Code Evaluation
GNU Affero General Public License v3.0
25 stars 6 forks source link

Nicely handle OSError when running tests for uninstalled languages #260

Closed moschlar closed 6 years ago

moschlar commented 6 years ago
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/moschlar/src/SAUCE/sauce/lib/runner.py", line 96, in target
    self.p = Popen(self.argv, stdin=PIPE, stdout=PIPE, stderr=PIPE, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 390, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1024, in _execute_child
    raise child_exception
OSError: [Errno 2] Datei oder Verzeichnis nicht gefunden