'Inter1and2Helper' object has no attribute 'source_repo' from generate_root_texts

Bug #585085 reported by Jelmer Vernooij on 2010-05-24
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar
Undecided
Unassigned

Bug Description

  affects bzr
  status confirmed

This recently broke, it worked before:

charis:~/src/waf/trunk% bzr.dev pull
Using saved parent location:
http://bazaar.launchpad.net/~vcs-imports/waf/trunk/
/usr/lib/python2.6/dist-packages/Crypto/Util/randpool.py:40:
RandomPool_DeprecationWarning: This application uses RandomPool, which
is BROKEN in older releases. See
http://www.pycrypto.org/randpool-broken
  RandomPool_DeprecationWarning)
Doing on-the-fly conversion from RepositoryFormatKnitPack1() to
RepositoryFormat2a().
This may take some time. Upgrade the repositories to the same format for
better performance.
bzr: ERROR: exceptions.AttributeError: 'Inter1and2Helper' object has no
attribute 'source_repo'

Traceback (most recent call last):
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/commands.py", line 909, in
exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/commands.py", line 1107, in
run_bzr
    ret = run(*run_argv)
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/commands.py", line 687, in
run_argv_aliases
    return self.run(**all_cmd_args)
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/commands.py", line 702, in
run
    return self._operation.run_simple(*args, **kwargs)
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/cleanup.py", line 122, in
run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/cleanup.py", line 156, in
_do_with_cleanups
    result = func(*args, **kwargs)
  File "/home/jelmer/.bazaar/plugins/pull_limit/__init__.py", line 114,
in run
    possible_transports=possible_transports, local=local)
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/decorators.py", line 194, in
write_locked
    result = unbound(self, *args, **kwargs)
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/workingtree.py", line 1615,
in pull
    local=local)
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/decorators.py", line 194, in
write_locked
    result = unbound(self, *args, **kwargs)
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/branch.py", line 1030, in
pull
    possible_transports=possible_transports, *args, **kwargs)
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/branch.py", line 3437, in
pull
    _override_hook_target=_override_hook_target)
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/branch.py", line 3314, in
pull
    overwrite=overwrite, graph=graph)
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/decorators.py", line 194, in
write_locked
    result = unbound(self, *args, **kwargs)
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/branch.py", line 978, in
update_revisions
    overwrite, graph)
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/branch.py", line 3257, in
update_revisions
    self.target.fetch(self.source, stop_revision)
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/decorators.py", line 194, in
write_locked
    result = unbound(self, *args, **kwargs)
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/branch.py", line 661, in
fetch
    pb=pb)
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/repository.py", line 1741,
in fetch
    find_ghosts=find_ghosts, fetch_spec=fetch_spec)
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/decorators.py", line 194, in
write_locked
    result = unbound(self, *args, **kwargs)
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/repository.py", line 3449,
in fetch
    find_ghosts=find_ghosts)
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/fetch.py", line 73, in
__init__
    self.__fetch()
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/fetch.py", line 99, in
__fetch
    self._fetch_everything_for_search(search)
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/fetch.py", line 127, in
_fetch_everything_for_search
    stream, from_format, [])
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/repository.py", line 4288,
in insert_stream
    is_resume)
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/repository.py", line 4317,
in _locked_insert_stream
    for substream_type, substream in stream:
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/repository.py", line 4524,
in get_stream
    for _ in self._generate_root_texts(revs):
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/repository.py", line 4493,
in _generate_root_texts
    self.from_repository).generate_root_texts(revs)
  File "/home/jelmer/src/bzr/bzr.dev/bzrlib/fetch.py", line 249, in
generate_root_texts
    graph = self.source_repo.get_known_graph_ancestry(revs)
AttributeError: 'Inter1and2Helper' object has no attribute 'source_repo'

bzr 2.2.0dev1 on python 2.6.5
(Linux-2.6.32-5-amd64-x86_64-with-debian-squeeze-sid)
arguments: ['/home/jelmer/src/bzr/bzr.dev/bzr', 'pull']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:

bash_completion /home/jelmer/src/bzr/bzr.dev/bzrlib/plugins/bash_completion [2.2.0dev1]
  builddeb /home/jelmer/.bazaar/plugins/builddeb [2.2.0]
  builder /home/jelmer/.bazaar/plugins/builder [unknown]
  bzrtools /home/jelmer/.bazaar/plugins/bzrtools [2.2.0]
  colocated /home/jelmer/.bazaar/plugins/colocated
[0.4.16dev]
  commitfromnews /home/jelmer/.bazaar/plugins/commitfromnews
[unknown]

cvsps_import /usr/lib/python2.6/dist-packages/bzrlib/plugins/cvsps_import [unknown]
  dbus /home/jelmer/.bazaar/plugins/dbus [0.1.0dev]

email /usr/lib/python2.6/dist-packages/bzrlib/plugins/email [unknown]

etckeeper /usr/lib/python2.6/dist-packages/bzrlib/plugins/etckeeper [unknown]

explorer /usr/lib/python2.6/dist-packages/bzrlib/plugins/explorer [1.0.0]
  fastimport /home/jelmer/.bazaar/plugins/fastimport
[0.9.0dev]
  git /home/jelmer/.bazaar/plugins/git [0.5.1]
  gtk /home/jelmer/.bazaar/plugins/gtk [0.99.0dev1]
  hg /home/jelmer/.bazaar/plugins/hg [0.2.0dev]
  jelmer /home/jelmer/.bazaar/plugins/jelmer [unknown]

launchpad /home/jelmer/src/bzr/bzr.dev/bzrlib/plugins/launchpad [2.2.0dev1]
  loggerhead /home/jelmer/.bazaar/plugins/loggerhead [1.17.0]

loom /usr/lib/python2.6/dist-packages/bzrlib/plugins/loom [2.1.0]
  lpreview_body /home/jelmer/.bazaar/plugins/lpreview_body
[unknown]
  mirrors /home/jelmer/.bazaar/plugins/mirrors [unknown]

netrc_credential_store /home/jelmer/src/bzr/bzr.dev/bzrlib/plugins/netrc_credential_store [2.2.0dev1]

news_merge /home/jelmer/src/bzr/bzr.dev/bzrlib/plugins/news_merge [2.2.0dev1]
  pipeline /home/jelmer/.bazaar/plugins/pipeline [unknown]
  plugin_info /home/jelmer/.bazaar/plugins/plugin_info
[1.3.0dev]
  pqm /home/jelmer/.bazaar/plugins/pqm [1.4.0dev]
  pull_limit /home/jelmer/.bazaar/plugins/pull_limit [unknown]
  qbzr /home/jelmer/.bazaar/plugins/qbzr [0.19.0dev1]
  rewrite /home/jelmer/.bazaar/plugins/rewrite [0.6.1dev]

search /usr/lib/python2.6/dist-packages/bzrlib/plugins/search [1.7.0dev]

stats /usr/lib/python2.6/dist-packages/bzrlib/plugins/stats [0.1.0dev]
  svn /home/jelmer/.bazaar/plugins/svn [1.0.3dev]

upload /usr/lib/python2.6/dist-packages/bzrlib/plugins/upload [1.0.0dev]

xmloutput /usr/lib/python2.6/dist-packages/bzrlib/plugins/xmloutput [0.8.6]

*** 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.

Repository tree (format: 2a)
Location:
  shared repository: /home/jelmer/src/waf
  repository branch: .

treaves (treaves) wrote :

I receive this too, when I execute bzr branch.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers