Package Details: auto-cpufreq 2.3.0-0

Git Clone URL: https://aur.archlinux.org/auto-cpufreq.git (read-only, click to copy)
Package Base: auto-cpufreq
Description: Automatic CPU speed & power optimizer
Upstream URL: https://github.com/AdnanHodzic/auto-cpufreq
Licenses: LGPL-3.0-or-later
Submitter: liljaylj
Maintainer: liljaylj (parmjot, MusicalArtist12)
Last Packager: parmjot
Votes: 76
Popularity: 4.05
First Submitted: 2020-10-29 00:09 (UTC)
Last Updated: 2024-05-09 19:27 (UTC)

Pinned Comments

liljaylj commented on 2021-06-03 12:13 (UTC)

@coxe87b you don't need to --install daemon manually, this package contains systemd service already. instead, you need to start and enable service using: systemctl enable --now auto-cpufreq.service

Latest Comments

1 2 3 4 5 6 .. 9 Next › Last »

FosRex commented on 2024-05-10 09:05 (UTC) (edited on 2024-05-10 09:05 (UTC) by FosRex)

Think you need to add python-pyinotify as dependency.

+1

After the recent update I get this error:

Traceback (most recent call last):
  File "/usr/bin/auto-cpufreq", line 5, in <module>
    from auto_cpufreq.bin.auto_cpufreq import main
  File "/usr/lib/python3.12/site-packages/auto_cpufreq/bin/auto_cpufreq.py", line 14, in <module>
    from auto_cpufreq.core import *
  File "/usr/lib/python3.12/site-packages/auto_cpufreq/core.py", line 29, in <module>
    from auto_cpufreq.utils.config import config
  File "/usr/lib/python3.12/site-packages/auto_cpufreq/utils/config.py", line 2, in <module>
    from auto_cpufreq.utils.config_event_handler import ConfigEventHandler
  File "/usr/lib/python3.12/site-packages/auto_cpufreq/utils/config_event_handler.py", line 1, in <module>
    import pyinotify
ModuleNotFoundError: No module named 'pyinotify'

After installing python-pyinotify, the issue is resolved.

harry commented on 2024-05-09 20:02 (UTC)

Think you need to add python-pyinotify as dependency.

parmjot commented on 2024-05-02 22:15 (UTC) (edited on 2024-05-02 22:16 (UTC) by parmjot)

@lalaluke the dependencies should be pulled, as they themselves are depended on the dependencies of auto-cpufreq, namely python-requests. I believe that the build dependencies that you have listed should also be pulled. Please configure your AUR helper correctly, since makepkg can pull them just fine within a clean chroot.

parmjot commented on 2024-05-02 01:51 (UTC)

@Lalaluke413 is the first list to build the package? The second list should be general dependencies. I'll have a look and see what's wrong

Lalaluke413 commented on 2024-05-02 01:40 (UTC)

I had to manually install the following packages to install: python-jinja python-markupsafe python-packaging python-fastjsonschema

and the following packages to run: python-urllib3 python-charset-normalizer python-idna

parmjot commented on 2024-04-28 08:07 (UTC)

I have pushed an update to trigger a rebuild for Python 3.12. This should not change any behaviour.

FosRex commented on 2024-04-28 07:53 (UTC)

@Misaka13514 Yes, I have updated to python 3.12, reinstalling auto-cpufreq with clean build fixed it for me, but thanks for the command I am reinstalling all the AUR pacakges.

Misaka13514 commented on 2024-04-28 07:48 (UTC)

@FosRex Have you updated to Python 3.12? You need to rebuild and reinstall all AUR Python 3.11 package. yay -Qoq /usr/lib/python3.11 | yay -Qmq - | yay -S --answerclean All --rebuildall -

parmjot commented on 2024-04-28 07:45 (UTC)

Strange, when I reinstalled it, it broke for me. Something is going on...

FosRex commented on 2024-04-28 07:44 (UTC)

@parmjot reinstalling fixed it thanks