You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/usr/local/bin/amdgpu-fan", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.10/dist-packages/amdgpu_fan/controller.py", line 67, in main
config = load_config(location)
File "/usr/local/lib/python3.10/dist-packages/amdgpu_fan/controller.py", line 44, in load_config
return yaml.load(f)
TypeError: load() missing 1 required positional argument: 'Loader'
The fix is to change controller.py (/usr/local/lib/python3.10/dist-packages/amdgpu_fan/controller.py) at line 44 from return yaml.load(f)
to return yaml.full_load(f)
and then it works perfectly.
The text was updated successfully, but these errors were encountered:
On Debian systems, this error occurs
The fix is to change controller.py (/usr/local/lib/python3.10/dist-packages/amdgpu_fan/controller.py) at line 44 from
return yaml.load(f)
to
return yaml.full_load(f)
and then it works perfectly.
The text was updated successfully, but these errors were encountered: