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

Guake does not work #1119

Closed
couragelfyang opened this issue Jan 20, 2018 · 9 comments
Closed

Guake does not work #1119

couragelfyang opened this issue Jan 20, 2018 · 9 comments
Milestone

Comments

@couragelfyang
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 = 94.80519480519477
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: 1023
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 = 94.80519480519477
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: 1023
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
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)
`

How can I solve this issue?

@couragelfyang couragelfyang changed the title Guake can not run? Guake does not work Jan 20, 2018
@egmontkob
Copy link

Looks the same as #1105. The dev/gsemet branch works for me currently, the fixes are apparently yet to be merged back to master by the developer.

@gsemet
Copy link
Member

gsemet commented Jan 20, 2018

dev/gsemet has been merged on master. so you should be able to take the HEAD and should work

@gsemet gsemet added this to the 3.0.2 milestone Jan 20, 2018
@couragelfyang
Copy link
Author

@stibbons
Well, I don't think so. I've remake the latest code and get same error.

@gsemet
Copy link
Member

gsemet commented Jan 21, 2018

make install-system works on debian/ubuntu. You are using arch, isn't ? never used it, is there an installer ready to go to start it on a wm ?

@aichingm
Copy link
Collaborator

aichingm commented Jan 21, 2018

I think this is a different error, nothing related to packaging. I can trigger it by setting Run command as a login shell

Traceback (most recent call last):
  File "/home/mario/programming/guake/guake/guake_app.py", line 1265, in accel_add
    self.add_tab()
  File "/home/mario/programming/guake/guake/guake_app.py", line 1736, in add_tab
    pid = self.spawn_sync_pid(directory, box.terminal)
  File "/home/mario/programming/guake/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)
Traceback (most recent call last):
  File "/home/mario/programming/guake/guake/guake_app.py", line 1265, in accel_add
    self.add_tab()
  File "/home/mario/programming/guake/guake/guake_app.py", line 1736, in add_tab
    pid = self.spawn_sync_pid(directory, box.terminal)
  File "/home/mario/programming/guake/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)

The error is GLib.Error: g-exec-error-quark: Failed to execute child process “-” (No such file or directory) (8) in file /usr/lib/python3.6/site-packages/guake/guake_app.py on line 1668

@narukamiko are you using the Run command as a login shell option?

@couragelfyang
Copy link
Author

@aichingm
I don't know. Now I cannot launch guake so I cannot check the configuration.

@aichingm
Copy link
Collaborator

@narukamiko could you try to run it from my branch?

git clone https://github.com/aichingm/guake
git checkout fix-login-shell
make dev
make run

@couragelfyang
Copy link
Author

@aichingm
Yes, it works. So this branch will be merged to master? When?

@aichingm
Copy link
Collaborator

Good, I will open a pr.

@narukamiko for the moment do this:

  1. install from my branch
  2. disable the Run command as a login shell option.
  3. install from current master
  4. don't turn Run command as a login shell on until my pr is merged into master

Note: I force pushed an commit onto my branch so reclone the whole repo or force pull!

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

4 participants