Getting meld to work in Mac
After installing meld via ports
$ sudo port install meld
launching meld used to crash every single time
mini@Android$meld
Xlib: extension "RANDR" missing on display "/tmp/launch-BqCi3I/org.x:0".
Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded!
Traceback (most recent call last):
File "/opt/local/bin/meld", line 102, in
meldapp.main()
File "/opt/local/lib/meld/meldapp.py", line 921, in main
app = MeldApp()
File "/opt/local/lib/meld/meldapp.py", line 425, in __init__
self.prefs = MeldPreferences()
File "/opt/local/lib/meld/meldapp.py", line 366, in __init__
super(MeldPreferences, self).__init__("/apps/meld", self.defaults)
File "/opt/local/lib/meld/prefs.py", line 92, in __init__
self._gconf.add_dir(rootkey, gconf.CLIENT_PRELOAD_NONE)
glib.GError: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: Not enough memory)
Here is the fix (not don't run as sudo)
mini@Android$launchctl load -w /Library/LaunchDaemons/org.freedesktop.dbus-system.plist
mini@Android$launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
Now, meld will start as expected.
Labels: mac meld

0 Comments:
Post a Comment
<< Home