[issue1071] Binary install on OS X 10.5 fails; needs .profile update
Peter Arrenbrecht
mercurial-bugs at selenic.com
Wed Apr 2 04:20:29 CDT 2008
New submission from Peter Arrenbrecht <peter.arrenbrecht at gmail.com>:
After a fresh install on Leopard, I get
handbag:hg peo$ hg clone http://selenic.com/repo/hg up-hg
Traceback (most recent call last):
File "/usr/local/bin/hg", line 18, in <module>
mercurial.util.set_binary(fp)
File "/Library/Python/2.5/site-packages/mercurial/demandimport.py", line 74, in
__getattribute__
self._load()
File "/Library/Python/2.5/site-packages/mercurial/demandimport.py", line 46, in _load
mod = _origimport(head, globals, locals)
File "/Library/Python/2.5/site-packages/mercurial/util.py", line 33, in <module>
_encoding = locale.getlocale()[1]
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/locale.py", line
460, in getlocale
return _parse_localename(localename)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/locale.py", line
373, in _parse_localename
raise ValueError, 'unknown locale: %s' % localename
ValueError: unknown locale: UTF-8
This was fixed by adding
export LC_ALL=en_EN.UTF-8
export LANG=en_EN.UTF-8
to ~/.profile.
----------
messages: 5804
nosy: lcantey, parren
priority: bug
status: chatting
title: Binary install on OS X 10.5 fails; needs .profile update
topic: release
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1071>
____________________________________________________
More information about the Mercurial-devel
mailing list