Package Details: autokey-common 0.96.0-6

Git Clone URL: https://aur.archlinux.org/autokey.git (read-only, click to copy)
Package Base: autokey
Description: A desktop automation utility for Linux and X11 - common data
Upstream URL: https://github.com/autokey/autokey
Licenses: GPL-3.0-or-later
Conflicts: autokey
Provides: autokey
Submitter: dark-saber
Maintainer: yochananmarqos
Last Packager: yochananmarqos
Votes: 69
Popularity: 0.000192
First Submitted: 2019-02-12 12:21 (UTC)
Last Updated: 2024-12-13 02:22 (UTC)

Latest Comments

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

nfs commented on 2024-12-23 01:02 (UTC) (edited on 2024-12-23 01:24 (UTC) by nfs)

autokey fails to run after today's arch update. The relevant result pertains to the module imghdr being missing when I try to run autokey-qt:

File "/usr/lib/python3.13/site-packages/autokey/scripting/highlevel.py", line 9, in <module> import imghdr ModuleNotFoundError: No module named 'imghdr'

OriL commented on 2024-09-12 19:35 (UTC)

ModuleNotFoundError: No module named 'asyncore' python version is 3.12 now this package not exist. how to fix it?

ectospasm commented on 2024-05-02 19:33 (UTC)

Thank you for the quick turnaround!

Tio commented on 2024-05-01 22:30 (UTC) (edited on 2024-05-01 23:40 (UTC) by Tio)

Sorry about that. I will pay more attention next time. Thank you for fixing!

EDIT: It is just that for me the 0.96.0-6 still does not work. Same error.

EDIT 2: I cleaned the cache and all works now.

yochananmarqos commented on 2024-05-01 22:25 (UTC)

@Tio: Please delete your comment, we don't need spam logs for an issue I already fixed about 6 hours ago. Please also read recent comments to see if anyone else is having an issue before commenting.

Having said that, I do appreciate your feedback normally.

matthewls commented on 2024-05-01 16:58 (UTC)

Thank you @simona, @inifinteh, and @yochananmarqos

simona commented on 2024-05-01 16:32 (UTC)

now perfect

yochananmarqos commented on 2024-05-01 16:29 (UTC)

It's fixed with 0.96.0-6.

infiniteh commented on 2024-05-01 16:21 (UTC)

The permission errors come from these lines in the PKGBUILD:

python -m compileall -d "${pkgdir}${site_packages}/$pkgbase"
python -O -m compileall -d "${pkgdir}${site_packages}/$pkgbase"

Looks like the compileall module needs a positional argument. From the python docs:

Positional arguments are files to compile or directories that contain source files, traversed recursively. If no argument is given, behave as if the command line was -l <directories from sys.path>.

So the compilation step ends up looking in sys.path for files to compile, hence the permission errors. Here's what worked for me. I'm not sure if my destination directory (-d) is correct, but it gets the packages installed and working:

python -m compileall -d "${site_packages}" "${pkgdir}${site_packages}/$pkgbase"
python -O -m compileall -d "${site_packages}" "${pkgdir}${site_packages}/$pkgbase"