Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 942070

Summary: app-misc/solaar-1.1.13: missing dependency dev-python/dbus-python
Product: Gentoo Linux Reporter: xiaoming <xiangluoming2015>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: UNCONFIRMED ---    
Severity: normal CC: snaipperi
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description xiaoming 2024-10-24 12:50:50 UTC
Error of solaar --help:
`
Traceback (most recent call last):
  File "/usr/bin/solaar", line 54, in <module>
    import solaar.gtk
  File "/usr/lib/python3.12/site-packages/solaar/gtk.py", line 31, in <module>
    import solaar.cli as _cli
  File "/usr/lib/python3.12/site-packages/solaar/cli/__init__.py", line 25, in <module>
    import logitech_receiver.device as _device
  File "/usr/lib/python3.12/site-packages/logitech_receiver/device.py", line 38, in <module>
    from .settings_templates import check_feature_settings as _check_feature_settings
  File "/usr/lib/python3.12/site-packages/logitech_receiver/settings_templates.py", line 39, in <module>
    from .diversion import process_notification as _process_notification
  File "/usr/lib/python3.12/site-packages/logitech_receiver/diversion.py", line 32, in <module>
    import dbus
ModuleNotFoundError: No module named 'dbus'
`
Install dev-python/dbus-python fix it.
In Solaar/setup.py, it requires dbus-python.
Comment 1 Matti Eiden 2024-11-12 20:32:14 UTC
Affected solaar versions 1.1.13 and 1.1.12

This will be fixed in next solaar release: https://github.com/pwr-Solaar/Solaar/commit/500b9998c5fdab9f72845980a7ff8746ce1ab9a6

So presumably in 1.1.14 dbus will be optional again.
Comment 2 Matti Eiden 2024-11-12 20:38:30 UTC
Sorry for the spam. Small correction, the bug was already introduced in https://github.com/pwr-Solaar/Solaar/commit/91f1894e8bce3c965ce9335629f1346bb6d12ee4 so it affects also versions 1.1.11 and 1.1.10. Version 1.1.9 works fine.