Gentoo Archives: gentoo-dev

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] showing file diffs as root
Date: Mon, 31 May 2010 12:58:01
Message-Id: 1275310666.13948.9.camel@gdartigu.lan.rep.sj
In Reply to: [gentoo-dev] showing file diffs as root by Christopher Harvey
1 Le dimanche 30 mai 2010 à 10:59 -0400, Christopher Harvey a écrit :
2 > -----BEGIN PGP SIGNED MESSAGE-----
3 > Hash: SHA1
4 >
5 > Hello gentoo-dev,
6 >
7 > I'm working on an app for GSoC that needs to show a diff of two files
8 > to the user. Right now I've just been calling meld from the python
9 > os.system call. I tried running my application as root to show diffs
10 > of system files that belong to root. I got this error:
11 >
12 > Traceback (most recent call last):
13 > File "/usr/bin/meld", line 90, in <module>
14 > meldapp.main()
15 > File "/usr/lib/meld/meldapp.py", line 982, in main
16 > app = MeldApp()
17 > File "/usr/lib/meld/meldapp.py", line 562, in __init__
18 > self.prefs = MeldPreferences()
19 > File "/usr/lib/meld/meldapp.py", line 435, in __init__
20 > super(MeldPreferences, self).__init__("/apps/meld", self.defaults)
21 > File "/usr/lib/meld/prefs.py", line 92, in __init__
22 > self._gconf.add_dir(rootkey, gconf.CLIENT_PRELOAD_NONE)
23 > glib.GError: Failed to contact configuration server; some possible
24 > causes are that you need to enable TCP/IP networking for ORBit, or you
25 > have stale NFS locks due to a system crash. See
26 > http://projects.gnome.org/gconf/ for information. (Details - 1:
27 > Failed to get connection to session: Did not receive a reply. Possible
28 > causes include: the remote application did not send a reply, the
29 > message bus security policy blocked the reply, the reply timeout
30 > expired, or the network connection was broken.)
31 >
32 > I haven't looked into why this is happening very much
33
34 https://bugs.gentoo.org/show_bug.cgi?id=286577
35 https://bugs.gentoo.org/show_bug.cgi?id=302597
36
37 and probably a couple more duplicates.
38
39 --
40 Gilles Dartiguelongue <eva@g.o>
41 Gentoo