Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug(linux): DBusException during uninstall #12902

Open
ermshiperete opened this issue Jan 15, 2025 · 1 comment
Open

bug(linux): DBusException during uninstall #12902

ermshiperete opened this issue Jan 15, 2025 · 1 comment
Assignees
Milestone

Comments

@ermshiperete
Copy link
Contributor

ermshiperete commented Jan 15, 2025

During an uninstall an DBusException "org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying" can happen if restarting ibus takes too long and so we already try to reload the list of keyboards while it restarts.

Call stack:

DBusException: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
  File "keyman_config/keyboard_layouts_widget.py", line 156, in on_uninstall_clicked
    msg = uninstall_kmp(model[treeiter][Model.PACKAGEID])
  File "keyman_config/uninstall_kmp.py", line 155, in uninstall_kmp
    get_keyman_config_service().keyboard_list_changed()
  File "keyman_config/dbus_util.py", line 81, in keyboard_list_changed
    self.__service.keyboard_list_changed()
  File "dbus/proxies.py", line 141, in __call__
    return self._connection.call_blocking(self._named_service,
  File "dbus/connection.py", line 652, in call_blocking
    reply_message = self.send_message_with_reply_and_block(

We should catch and ignore the exception in this case (and probably try to get the list of keyboards again).

Sentry Issue: KEYMAN-LINUX-7J

Copy link

sentry-io bot commented Jan 15, 2025

Sentry Issue: KEYMAN-LINUX-7J

@ermshiperete ermshiperete added this to the A18S20 milestone Jan 15, 2025
@ermshiperete ermshiperete self-assigned this Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant