[Bugit] Cannot run bugit on a machine with Nvidia card but the nvidia driver not installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bugit |
Fix Committed
|
High
|
StanleyHuang |
Bug Description
[Summary]
The Bugit cannot on a machine with a Nvidia GPU, but the nvidia related tool doesn't installed.
If run bugit on such machine:
ubuntu@
Traceback (most recent call last):
File "/snap/
sys.
File "/snap/
cid=args.cid,
File "/snap/
job_
File "/snap/
std_info = AttachmentAssis
File "/snap/
command, stdout=
File "/snap/
with Popen(*popenargs, **kwargs) as process:
File "/snap/
restore_
File "/snap/
raise child_exception
FileNotFoundError: [Errno 2] No such file or directory: 'nvidia-smi': 'nvidia-smi'
[Steps to reproduce]
Install bugit on the machine with Nvidia GPU, then remove nvdia-smi, then run bugit.
[Expected result]
The bugit should can be run on such machine even if the nvida-smi not installed.
[Actual result]
The Bugit cannot run and report exception.
[Failure rate]
100%
Related branches
- Weichen Wu: Approve
-
Diff: 111 lines (+46/-37)1 file modifiedbugit/bug_assistant.py (+46/-37)
Changed in bugit: | |
assignee: | nobody → StanleyHuang (stanley31) |
importance: | Undecided → High |
Changed in bugit: | |
status: | New → In Progress |
Changed in bugit: | |
status: | In Progress → Fix Committed |