[issue1361] Install on Mac OSX doesn't work

Mark mercurial-bugs at selenic.com
Fri Oct 24 14:09:51 CDT 2008


New submission from Mark <tesujisoftware at gmail.com>:

I downloaded the installer for Mac OSX (Leopard). I already have Python 2.5
installed (came with the OS I believe). After installation, when I type 'hg
version' in a shell I get:

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 86, in <module>
    _encoding = locale.getlocale()[1]
  File
"/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/locale.py",
line 460, in getlocale
  File
"/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/locale.py",
line 373, in _parse_localename
ValueError: unknown locale: UTF-8

where I expected something like:

Mercurial Distributed SCM (version xxxxxx) etc...

What to do?

Mark

----------
messages: 7661
nosy: DutchMark
priority: critical
status: unread
title: Install on Mac OSX doesn't work

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1361>
____________________________________________________



More information about the Mercurial-devel mailing list