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 broken #15978

Closed
jluttine opened this issue Jun 4, 2016 · 2 comments · Fixed by #16670
Closed

Guake broken #15978

jluttine opened this issue Jun 4, 2016 · 2 comments · Fixed by #16670

Comments

@jluttine
Copy link
Member

jluttine commented Jun 4, 2016

Issue description

Guake doesn't work:

$ guake

** (process:22080): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'

** (process:22080): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'

** (process:22080): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
Traceback (most recent call last):
  File "/nix/store/34sscviv2lpz6vr308gg99rdc2hbhlis-python-2.7.11/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/nix/store/34sscviv2lpz6vr308gg99rdc2hbhlis-python-2.7.11/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/nix/store/xph3irbygcsgja7ra0ar5bsyqm0n8k5z-guake-0.8.3/lib/python2.7/site-packages/guake/main.py", line 239, in <module>
    exec_main()
  File "/nix/store/xph3irbygcsgja7ra0ar5bsyqm0n8k5z-guake-0.8.3/lib/python2.7/site-packages/guake/main.py", line 230, in exec_main
    if not test_gconf():
  File "/nix/store/xph3irbygcsgja7ra0ar5bsyqm0n8k5z-guake-0.8.3/lib/python2.7/site-packages/guake/common.py", line 52, in test_gconf
    return c.dir_exists('/apps/guake')
glib.GError: Failed to contact configuration server; the most common cause is a missing or misconfigured D-Bus session bus daemon. See http://projects.gnome.org/gconf/ for information. (Details -  1: GetIOR failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.GConf was not provided by any .service files)

Steps to reproduce

Install and run guake.

Technical details

  • System: (NixOS: nixos-version, Ubuntu/Fedora: lsb_release -a, ...)
$ nixos-version
16.03.898.3111985 (Emu)
  • Nix version: (run nix-env --version)
$ nix-env --version
nix-env (Nix) 1.11.2
  • Nixpkgs version: (run nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion)
$ nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion
"16.03.898.3111985"
@rasendubi
Copy link
Member

I see the similar D-Bus error for another package. I'm able to workaround it by installing gconf with nix-env along with instructions from https://nixos.org/wiki/Solve_GConf_errors_when_running_GNOME_applications.

Could you please test if that works for you?

rasendubi added a commit to rasendubi/nixpkgs that referenced this issue Jul 2, 2016
@rasendubi
Copy link
Member

Update: installing gnome.GConf or gnome3.gconf either globally or locally through nix-env is the only thing that was required for me. I've fixed the issue for my package by adding gconf to propagatedUserEnvPkgs. I've tested and this works for guake, too.

I've provided a patch #16670.

abbradar pushed a commit that referenced this issue Jul 5, 2016
This fixes #15978.

(cherry picked from commit 2bd7855)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants