2014-03-13 40 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命令。