Nixpkgs: Guake broken

Created on 4 Jun 2016  路  2Comments  路  Source: NixOS/nixpkgs

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"
bug python

Most helpful comment

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 https://github.com/NixOS/nixpkgs/pull/16670.

All 2 comments

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?

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 https://github.com/NixOS/nixpkgs/pull/16670.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lverns picture lverns  路  3Comments

rzetterberg picture rzetterberg  路  3Comments

edolstra picture edolstra  路  3Comments

ob7 picture ob7  路  3Comments

grahamc picture grahamc  路  3Comments