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

Crashes when invoked on calibre #27

Open
stuartlangridge opened this issue Jun 4, 2018 · 1 comment
Open

Crashes when invoked on calibre #27

stuartlangridge opened this issue Jun 4, 2018 · 1 comment

Comments

@stuartlangridge
Copy link

When attempting to summon the HUD in a Calibre window (either the main book list or the book editor), the following traceback is generated from an error. Later, apport pops up with its complaint. (And the HUD doesn't work in Calibre, of course, given the error.)

Traceback (most recent call last):
  File "/usr/lib/mate-hud/mate-hud", line 464, in hud
    appmenu_success = try_appmenu_interface(int(window_id, 16))
  File "/usr/lib/mate-hud/mate-hud", line 299, in try_appmenu_interface
    expanse_all_menu_with_dbus(dbusmenu_root_item[1], True, "")
  File "/usr/lib/mate-hud/mate-hud", line 277, in expanse_all_menu_with_dbus
    dbusmenu_object_iface.AboutToShow(item_id)
  File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python3/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.AttributeError: Traceback (most recent call last):
  File "/usr/lib/calibre/calibre/utils/dbus_service.py", line 924, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/lib/calibre/calibre/gui2/dbus_export/menu.py", line 349, in AboutToShow
    return self.menu.handle_about_to_show(ac)
  File "/usr/lib/calibre/calibre/gui2/dbus_export/menu.py", line 268, in handle_about_to_show
    ac.menu().aboutToShow.emit()
AttributeError: 'ExportedMenuBar' object has no attribute 'aboutToShow'

@vkareh
Copy link
Member

vkareh commented Jun 5, 2018

I can't get this error to come up, but I do get the following message:

INFO:root:Unable to access dbusmenu items.

This also happens with VLC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants