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

2 issues - command options don't work, crash when disabling keybinding #1111

Closed
luisnabais opened this issue Jan 19, 2018 · 11 comments
Closed

Comments

@luisnabais
Copy link

luisnabais commented Jan 19, 2018

Description
If I run guake -t, or guake --hide, or guake --show, for example, I always get:

INFO:guake.guake_logging:Logging configuration complete
DEBUG:guake.guake_logging:Debug mode enabled
INFO:guake.main:Guake is already running

If I try to disable Keybinding for Toggle Visibility, as soon as I press Backspace, Guake crashes instantly.

i'm using Arch Linux.
This only happens in today's update, yesterday's version was working perfectly.
I tried removing the home folder for guake, but the issues remain.

I'm using GNOME, fully updated.

Additional info

  • package version(s)
    Guake Terminal 3.0.2+6+ge9df754

Steps to reproduce:
1.
Run in console/command line, any of the commands:

$ guake -t
$ guake --show
$ guake --hide

Go to Guake Preferences -> Keybindings -> Try to change keybinding for Toggle Visibility and press Backspace, to remove keybinding.

Thank you very much.
Best regards,
Luís Nabais

@gsemet
Copy link
Member

gsemet commented Jan 19, 2018

prefs panel is buggy indeed, and i already experienced you issue with "Guake is already running". DBus seems also to be not fully working

@presianbg
Copy link

Guake is not starting after upgrade from 0.8 to 3.0.2 on Arch Linux.

@gsemet
Copy link
Member

gsemet commented Jan 20, 2018

Which error?

@presianbg
Copy link

INFO:guake.guake_logging:Logging configuration complete
DEBUG:guake.guake_logging:Debug mode enabled
DEBUG:guake.main:DBus not running, starting it
INFO:guake.guake_logging:Logging configuration complete
DEBUG:guake.guake_app:set_final_window_rect
DEBUG:guake.guake_app:  height_percents = 83.54037267080744
DEBUG:guake.guake_app:  width_percents = 100.0
DEBUG:guake.guake_app:  halignment = 0
DEBUG:guake.guake_app:  valignment = 0
DEBUG:guake.guake_app:Current monitor geometry
DEBUG:guake.guake_app:  window_rect.x: 0
DEBUG:guake.guake_app:  window_rect.y: 0
DEBUG:guake.guake_app:  window_rect.height: 1080
DEBUG:guake.guake_app:  window_rect.width: 1920
DEBUG:guake.guake_app:is unity: False
DEBUG:guake.guake_app:Correcteed monitor size:
DEBUG:guake.guake_app:  total_width: 1920
DEBUG:guake.guake_app:  total_height: 1080
DEBUG:guake.guake_app:RESIZING MAIN WINDOW TO THE FOLLOWING VALUES:
DEBUG:guake.guake_app:  window_rect.x: 0
DEBUG:guake.guake_app:  window_rect.y: 0
DEBUG:guake.guake_app:  window_rect.height: 902
DEBUG:guake.guake_app:  window_rect.width: 1920
DEBUG:guake.guake_app:Updated window position: (root_x=0, root_y=0)
DEBUG:guake.guake_app:set_final_window_rect
DEBUG:guake.guake_app:  height_percents = 83.54037267080744
DEBUG:guake.guake_app:  width_percents = 100.0
DEBUG:guake.guake_app:  halignment = 0
DEBUG:guake.guake_app:  valignment = 0
DEBUG:guake.guake_app:Current monitor geometry
DEBUG:guake.guake_app:  window_rect.x: 0
DEBUG:guake.guake_app:  window_rect.y: 0
DEBUG:guake.guake_app:  window_rect.height: 1080
DEBUG:guake.guake_app:  window_rect.width: 1920
DEBUG:guake.guake_app:is unity: False
DEBUG:guake.guake_app:Correcteed monitor size:
DEBUG:guake.guake_app:  total_width: 1920
DEBUG:guake.guake_app:  total_height: 1080
DEBUG:guake.guake_app:RESIZING MAIN WINDOW TO THE FOLLOWING VALUES:
DEBUG:guake.guake_app:  window_rect.x: 0
DEBUG:guake.guake_app:  window_rect.y: 0
DEBUG:guake.guake_app:  window_rect.height: 902
DEBUG:guake.guake_app:  window_rect.width: 1920
DEBUG:guake.guake_app:Updated window position: (root_x=0, root_y=0)
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/dbus/bus.py", line 175, in activate_name_owner
    return self.get_name_owner(bus_name)
  File "/usr/lib/python3.6/site-packages/dbus/bus.py", line 361, in get_name_owner
    's', (bus_name,), **keywords)
  File "/usr/lib/python3.6/site-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.guake3.RemoteControl': no such name

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/guake/main.py", line 235, in main
    remote_object = bus.get_object(DBUS_NAME, DBUS_PATH)
  File "/usr/lib/python3.6/site-packages/dbus/bus.py", line 241, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib/python3.6/site-packages/dbus/proxies.py", line 248, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib/python3.6/site-packages/dbus/bus.py", line 180, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib/python3.6/site-packages/dbus/bus.py", line 278, in start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib/python3.6/site-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.guake3.RemoteControl was not provided by any .service files

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/guake", line 10, in <module>
    sys.exit(exec_main())
  File "/usr/lib/python3.6/site-packages/guake/main.py", line 344, in exec_main
    if not main():
  File "/usr/lib/python3.6/site-packages/guake/main.py", line 239, in main
    instance = Guake()
  File "/usr/lib/python3.6/site-packages/guake/guake_app.py", line 381, in __init__
    self.add_tab()
  File "/usr/lib/python3.6/site-packages/guake/guake_app.py", line 1736, in add_tab
    pid = self.spawn_sync_pid(directory, box.terminal)
  File "/usr/lib/python3.6/site-packages/guake/guake_app.py", line 1668, in spawn_sync_pid
    Vte.PtyFlags.DEFAULT, wd, argv, [], GLib.SpawnFlags.DO_NOT_REAP_CHILD, None, None, None
GLib.Error: g-exec-error-quark: Failed to execute child process “-” (No such file or directory) (8)

@gsemet
Copy link
Member

gsemet commented Jan 20, 2018

can you try a

make reset

to clean your settings?

@presianbg
Copy link

I'm not building it from source, just installing latest package.
How to clear the settings in this case ?

@gsemet
Copy link
Member

gsemet commented Jan 20, 2018

dconf reset -f /apps/guake/

@presianbg
Copy link

presianbg commented Jan 20, 2018

Thanks!

EDIT: If I change this and press "CTRL + D", guake is screwed (same error as above):
image

@aichingm
Copy link
Collaborator

@presianbg could you try it with HEAD? Should be fixed.

@gsemet
Copy link
Member

gsemet commented Jan 22, 2018

I don't reproduce

@gsemet gsemet closed this as completed Jan 22, 2018
@luisnabais
Copy link
Author

luisnabais commented Jan 23, 2018

Latest version (3.0.3) from yesterday (two days ago?) has the issue solved. Thanks a lot.

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

No branches or pull requests

4 participants