FS#73396 - [screenkey] fails to work without dbus-python installed

Attached to Project: Community Packages
Opened by Brent Westbrook (bwestbro) - Monday, 17 January 2022, 16:33 GMT
Last edited by Toolybird (Toolybird) - Sunday, 14 May 2023, 05:51 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Morten Linderud (Foxboron)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

screenkey fails to work without dbus-python installed


Additional info:
* package version(s): screenkey 1.5-1
* config and/or log files etc.:
Traceback (most recent call last):
File "/usr/bin/screenkey", line 122, in <module>
main()
File "/usr/bin/screenkey", line 116, in main
exit(app.run())
File "/usr/lib/python3.10/site-packages/Screenkey/screenkey.py", line 1084, in run
self.start_lockscreen_detection()
File "/usr/lib/python3.10/site-packages/Screenkey/screenkey.py", line 1037, in start_lockscreen_detection
from dbus import SessionBus
ModuleNotFoundError: No module named 'dbus'


Steps to reproduce:
Install screenkey and make sure dbus-python is not installed. I was on a fresh Arch install, so I didn't have dbus-python. Installing that package fixed the issue with screenkey, so I think it needs to be added as a dependency. Uninstalling dbus-python brought the problem back.
This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 14 May 2023, 05:51 GMT
Reason for closing:  Fixed
Additional comments about closing:  screenkey 1.5-2
Comment by Brent Westbrook (bwestbro) - Monday, 17 January 2022, 16:36 GMT
I'm really sorry about the title. I can't figure out how to edit it, but it should be the same as the description
Comment by avimitin (avimitin) - Monday, 28 February 2022, 10:18 GMT
We need an addtional depends 'dbus-python'.

Loading...