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

Alexander Belchenko bialix at ukr.net
Thu Jul 19 12:14:37 BST 2007


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

Goffredo Baroncelli пишет:
> On Wednesday 04 July 2007, 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
> 
> Hi david,
> 
> could you please do the following tests, posting the output ?:
> 
> $ python -c "import sys; print sys.stdout.encoding; print u'\u00d8'"
> 
> 
> $ LC_CTYPE="de_DE.UTF-8" python -c "import sys; print sys.stdout.encoding; 
> print u'\u00d8'"
> 
> 
> (for what matter, u'\u00d8' is 'Ø' : a O with slash)
> Goffredo
> 
>> dave at jupiter ~/.../web-bzr % bzr checkout svn+https://svn.***.de/web trunk
[...]
>>   File "/usr/lib/python2.4/site-packages/bzrlib/plugins/svn/fileids.py", 
> line 44, in generate_svn_file_id
>>     ret = "%s-%s-%s" % (introduced_revision_id,
>> UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 
> 59: ordinal not in range(128)
>> bzr 0.17.0 on python 2.4.4.final.0 (linux2)
>> arguments: 
> ['/usr/bin/bzr', 'checkout', 'svn+https://svn.***.de/web', 'trunk']
>> ** please send this report to bazaar at lists.ubuntu.com

Looking at traceback I'm sure that system or console encoding don't relate
to problem. Problem actually in bzr-svn plugin.

[µ]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGn0edzYr338mxwCURAj+cAJ9nKW6gnI39Mzh01aleYxNtrUEzGACgiGCc
/bR1VWGbWN1tXkveTL1fkzU=
=5Um6
-----END PGP SIGNATURE-----



More information about the bazaar mailing list