gpt4 book ai didi

python - 从终端运行 Meld 时出现 AttributeError

转载 作者:太空宇宙 更新时间:2023-11-03 12:07:49 25 4
gpt4 key购买 nike

我正在使用 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'

这是什么错误,我该如何纠正?

最佳答案

启动xming 然后运行meld 命令。

关于python - 从终端运行 Meld 时出现 AttributeError,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22371623/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com