-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Had to make an edit to get the service to run properly #14
Comments
// 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:
|
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. |
So I noticed today that my amdgpu-fan service wasn't running (found out due to an overheating issue in a game). I had installed it using the pip3 installer and then to try and get the service running I downloaded the zip and moved the service file to /etc/systemd/system. After enabling I hadn't taken the time to check but apparently it was actually failing to start. Perhaps I am doing things wrong by combining installs but I had to edit the service file to point to /usr/local/bin instead of /usr/bin. Not a huge thing but it did take a little tweaking. Perhaps I am messing things up by downloading a separate service file but it is now working. Just for reference I am basically using ubuntu 18.04. With my tweak it seems to be working perfectly now. Thanks btw way for such a nice tool for keeping things working.
The text was updated successfully, but these errors were encountered: