Package Details: throttled 0.6-2

Git Clone URL: https://aur.archlinux.org/throttled.git (read-only)
Package Base: throttled
Description: Workaround for Intel throttling issues in Linux.
Upstream URL: https://github.com/erpalma/throttled
Licenses: MIT
Conflicts: lenovo-throttling-fix, lenovo-throttling-fix-git
Provides: lenovo-throttling-fix, throttled
Submitter: dude
Maintainer: dude
Last Packager: dude
Votes: 9
Popularity: 2.920021
First Submitted: 2019-02-13 18:52
Last Updated: 2019-04-18 19:54

Required by (0)

Sources (1)

Latest Comments

dude commented on 2019-05-16 00:00

I think your setup is an unusual one. Most people will have their python binary pointing to python3, since that is the default for Arch. For now I will leave it as is, and if anyone else has the same issue I will consider changing.

Magbed commented on 2019-05-15 23:18

Sorry about the poor writing, It was late. Yes ,I had a symlink from python to python2. Since this package is only buildable using python3 I fixed my error by modifying the PKGBUILD to call python3 directly.

dude commented on 2019-05-15 15:12

@Magbed What do you mean you have python pointing to python2? You made a symlink?

Magbed commented on 2019-05-15 13:07

==> Validating source files with sha256sums... throttled-0.6.tar.gz ... Passed ==> Extracting sources... -> Extracting throttled-0.6.tar.gz with bsdtar ==> Starting prepare()... ==> Starting build()... Compiling lenovo_fix.py ... File "lenovo_fix.py", line 183 res = re.search(rb'online:\s+(yes|no)', out).group(1).decode().strip() ^ SyntaxError: invalid syntax ==> ERROR: A failure occurred in build(). Aborting... error: failed to build 'throttled'

Getting this error when trying to build this package

EDIT: Found the issue this package uses python which i have pointing to python2. This we should make so the package calls python3 directly?

dude commented on 2019-04-18 19:41

@volsa Good catch. Arch packages don't usually enable services by default, but I agree that there should be a message telling the user which service they need to enable. I will add a post-install hook. Thanks for letting me know!

volsa commented on 2019-04-18 16:22

Hi, first of all thanks for the package! I recognized that the systemd-service isn't enabled by default. Shouldn't the user be at least notified about that via a post-install hook?

dude commented on 2019-02-13 16:11

@jshap70 I was considering that, but I wanted to remain consistent with the naming for the other package, lenovo-throttling-fix-git. I'm worried that throttled is so non-descriptive that no one will know what it's for. It was only recently that the upstream maintainers changed the name from lenovo-throttling-fix.

jshap70 commented on 2019-02-13 15:54

afaict this package should be renamed to throttled