Bazaar has encountered an internal error while updating

Bug #1213308 reported by Luc Leroy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

Hi there,
While updating I experience the following issue:
"$ bzr update
HTTP kollabee.net, Realm: 'Trac Source Access' username: luc
HTTP <email address hidden>, Realm: 'Trac Source Access' password:
bzr: ERROR: bzrlib.errors.ErrorFromSmartServer: Error received from smart server: ('error', 'TypeError', "bytes must be a string, got <type 'bzrlib._static_tuple_c.StaticTuple'>")

Traceback (most recent call last):
  File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 920, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 1131, in run_bzr
    ret = run(*run_argv)
  File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 673, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 695, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/cleanup.py", line 136, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/builtins.py", line 1742, in run
    old_tip = branch.update(possible_transports)
  File "/Library/Python/2.6/site-packages/bzrlib/decorators.py", line 218, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/branch.py", line 2715, in update
    self.pull(master, overwrite=True)
  File "/Library/Python/2.6/site-packages/bzrlib/branch.py", line 1133, in pull
    possible_transports=possible_transports, *args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/decorators.py", line 218, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/branch.py", line 3482, in pull
    merge_tags_to_master=not source_is_master)
  File "/Library/Python/2.6/site-packages/bzrlib/branch.py", line 3612, in _pull
    graph=graph)
  File "/Library/Python/2.6/site-packages/bzrlib/decorators.py", line 218, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/branch.py", line 3425, in _update_revisions
    self.fetch(stop_revision=stop_revision)
  File "/Library/Python/2.6/site-packages/bzrlib/decorators.py", line 218, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/branch.py", line 3402, in fetch
    fetch_spec=fetch_spec)
  File "/Library/Python/2.6/site-packages/bzrlib/vf_repository.py", line 1267, in fetch
    find_ghosts=find_ghosts, fetch_spec=fetch_spec)
  File "/Library/Python/2.6/site-packages/bzrlib/decorators.py", line 218, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/vf_repository.py", line 2584, in fetch
    find_ghosts=find_ghosts)
  File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 77, in __init__
    self.__fetch()
  File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 104, in __fetch
    self._fetch_everything_for_search(search_result)
  File "/Library/Python/2.6/site-packages/bzrlib/fetch.py", line 132, in _fetch_everything_for_search
    stream, from_format, [])
  File "/Library/Python/2.6/site-packages/bzrlib/vf_repository.py", line 2042, in insert_stream
    src_format, is_resume)
  File "/Library/Python/2.6/site-packages/bzrlib/vf_repository.py", line 2120, in insert_stream_without_locking
    self.target_repo.chk_bytes.insert_record_stream(substream)
  File "/Library/Python/2.6/site-packages/bzrlib/groupcompress.py", line 1643, in insert_record_stream
    for _ in self._insert_record_stream(stream, random_id=False):
  File "/Library/Python/2.6/site-packages/bzrlib/groupcompress.py", line 1733, in _insert_record_stream
    for record in stream:
  File "/Library/Python/2.6/site-packages/bzrlib/smart/repository.py", line 717, in wrap_and_count
    for record in substream.read():
  File "/Library/Python/2.6/site-packages/bzrlib/versionedfile.py", line 1844, in read
    for bytes in self._bytes_iterator:
  File "/Library/Python/2.6/site-packages/bzrlib/smart/repository.py", line 695, in iter_substream_bytes
    for record in self.iter_pack_records:
  File "/Library/Python/2.6/site-packages/bzrlib/smart/repository.py", line 685, in iter_stream_decoder
    for bytes in self.byte_stream:
  File "/Library/Python/2.6/site-packages/bzrlib/smart/message.py", line 340, in read_streamed_body
    _raise_smart_server_error(self._body_error_args)
  File "/Library/Python/2.6/site-packages/bzrlib/smart/message.py", line 353, in _raise_smart_server_error
    raise errors.ErrorFromSmartServer(error_tuple)
ErrorFromSmartServer: Error received from smart server: ('error', 'TypeError', "bytes must be a string, got <type 'bzrlib._static_tuple_c.StaticTuple'>")

bzr 2.5.0 on python 2.6.7 (Darwin-12.4.1-x86_64-i386-64bit)
arguments: ['/usr/local/bin/bzr', 'update']
plugins: bash_completion[2.5.0], bzrtools[2.5.0], changelog_merge[2.5.0],
    colo[0.4.0], email[unknown], explorer[1.2.2], fastimport[0.14.0dev],
    git[0.6.7], keychain[0.1.0], launchpad[2.5.0], loom[2.2.1dev],
    netrc_credential_store[2.5.0], news_merge[2.5.0], pipeline[1.4.0],
    po_merge[2.5.0], qbzr[0.22.1], rewrite[0.6.4dev], svn[1.2.1],
    upload[1.0.1dev], weave_fmt[2.5.0], xmloutput[0.8.8]
encoding: 'utf-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug
    including this traceback and a description of the problem.
"
I hope this helps.

Best,
Luc Leroy.

Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.