BZR error while committing a file

John Arbash Meinel john at arbash-meinel.com
Tue Jun 5 15:24:48 BST 2007


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

Philippe Vialle wrote:
> Hi there,
> 
> The following error occured while we were trying to commit a file
> belonging to spamassassin configuration...
> We send it to you according to the end of the error report...
> 
> Thank you in advanced.
> 
> 
> %hostname%:/etc/spamassassin# bzr commit v310.pre
> bzr: ERROR: exceptions.UnicodeDecodeError: 'ascii' codec can't decode
> byte 0xe0 in position 6: ordinal not in range(128)

It looks like you have your LANG set to C, but you are writing non-ascii
characters in your commit message.

As such, we have no way of knowing what you are writing. (Is it latin-1 or
utf-8 or iso-8859-2, or ???)

You can do:

export LANG=en_US.UTF-8
bz commit v310.pre
(write fü bår, or whatever you would like).

John
=:->

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

iD8DBQFGZXIwJdeBCYSNAAMRAnmrAJ9Pf3zgfBSMO6GDaLyX+dvS8nVdNwCdEmuS
XuWArwZQMdAl3hOHQpP/72Y=
=FReQ
-----END PGP SIGNATURE-----



More information about the bazaar mailing list