Hi guys! I have been using this package for a long time without any problems, but last system upgrade something weird occurred. When I try to launch caffeine from plasma menu, the app doesn't start and I get this in the journal:
caffeine[10853]: File "/usr/bin/caffeine", line 3, in <module>
caffeine[10853]: from caffeine.cli import cli
caffeine[10853]: File "/usr/lib/python3.13/site-packages/caffeine/__init__.py", line 37, in <module>
caffeine[10853]: File "/usr/lib/python3.13/site-packages/caffeine/__init__.py", line 30, in init_translations
systemd[829]: app-caffeine@dc6941742c114263b927c8a30f445299.service: Main process exited, code=exited, status=1/FAILURE
systemd[829]: app-caffeine@dc6941742c114263b927c8a30f445299.service: Failed with result 'exit-code'.
But, if I launch it from a terminal, it works:
> caffeine &
[1] 11541
(caffeine:11541): libayatana-appindicator-WARNING **: 12:18:19.401: libayatana-appindicator is deprecated. Please use libayatana-appindicator-glib in newly written code.
No property specified.
Very weird! I rebuilt the dependencies packages just in case, but the results are the same. Any ideas what could be wrong with my system? I know is a big ask without reveling anything else but I understand this is not a support forum. Just want to check if somebody experienced something like this in the past so could give me a hint.
Thanks in advance!.
Pinned Comments
whynothugo commented on 2023-05-05 09:34 (UTC)
After an upgrade to Python 3.11, you need to rebuild this package (and all Python packages in the AUR).