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

Exception when opening Guake in Wayland #1215

Closed
cjustin88 opened this issue Mar 26, 2018 · 1 comment · Fixed by #1216
Closed

Exception when opening Guake in Wayland #1215

cjustin88 opened this issue Mar 26, 2018 · 1 comment · Fixed by #1216

Comments

@cjustin88
Copy link

I think this is related to #1071. I have tried the latest master and tag 3.0.4.

connection.py:651:call_blocking:dbus.exceptions.DBusException: org.freedesktop.DBus.Python.NameError: Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/guake/utils.py", line 31, in get_server_time
    return GdkX11.x11_get_server_time(widget.get_window())
TypeError: argument window: Expected GdkX11.X11Window, but got __gi__.GdkWaylandWindow

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib64/python3.6/site-packages/dbus/service.py", line 707, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/local/lib/python3.6/site-packages/guake/dbusiface.py", line 45, in show_hide
    self.guake.show_hide()
  File "/usr/local/lib/python3.6/site-packages/guake/guake_app.py", line 769, in show_hide
    self.set_terminal_focus()
  File "/usr/local/lib/python3.6/site-packages/guake/guake_app.py", line 889, in show
  File "/usr/local/lib/python3.6/site-packages/guake/utils.py", line 36, in get_server_time
    return get_local_timestamp()
NameError: name 'get_local_timestamp' is not defined


Traceback (most recent call last):
  File "/usr/local/bin/guake", line 10, in <module>
    sys.exit(exec_main())
  File "/usr/local/lib/python3.6/site-packages/guake/main.py", line 356, in exec_main
    if not main():
  File "/usr/local/lib/python3.6/site-packages/guake/main.py", line 333, in main
    remote_object.show_hide()
  File "/usr/lib64/python3.6/site-packages/dbus/proxies.py", line 70, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib64/python3.6/site-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib64/python3.6/site-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.NameError: Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/guake/utils.py", line 31, in get_server_time
    return GdkX11.x11_get_server_time(widget.get_window())
TypeError: argument window: Expected GdkX11.X11Window, but got __gi__.GdkWaylandWindow

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib64/python3.6/site-packages/dbus/service.py", line 707, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/local/lib/python3.6/site-packages/guake/dbusiface.py", line 45, in show_hide
    self.guake.show_hide()
  File "/usr/local/lib/python3.6/site-packages/guake/guake_app.py", line 769, in show_hide
    self.set_terminal_focus()
  File "/usr/local/lib/python3.6/site-packages/guake/guake_app.py", line 889, in show
  File "/usr/local/lib/python3.6/site-packages/guake/utils.py", line 36, in get_server_time
    return get_local_timestamp()
NameError: name 'get_local_timestamp' is not defined


Local variables in innermost frame:
message: <dbus.lowlevel.MethodCallMessage path: /org/guake3/RemoteControl, iface: n/a, member: show_hide dest: :1.690>
get_args_opts: {'byte_arrays': False}
kwargs: {}
byte_arrays: False
timeout: -1.0
args: ()
signature: None
method: 'show_hide'
dbus_interface: None
object_path: '/org/guake3/RemoteControl'
bus_name: dbus.String(':1.690')
self: <dbus._dbus.SessionBus (session) at 0x7fd511428f68>
gsemet added a commit to gsemet/guake that referenced this issue Mar 26, 2018
gsemet added a commit that referenced this issue Mar 26, 2018
@cjustin88
Copy link
Author

Thanks, I confirm that #1216 fixes it.

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

Successfully merging a pull request may close this issue.

1 participant