bug report

John Arbash Meinel john at arbash-meinel.com
Wed Mar 7 01:53:22 GMT 2007


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

Can you give me the output of 'bzr --version'? You seem to be using bzr
0.14.0, but I just wanted to check (in case you were using a development
version).

Also, is this branch publicly available? I would be interested in
knowing what you are doing. My best guess is that you somehow have a
non-ascii revision id (which is possible, but was pretty unlikely).
I've been working on improving our internals to support that properly.
What worries me a bit more, is it may be that you don't have a Unicode
revision id, but something with truly more non-standard characters. (Our
revisions ids have been defined as Unicode for a while, but it is
possible something sneaked through).

If this isn't public, maybe I could look at a private tarball. You might
also try using the latest bzr.dev (0.15rc1 should be released sometime
this week, or early next week).

My big concern is that it seems to be catching bogus data that was
written by an earlier version of bzr, but it may be something else. (ie,
the current code may be stricter about correctness than the old code was).

John
=:->



Erik Dalén wrote:
> dalen at kajsa:~/fmios/dalen$ bzr commit -m "update buildimage script"
> dalen at jpl.se's password:
> modified scripts/buildimage
> 
> bzr: ERROR: exceptions.UnicodeDecodeError: 'utf8' codec can't decode
> bytes in position 12-13: invalid data
> 
> Traceback (most recent call last):
>   File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 650,

...

>   File "/usr/lib/python2.5/site-packages/bzrlib/knit.py", line 1138, in
> __init__
>     self._load_data(fp)
>   File "/usr/lib/python2.5/site-packages/bzrlib/knit.py", line 1186, in
> _load_data
>     version_id = decode_utf8(version_id)
>   File "/usr/lib/python2.5/site-packages/bzrlib/cache_utf8.py", line 64,
> in decode
>     _utf8_to_uni[utf8_str] = unicode_str = _utf8_decode(utf8_str)[0]
>   File "encodings/utf_8.py", line 16, in decode
> UnicodeDecodeError: 'utf8' codec can't decode bytes in position 12-13:
> invalid data
> 
> bzr 0.14.0 on python 2.5.0.final.0 (linux2)
> arguments: ['/usr/bin/bzr', 'commit', '-m', 'update buildimage script']
> 
> ** please send this report to bazaar at lists.ubuntu.com
> 

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

iD8DBQFF7hsSJdeBCYSNAAMRAgqAAJ9ayRFB9g8Mhzam9RiJmILVJA835gCg2ESl
j3xCFvV1/kseaLowX9CKGeU=
=c1iU
-----END PGP SIGNATURE-----



More information about the bazaar mailing list