在OS X 10.7上,Meld无法工作?

9

我正在使用port在Mac OS上安装meld。

它已经下载了所有依赖项并告诉我一切都很好:

Staging meld into destroot
Installing meld @1.5.3_0
Activating meld @1.5.3_0
Cleaning meld
Updating database of binaries: 100.0%
Scanning binaries for linking errors: 100.0%
No broken files found.

但是当我运行时:
[18:28:24]~$ meld

追溯(Traceback)(最近的调用在最上面):

File "/opt/local/bin/meld", line 75, in <module>

locale.setlocale(locale.LC_ALL,'')

File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/locale.py", line 539, in setlocale

return _setlocale(category, locale)

locale.Error: unsupported locale setting

什么是问题,以及如何处理它?

1个回答

17

设置

export LANG=C; export LC_ALL=C

问题已解决,现在能够运行meld。


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接