Mercurial errors on icedtea.classpath.org
Gary Benson
gbenson at redhat.com
Mon Jan 28 06:01:09 PST 2008
Hi all,
If you are seeing this error:
remote: Traceback (most recent call last):
remote: File "/usr/bin/hg", line 10, in ?
remote: from mercurial import commands
remote: File "/var/lib/python-support/python2.4/mercurial/commands.py", line 2559, in ?
remote: globalopts = [
remote: File "/var/lib/python-support/python2.4/mercurial/demandload.py", line 61, in __getattribute__
remote: module = object.__getattribute__(self, 'module')()
remote: File "/var/lib/python-support/python2.4/mercurial/demandload.py", line 54, in module
remote: return object.__getattribute__(self, 'importer').module()
remote: File "/var/lib/python-support/python2.4/mercurial/demandload.py", line 30, in module
remote: self.fromlist)
remote: File "/var/lib/python-support/python2.4/mercurial/util.py", line 20, in ?
remote: _encoding = os.environ.get("HGENCODING") or locale.getpreferredencoding() \
remote: File "/usr/lib/python2.4/locale.py", line 417, in getpreferredencoding
remote: setlocale(LC_CTYPE, "")
remote: File "/usr/lib/python2.4/locale.py", line 381, in setlocale
remote: return _setlocale(category, locale)
remote: locale.Error: unsupported locale setting
abort: no suitable response from remote hg!
Then prefixing your hg commands with "LANG=en_US.UTF-8 " is a handy
workaround.
Cheers,
Gary
More information about the distro-pkg-dev
mailing list