checkout error

John Arbash Meinel john at arbash-meinel.com
Thu Jul 5 14:56:34 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sean Wolfe wrote:
> Had an error when trying to create a source tree on our repository server.
> 
> here is the report
> 
> bzr: ERROR: exceptions.UnicodeEncodeError: 'ascii' codec can't encode
> character u'\u02c7' in position 91: ordinal not in range(128)           
>                  

I'm not specifically familiar with this bug in bzr 0.13. Though a general
recommendation is to always upgrade to the latest version of Bazaar (currently
0.17).

It *looks* like your project has a Unicode filename, but your local encoding
(LANG) is set to 'C' or some other ascii-only encoding. Which means we do not
know how to represent that file on your filesystem.

We obviously should be giving a better error for this, but you might try
something like:

LANG=en_US.UTF-8 bzr co ...

Which will give bzr the hint that you are using UTF-8 encoding on your
filesystem. If that works, then you can probably set your LANG in your startup
scripts.

(Note, it doesn't have to be en_US, it could be de_DE, or any other language,
the important part for us is the .UTF-8)

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGjPiSJdeBCYSNAAMRAhV6AKCGl//Jwvn1pyjwLpxu2dgsDVOW7ACeJaSe
zJ8ZgypLvdsXkVaK61YoQfU=
=D/wN
-----END PGP SIGNATURE-----



More information about the bazaar mailing list