bug report

Erik Dalén dalen at jpl.se
Thu Mar 1 20:03:19 GMT 2007


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,
in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 612,
in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 304,
in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 1919,
in run
    reporter=reporter)
  File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 51,
in write_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/mutabletree.py", line
126, in commit
    revprops=revprops, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/commit.py", line 320, in
commit
    revision_id=self.rev_id)
  File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line
276, in fetch
    pb=pb)
  File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 51,
in write_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line
2080, in fetch
    pb=pb)
  File "/usr/lib/python2.5/site-packages/bzrlib/fetch.py", line 110, in
__init__
    self.__fetch()
  File "/usr/lib/python2.5/site-packages/bzrlib/fetch.py", line 133, in
__fetch
    revs = self._revids_to_fetch()
  File "/usr/lib/python2.5/site-packages/bzrlib/fetch.py", line 152, in
_revids_to_fetch
    self.to_repository.has_revision(self._last_revision)):
  File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 38,
in read_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/repository.py", line
323, in has_revision
    self.get_transaction())
  File "/usr/lib/python2.5/site-packages/bzrlib/store/revision/knit.py",
line 127, in has_revision_id
    or self.get_revision_file(transaction).has_version(revision_id))
  File "/usr/lib/python2.5/site-packages/bzrlib/store/revision/knit.py",
line 111, in get_revision_file
    return self.versioned_file_store.get_weave_or_empty('revisions',
transaction)
  File
"/usr/lib/python2.5/site-packages/bzrlib/store/versioned/__init__.py",
line 198, in get_weave_or_empty
    return self.get_weave(file_id, transaction, _filename=_filename)
  File
"/usr/lib/python2.5/site-packages/bzrlib/store/versioned/__init__.py",
line 138, in get_weave
    **self._versionedfile_kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/knit.py", line 362, in
__init__
    dir_mode=dir_mode)
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070301/02d218ab/attachment.pgp 


More information about the bazaar mailing list