Closed andre-merzky closed 3 years ago
Looking a bit further, this seems to happen because I have a disabled nvidia card - nvidia-smi
will not return any data in this case. You should check if any data are returned there...
$ nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
Thanks for the submission! I will add this, please give me a few moments!
Please try again now!
Looks good now - thanks! :-)
user@debian~/D/s/src> python3 ./sysmon.py
Traceback (most recent call last):
File "./sysmon.py", line 593, in <module>
main()
File "./sysmon.py", line 587, in main
main = MainWindow()
File "./sysmon.py", line 101, in __init__
self.s = sysinfo()
File "/home/user/Downloads/sysmon/src/gather_data.py", line 54, in __init__
self.check_for_nvidia_smi()
File "/home/user/Downloads/sysmon/src/gather_data.py", line 175, in check_for_nvidia_smi
ps = str(subprocess.Popen(
File "/usr/lib/python3.8/subprocess.py", line 854, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib/python3.8/subprocess.py", line 1702, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'nvidia-smi'
Could this issue be reopened? The latest commit breaks this application so it actually introduces another problem.
Yes sure. Sorry, wrong indentation. Should be fixed now.
I could confirm it's fixed. Thank you :smile:
Great, thanks!
I see this error:
Let me know if you need additional information.