FS#74784 - [screenkey] missing dependency on dbus-python

Attached to Project: Community Packages
Opened by Xu Che (Shidao) - Wednesday, 18 May 2022, 11:47 GMT
Last edited by Morten Linderud (Foxboron) - Tuesday, 23 August 2022, 18:03 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 0
Private No

Details

Description:
dbus-python is a dependency of package screenkey, but it's not listed in the dependencies.

console output of screenkey when dbus-python is missing:

Gtk-Message: 19:38:41.588: Failed to load module "appmenu-gtk-module"
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
ImportError: cannot import name 'SessionBus' from 'dbus' (unknown location)
This task depends upon

Closed by  Morten Linderud (Foxboron)
Tuesday, 23 August 2022, 18:03 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.5-2

Loading...