Comment 8 for bug 339123

Revision history for this message
Andreas Hindborg (andreas-metaspace) wrote : Re: bzr: warning: unsupported locale setting on Mac OS

Hi guys,

I get this error on debian unstable (sid). It's not really a problem, it's just annoying =) Thought you might want to know. Anyway, the warnings show when i try to pull from a remote branch, not when doing --version. I'm running bzr 2.0.2 and python 2.5.4.

I think this is an error, because on my Ubuntu machines with bazaar 2.0.1 there are no problems, although they use the the exact same locale settings.

[andreas@debian]:~/src/kernel/nqn-->
# bzr pull
Using saved parent location: bzr+ssh://<scrambled>
bzr: warning: unsupported locale setting
  bzr could not set the application locale.
  Although this should be no problem for bzr itself,
  it might cause problems with some plugins.
  To investigate the issue, look at the output
  of the locale(1p) tool available on POSIX systems.
bzr: warning: unsupported locale setting
  Could not determine what text encoding to use.
  This error usually means your Python interpreter
  doesn't support the locale set by $LANG (en_DK.UTF-8)
  Continuing with ascii encoding.
No revisions to pull.

Bazaar/python version:
[andreas@debian]:~/src/kernel/nqn-->
# bzr --version
Bazaar (bzr) 2.0.2
  Python interpreter: /usr/bin/python 2.5.4
  Python standard library: /usr/lib/python2.5
  Platform: Linux-2.6.31-1-amd64-x86_64-with-debian-squeeze-sid
  bzrlib: /usr/lib/python2.5/site-packages/bzrlib
  Bazaar configuration: /home/andreas/.bazaar
  Bazaar log file: /home/andreas/.bzr.log

Copyright 2005, 2006, 2007, 2008, 2009 Canonical Ltd.
http://bazaar-vcs.org/

bzr comes with ABSOLUTELY NO WARRANTY. bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.

Python locale snippet:
[andreas@debian]:~/src/kernel/nqn-->
# python -c 'import locale; print locale.getpreferredencoding(), locale.getlocale()'
UTF-8 (None, None)

Regards,
Andreas