Comments (2)
// EDIT: Fixed by removing and rebuilding the package.
Not sure if these issues are related since files are in /usr/bin for me.
amdgpu-fan won't start anymore on up-to-date Arch Linux with recent python3 packages:
journalctl -u amdgpu-fan.service
systemd[1]: Started amdgpu fan controller.
amdgpu-fan[1975]: Traceback (most recent call last):
amdgpu-fan[1975]: File "/usr/bin/amdgpu-fan", line 6, in
amdgpu-fan[1975]: from pkg_resources import load_entry_point
amdgpu-fan[1975]: File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 3252, in
amdgpu-fan[1975]: def _initialize_master_working_set():
amdgpu-fan[1975]: File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 3235, in _call_aside
amdgpu-fan[1975]: f(*args, **kwargs)
amdgpu-fan[1975]: File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 3264, in _initialize_master_working_set
amdgpu-fan[1975]: working_set = WorkingSet._build_master()
amdgpu-fan[1975]: File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 583, in _build_master
amdgpu-fan[1975]: ws.require(requires)
amdgpu-fan[1975]: File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 900, in require
amdgpu-fan[1975]: needed = self.resolve(parse_requirements(requirements))
amdgpu-fan[1975]: File "/usr/lib/python3.8/site-packages/pkg_resources/init.py", line 786, in resolve
amdgpu-fan[1975]: raise DistributionNotFound(req, requirers)
amdgpu-fan[1975]: pkg_resources.DistributionNotFound: The 'amdgpu-fan==0.0.6' distribution was not found and is required by the application
systemd[1]: amdgpu-fan.service: Main process exited, code=exited, status=1/FAILURE
systemd[1]: amdgpu-fan.service: Failed with result 'exit-code'.
from amdgpu-fan.
Thanks. Also an Arch urser. When updating Arch recently, this stopped working. Reinstalling fixed it, but makes me unsettled.
for reference
$ amdgpu-fan
Traceback (most recent call last):
File "/usr/bin/amdgpu-fan", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3239, in <module>
def _initialize_master_working_set():
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3222, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 3251, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 567, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 884, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.9/site-packages/pkg_resources/__init__.py", line 770, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'amdgpu-fan==0.0.6' distribution was not found and is required by the application
# now it's broken
$ sudo pacman -Rsn amdgpu-fan
$ yay amdgpu-fan
$ sudo systemctl restart amdgpu-fan.service
# now it's fixed
Presumably, this is a bug either in this project or in the AUR package.
from amdgpu-fan.
Related Issues (20)
- amdgpu-fan does not appear to be running HOT 4
- IndexError: too many indices for array HOT 2
- Doesn't appear to do anything HOT 2
- This doesn't work at all on Ubuntu 19.10 and this project appears dead. HOT 4
- R9 390: fan1_input - No such device HOT 2
- OSError: [Errno 22] Invalid argument HOT 6
- OSError: [Errno 22] Invalid argument
- Crash on amdgpu read timer expiration HOT 1
- Tidy up upon quitting controller
- amdgpu-fan service wont start? on Debian 11 HOT 3
- sudo pip install amdgpu-fan old code HOT 2
- Add openrc support HOT 1
- YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated
- ERROR: missing 1 required positional argument: 'Loader' HOT 4
- [ERROR] no compatible cards found
- KeyError: 'pwm1_min' HOT 3
- Service Error - OSError: [Errno 95] Operation not supported
- Explain The Following 'This environment is externally managed'?
- amdgpu-fan status
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amdgpu-fan.