Giter VIP home page Giter VIP logo

Comments (2)

duckduck1 avatar duckduck1 commented on August 17, 2024 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.

hirowatari avatar hirowatari commented on August 17, 2024 1

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.