meld on OS X 10.7 doesn't work?

核能气质少年 提交于 2019-12-08 16:17:54

问题


I'm installing meld on Mac OS using port.

It has downloaded all dependencies and told that everything is ok:

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.

but when I run:

[18:28:24]~$ meld

Traceback (most recent call last):

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

what is the problem and how to deal with it?


回答1:


setting

export LANG=C; export LC_ALL=C

fixed the problem and let meld run.



来源:https://stackoverflow.com/questions/11892957/meld-on-os-x-10-7-doesnt-work

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!