Raphael Toselli wrote:
> Public bug reported:
>
> I suspect that this error occurs when you have some weird character in
> the file/dir name where you try to start the new repository.
>
> Traceback as follows:
>
> bzr: ERROR: exceptions.UnicodeDecodeError: 'ascii' codec can't decode
> byte 0xc7 in position 3: ordinal not in range(128)
This is happening because you are doing "bzr init" in a directory with
non-ascii filenames, but you have your system configured to believe it
is ascii. As such, we don't know how to decode the filenames. (The
traceback is bad, but we will fail one way or another later anyway.)
If you know how the filenames are encoded (such as UTF-8) you should be
able to do something like:
export LANG=en_US.UTF-8
(or whatever your preferred language is.)
You might try:
echo $LANG
to see what your lang is set to already.
John
=;->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Raphael Toselli wrote: UnicodeDecodeEr ror: 'ascii' codec can't decode
> Public bug reported:
>
> I suspect that this error occurs when you have some weird character in
> the file/dir name where you try to start the new repository.
>
> Traceback as follows:
>
> bzr: ERROR: exceptions.
> byte 0xc7 in position 3: ordinal not in range(128)
This is happening because you are doing "bzr init" in a directory with
non-ascii filenames, but you have your system configured to believe it
is ascii. As such, we don't know how to decode the filenames. (The
traceback is bad, but we will fail one way or another later anyway.)
If you know how the filenames are encoded (such as UTF-8) you should be
able to do something like:
export LANG=en_US.UTF-8
(or whatever your preferred language is.)
You might try:
echo $LANG
to see what your lang is set to already.
John
=;->
-----BEGIN PGP SIGNATURE----- enigmail. mozdev. org/
d3NkACgkQJdeBCY SNAAMXKQCghVnov ce1R9s+ unYB4agAEyHe b4Dlv4fWQJrl6eK Wp
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAkr
zzMAoIq6nj6RsAa
=uIS2
-----END PGP SIGNATURE-----