Bug 2329600
| Summary: | autokey fails on missing python module imghdr | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Eric Lavarde <elavarde> | ||||
| Component: | autokey | Assignee: | Jonathan Wright <jonathan> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 41 | CC: | adenschgiese, jonathan, raghusiddarth | ||||
| Target Milestone: | --- | Keywords: | Regression | ||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| URL: | https://github.com/autokey/autokey/issues/961 | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | autokey-0.96.0-10.fc41 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2025-01-26 01:01:49 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Created attachment 2060444 [details]
Patch for /usr/lib/python3.13/site-packages/autokey/scripting/highlevel.py
FEDORA-2025-bebf7863d5 (autokey-0.96.0-10.fc41) has been submitted as an update to Fedora 41. https://bodhi.fedoraproject.org/updates/FEDORA-2025-bebf7863d5 FEDORA-2025-bebf7863d5 has been pushed to the Fedora 41 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-bebf7863d5` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-bebf7863d5 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2025-bebf7863d5 (autokey-0.96.0-10.fc41) has been pushed to the Fedora 41 stable repository. If problem still persists, please make note of it in this bug report. |
Since having upgraded to F41, autokey has stopped working: ``` $ autokey-gtk Traceback (most recent call last): File "/usr/bin/autokey-gtk", line 33, in <module> sys.exit(load_entry_point('autokey==0.96.0', 'console_scripts', 'autokey-gtk')()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/bin/autokey-gtk", line 25, in importlib_load_entry_point return next(matches).load() ~~~~~~~~~~~~~~~~~~^^ File "/usr/lib64/python3.13/importlib/metadata/__init__.py", line 179, in load module = import_module(match.group('module')) File "/usr/lib64/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], package, level) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1387, in _gcd_import File "<frozen importlib._bootstrap>", line 1360, in _find_and_load File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 935, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 1022, in exec_module File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "/usr/lib/python3.13/site-packages/autokey/gtkui/__main__.py", line 4, in <module> from autokey.gtkapp import Application File "/usr/lib/python3.13/site-packages/autokey/gtkapp.py", line 39, in <module> from autokey import service, monitor File "/usr/lib/python3.13/site-packages/autokey/service.py", line 36, in <module> import autokey.scripting File "/usr/lib/python3.13/site-packages/autokey/scripting/__init__.py", line 24, in <module> from . import highlevel File "/usr/lib/python3.13/site-packages/autokey/scripting/highlevel.py", line 9, in <module> import imghdr ModuleNotFoundError: No module named 'imghdr' ``` I would like to have the patch applied according to https://github.com/autokey/autokey/issues/961 and autokey depending on python3-imagesize to fix the issue (I tried and it works). Reproducible: Always Steps to Reproduce: 1. Start autokey-gtk (or probably -qt) Actual Results: Exception Expected Results: Works Autokey is my productivity booster, getting it fixed would be important.