我正在使用Ubuntu 12.04,当我从终端运行meld时得到AttributeError
:
$ meld file1.txt file2.txt
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display warnings.warn(str(e), _gtk.Warning)
/usr/bin/meld:126: GtkWarning: IA__gtk_icon_theme_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed gtk.icon_theme_get_default().append_search_path(meld.paths.icon_dir())
Traceback (most recent call last):
File "/usr/bin/meld", line 126, in <module>
gtk.icon_theme_get_default().append_search_path(meld.paths.icon_dir())
AttributeError: 'NoneType' object has no attribute 'append_search_path'
这是什么错误,我该如何纠正?
答案 0 :(得分:0)
启动xming
,然后运行meld
命令。