【问题标题】:install meld on mac lion with macport使用 macport 在 mac lion 上安装 meld
【发布时间】:2013-08-27 19:38:31
【问题描述】:

我已经用 macport 成功安装了 meld,但是启动后 meld 说:

Last login: Tue Aug 27 21:28:07 on ttys001
/opt/local/bin/meld ; exit;
iMac-di-Eros:~ Eros$ /opt/local/bin/meld ; exit;
Couldn't bind the translation domain. Some translations won't work.
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gobject/__init__.py:115: Warning: attempting to add an interface (GtkEditable) to class (HistoryFileEntry) after class_init
  type_register(cls, namespace.get('__gtype_name__'))
Traceback (most recent call last):
  File "/opt/local/bin/meld", line 138, in <module>
    main()
  File "/opt/local/bin/meld", line 129, in main
    from meld.meldapp import app
  File "/opt/local/lib/meld/meld/meldapp.py", line 199, in <module>
    app = MeldApp()
  File "/opt/local/lib/meld/meld/meldapp.py", line 113, in __init__
    self.prefs = preferences.MeldPreferences()
  File "/opt/local/lib/meld/meld/preferences.py", line 265, in __init__
    super(MeldPreferences, self).__init__("/apps/meld", self.defaults)
  File "/opt/local/lib/meld/meld/util/prefs.py", line 93, in __init__
    self._gconf.add_dir(rootkey, gconf.CLIENT_PRELOAD_NONE)
glib.GError: Contatto col server di configurazione non riuscito; tra le possibili cause la mancanza o l'errata configurazione del demone del bus di sessione D-Bus. Consultare http://projects.gnome.org/gconf/ per ulteriori informazioni (dettagli -  1: Recupero delle connessione alla sessione non riuscito: Session D-Bus not running. Try running `launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist'.).
logout

这个:

export PYTHONPATH=/usr/local/lib/python2.7/site-packages/

没用

有什么帮助吗? 谢谢

【问题讨论】:

    标签: macos osx-lion meld


    【解决方案1】:

    从命令行启动:

    launchctl load -w /Library/LaunchAgents/org.freedesktop.dbus-session.plist
    

    成功了

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-11-10
      • 2012-01-22
      • 2012-08-22
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多