bzr: ERROR: exceptions.UnicodeEncodeError: 'ascii' codec can't encode character ...

John Arbash Meinel john at arbash-meinel.com
Thu Jul 5 15:00:11 BST 2007


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

David Förster wrote:
> Hi there,
> 
> I'm trying to make a checkout of a remote subversion repository using
> the bzr-svn plugin (into a shared repository). Attached is the full
> backtrace bzr spits out after copying some revisions. I tried setting
> LC_ALL to de_DE (iso8859-15 which works well for svn itself) and
> de_DE.UTF-8 but that didn't change anything.
> 
> I'm using bzr 0.17 and bzr-svn 0.3.4 on Debian.
> 
> Regards, David

Thanks David. This looks like a bug in bzr-svn. My best guess is that it is
trying to combine a Unicode string with a regular python string. But that
python string contains a character >127.

I would guess that the SVN repository has non-ascii filenames, and that bzr-svn
just needs to properly decode them into Unicode. Or possibly encode whatever is
Unicode right now into UTF-8 before combining them.

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

iD8DBQFGjPlrJdeBCYSNAAMRAl0oAKCx9oH67qFtZRfqXtyyVl3tOz1lOgCg0jLe
a5xExcWO4QqtRzcT16G82f8=
=JmJY
-----END PGP SIGNATURE-----



More information about the bazaar mailing list