Bug#685164: meld crashed with GError in __init__(): No D-BUS daemon running
Bálint Réczey
balint at balintreczey.hu
Wed Aug 22 22:47:50 UTC 2012
Hi,
2012/8/17 <tshepang at gmail.com>:
> Package: meld
> Version: 1.6.0-1
>
>
> =============================
>
> ProblemType: Crash
> Architecture: amd64
> Date: Fri Aug 17 17:28:25 2012
> Dependencies:
...
> DistroRelease: Debian testing
> ExecutablePath: /usr/bin/meld
> InterpreterPath: /usr/bin/python2.7
> Package: meld 1.6.0-1
> PackageArchitecture: all
> ProcCmdline: /usr/bin/python /usr/bin/meld .
> ProcEnviron:
> TERM=screen
> SHELL=/bin/bash
> PATH=(custom, no user)
> LANG=en_ZA.UTF-8
> LANGUAGE=en_ZA:en
> ProcMaps:
...
> PythonArgs: ['/usr/bin/meld', '.']
> SourcePackage: meld
> Title: meld crashed with GError in __init__(): No D-BUS daemon running
> Traceback:
> Traceback (most recent call last):
> File "/usr/bin/meld", line 138, in <module>
> main()
> File "/usr/bin/meld", line 129, in main
> from meld.meldapp import app
> File "/usr/lib/meld/meld/meldapp.py", line 199, in <module>
> app = MeldApp()
> File "/usr/lib/meld/meld/meldapp.py", line 113, in __init__
> self.prefs = preferences.MeldPreferences()
> File "/usr/lib/meld/meld/preferences.py", line 265, in __init__
> super(MeldPreferences, self).__init__("/apps/meld", self.defaults)
> File "/usr/lib/meld/meld/util/prefs.py", line 93, in __init__
> self._gconf.add_dir(rootkey, gconf.CLIENT_PRELOAD_NONE)
> GError: No D-BUS daemon running
> Uname: Linux 3.2.0-3-amd64 x86_64
> UserGroups: audio cdrom dialout dip floppy fuse plugdev sudo video
>
It seems you tried running meld without D-Bus running (or as root)
like in this case:
https://bugs.launchpad.net/ubuntu/+source/meld/+bug/269787
Meld itself does not use D-Bus, but gconf does.
I think using D-Bus from gconf is unavoidable thus we are left with a
few workarounds.
You can start D-Bus daemon by running gnome-session or fake it
according to the following guide:
http://stackoverflow.com/questions/257658/how-can-i-make-a-fake-active-session-for-gconf
Cheers,
Balint
More information about the pkg-gnome-maintainers
mailing list