gnome_dbus_interface_setup() imports dbus inside the try block but catches dbus.exceptions.DBusException. If the import itself raises ImportError -- dbus-python is only installed on Linux -- the name dbus is unbound, so the ImportError is not caught and merely evaluating the except clause raises NameError. Catch Exception instead. |
||
|---|---|---|
| .. | ||
| hid_parser | ||
| hidapi | ||
| keysyms | ||
| logitech_receiver | ||
| solaar | ||