2014-03-13 15 views
3

运行MELD我使用Ubuntu 12.04和我得到一个AttributeError而从终端运行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

尝试用sudo运行meld“sudo meld” –

回答

0

开始xming然后运行meld命令。