Comment 1 for bug 671165

Revision history for this message
herrold (herrold) wrote : Re: bzr creashes after a redirect, but also possibly to a mising component

per the LF folks, I removed a hyphen in the $URL, but then still die thus:

[herrold@centos-5 buildbot-config]$ ./README
Branched 135 revision(s).
http://bzr.linuxfoundation.org/unofficial/buildbot-config is permanently redirected to http://bzr.linuxfoundation.org/loggerhead/unofficial/buildbot-config
http://bzr.linuxfoundation.org/loggerhead/unofficial/buildbot-config is permanently redirected to /loggerhead/unofficial/buildbot-config/changes
bzr: ERROR: exceptions.AttributeError: 'Inter1and2Helper' object has no attribute 'source_repo'

Traceback (most recent call last):
  File "/usr/lib64/python2.4/site-packages/bzrlib/commands.py", line 826, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib64/python2.4/site-packages/bzrlib/commands.py", line 1027, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib64/python2.4/site-packages/bzrlib/commands.py", line 638, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib64/python2.4/site-packages/bzrlib/builtins.py", line 1027, in run
    possible_transports=possible_transports, local=local)
  File "/usr/lib64/python2.4/site-packages/bzrlib/decorators.py", line 194, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib64/python2.4/site-packages/bzrlib/workingtree.py", line 1614, in pull
    local=local)
  File "/usr/lib64/python2.4/site-packages/bzrlib/decorators.py", line 194, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib64/python2.4/site-packages/bzrlib/branch.py", line 962, in pull
    possible_transports=possible_transports, *args, **kwargs)
  File "/usr/lib64/python2.4/site-packages/bzrlib/branch.py", line 3206, in pull
    _override_hook_target=_override_hook_target)
  File "/usr/lib64/python2.4/site-packages/bzrlib/branch.py", line 3083, in pull
    overwrite=overwrite, graph=graph)
  File "/usr/lib64/python2.4/site-packages/bzrlib/decorators.py", line 194, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib64/python2.4/site-packages/bzrlib/branch.py", line 910, in update_revisions
    overwrite, graph)
  File "/usr/lib64/python2.4/site-packages/bzrlib/branch.py", line 3026, in update_revisions
    self.target.fetch(self.source, stop_revision)
  File "/usr/lib64/python2.4/site-packages/bzrlib/decorators.py", line 194, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib64/python2.4/site-packages/bzrlib/branch.py", line 593, in fetch
    pb=pb)
  File "/usr/lib64/python2.4/site-packages/bzrlib/repository.py", line 1705, in fetch
    find_ghosts=find_ghosts, fetch_spec=fetch_spec)
  File "/usr/lib64/python2.4/site-packages/bzrlib/decorators.py", line 194, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib64/python2.4/site-packages/bzrlib/repository.py", line 3424, in fetch
    pb=pb, find_ghosts=find_ghosts)
  File "/usr/lib64/python2.4/site-packages/bzrlib/fetch.py", line 83, in __init__
    self.__fetch()
  File "/usr/lib64/python2.4/site-packages/bzrlib/fetch.py", line 109, in __fetch
    self._fetch_everything_for_search(search)
  File "/usr/lib64/python2.4/site-packages/bzrlib/fetch.py", line 136, in _fetch_everything_for_search
    resume_tokens, missing_keys = self.sink.insert_stream(
  File "/usr/lib64/python2.4/site-packages/bzrlib/repository.py", line 4260, in insert_stream
    return self._locked_insert_stream(stream, src_format, is_resume)
  File "/usr/lib64/python2.4/site-packages/bzrlib/repository.py", line 4289, in _locked_insert_stream
    for substream_type, substream in stream:
  File "/usr/lib64/python2.4/site-packages/bzrlib/repository.py", line 4496, in get_stream
    for _ in self._generate_root_texts(revs):
  File "/usr/lib64/python2.4/site-packages/bzrlib/repository.py", line 4464, in _generate_root_texts
    return _mod_fetch.Inter1and2Helper(
  File "/usr/lib64/python2.4/site-packages/bzrlib/fetch.py", line 257, in generate_root_texts
    graph = _get_rich_root_heads_graph(self.source_repo, revs)
AttributeError: 'Inter1and2Helper' object has no attribute 'source_repo'

bzr 2.1.0b4 on python 2.4.3 (Linux-2.6.18-194.17.1.el5xen-x86_64-with-redhat-5.5-Final)
arguments: ['/usr/bin/bzr', 'pull', 'http://bzr.linuxfoundation.org/unofficial/buildbot-config/']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
  launchpad /usr/lib64/python2.4/site-packages/bzrlib/plugins/launchpad [2.1.0b4]
  netrc_credential_store /usr/lib64/python2.4/site-packages/bzrlib/plugins/netrc_credential_store [2.1.0b4]

*** 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.
[herrold@centos-5 buildbot-config]$