improve error message handling
Raised an exception [Errno 2] No such file or directory: 'podman'
Traceback (most recent call last):
File "/home/ben/.local/share/virtualenvs/Linaro-pZ7OIphy/bin/tuxrun", line 8, in <module>
sys.exit(main())
^^^^^^
File "/home/ben/.local/share/virtualenvs/Linaro-pZ7OIphy/lib/python3.11/site-packages/tuxrun/__main__.py", line 478, in main
return run(options, tmpdir, cache_dir, artefacts)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ben/.local/share/virtualenvs/Linaro-pZ7OIphy/lib/python3.11/site-packages/tuxrun/__main__.py", line 347, in run
with runtime.run(args):
File "/usr/lib/python3.11/contextlib.py", line 137, in __enter__
return next(self.gen)
^^^^^^^^^^^^^^
File "/home/ben/.local/share/virtualenvs/Linaro-pZ7OIphy/lib/python3.11/site-packages/tuxrun/runtimes.py", line 68, in run
self.__proc__ = subprocess.Popen(
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/subprocess.py", line 1026, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.11/subprocess.py", line 1950, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'podman'
If you run tuxrun without podman installed, nothing in tuxrun_reproducer.sh is said and you get a rather unhelpful message