@schinfo I'm fairly certain I know where the problem lies, I'll push out a fix in a bit
Search Criteria
Package Details: auto-cpufreq 2.5.0-1
Package Actions
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: | parmjot (MusicalArtist12) |
Last Packager: | parmjot |
Votes: | 83 |
Popularity: | 1.37 |
First Submitted: | 2020-10-29 00:09 (UTC) |
Last Updated: | 2025-01-29 03:15 (UTC) |
Dependencies (16)
- dmidecode (dmidecode-gitAUR)
- gobject-introspection
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR, gtk3-classicAUR)
- python (python37AUR, python311AUR, python310AUR)
- python-click
- python-distro
- python-gobject
- python-psutil
- python-pyinotify
- python-requests
- python-setuptools
- python-build (make)
- python-installer (make)
- python-poetry-core (python-poetry-core-gitAUR) (make)
- python-poetry-dynamic-versioning (make)
- python-wheel (make)
Required by (0)
Sources (4)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 Next › Last »
MusicalArtist12 commented on 2023-11-22 15:04 (UTC)
Achilleus commented on 2023-11-22 12:45 (UTC) (edited on 2023-11-22 12:47 (UTC) by Achilleus)
File "/home/zbigniew/.cache/yay/auto-cpufreq/src/opt/auto-cpufreq/venv/lib/python3.11/site-packages/pip/_vendor/packaging/version.py", line 333, in pre
_pre: Optional[Tuple[str, int]] = self._version.pre
^^^^
UnboundLocalError: cannot access local variable '_pre' where it is not associated with a value
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully. │ exit code: 2 ╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip. ==> BŁĄD: Wystąpił błąd w build(). Przerywam... -> błąd podczas budowania: auto-cpufreq-exit status 4 -> Failed to install the following packages. Manual intervention is required: auto-cpufreq - exit status 4
schinfo commented on 2023-11-22 11:00 (UTC)
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [35 lines of output]
Traceback (most recent call last):
File "/build/auto-cpufreq/src/opt/auto-cpufreq/venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "/build/auto-cpufreq/src/opt/auto-cpufreq/venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/build/auto-cpufreq/src/opt/auto-cpufreq/venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 149, in prepare_metadata_for_build_wheel
return hook(metadata_directory, config_settings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-ry05knle/overlay/lib/python3.11/site-packages/poetry/core/masonry/api.py", line 42, in prepare_metadata_for_build_wheel
poetry = Factory().create_poetry(Path(".").resolve(), with_groups=False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-ry05knle/overlay/lib/python3.11/site-packages/poetry_dynamic_versioning/patch.py", line 26, in alt_poetry_create
name = _get_and_apply_version(
^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-ry05knle/overlay/lib/python3.11/site-packages/poetry_dynamic_versioning/__init__.py", line 485, in _get_and_apply_version
version = _get_version(config, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-ry05knle/overlay/lib/python3.11/site-packages/poetry_dynamic_versioning/__init__.py", line 312, in _get_version
version = _get_version_from_dunamai(vcs, pattern, config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-ry05knle/overlay/lib/python3.11/site-packages/poetry_dynamic_versioning/__init__.py", line 264, in _get_version_from_dunamai
return Version.from_vcs(
^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-ry05knle/overlay/lib/python3.11/site-packages/dunamai/__init__.py", line 1934, in from_vcs
return cls._do_vcs_callback(
^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-ry05knle/overlay/lib/python3.11/site-packages/dunamai/__init__.py", line 1973, in _do_vcs_callback
return callback(**kwargs)
^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-ry05knle/overlay/lib/python3.11/site-packages/dunamai/__init__.py", line 1066, in from_git
_detect_vcs(vcs, path)
File "/tmp/pip-build-env-ry05knle/overlay/lib/python3.11/site-packages/dunamai/__init__.py", line 355, in _detect_vcs
raise RuntimeError(
RuntimeError: This does not appear to be a Git project
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
==> ERROR: A failure occurred in build().
Aborting...
MusicalArtist12 commented on 2023-11-22 02:20 (UTC) (edited on 2023-11-22 02:21 (UTC) by MusicalArtist12)
Hey, I just pushed out 2.1.0. let me know if there are any issues.
MusicalArtist12 commented on 2023-11-19 22:10 (UTC)
@liljaylj are you still looking for a co-maintainer?
aaronrancsik commented on 2023-10-28 08:55 (UTC)
@parmjot Thanks for the update! Now it works fine for me.
parmjot commented on 2023-10-25 08:10 (UTC)
@liljaylj @aaronrancsik I've pushed an update, can you please check if it works now?
aaronrancsik commented on 2023-10-08 14:36 (UTC) (edited on 2023-10-08 14:36 (UTC) by aaronrancsik)
hi, The gtk gui is broken in this package.
Problems:
The style.css is not installed.
install -Dm755 scripts/style.css -t "$pkgdir/usr/share/$pkgname/scripts"
The site-packages/auto_cpufreq/gui/objects.py
referring /usr/local/share/auto-cpufreq/scripts/style.css
But in this package it should be available like this:
/usr/share/auto-cpufreq/scripts/style.css
The site-packages/auto_cpufreq/gui/objects.py
, /usr/lib/python3.11/site-packages/auto_cpufreq/gui/app.py
are referring /usr/share/pixmaps/auto-cpufreq/images/auto-cpufreq.png
But in this package it's available as:
/usr/share/pixmaps/auto-cpufreq.png
silensys commented on 2023-09-01 11:23 (UTC) (edited on 2023-09-01 11:23 (UTC) by silensys)
Thank you @liljaylj it seems it's working now without errors:
$ systemctl status auto-cpufreq.service
● auto-cpufreq.service - auto-cpufreq - Automatic CPU speed & power optimizer for Linux
Loaded: loaded (/usr/lib/systemd/system/auto-cpufreq.service; enabled; preset: disabled)
Active: active (running) since Fri 2023-09-01 13:19:12 CEST; 1min 43s ago
Main PID: 3596 (auto-cpufreq)
Tasks: 1 (limit: 9274)
Memory: 23.2M
CPU: 2.048s
CGroup: /system.slice/auto-cpufreq.service
└─3596 /usr/bin/python /usr/bin/auto-cpufreq --daemon
sep 01 13:19:12 arch systemd[1]: Started auto-cpufreq - Automatic CPU speed & power optimizer for Linux.
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