[Bug 636930] Re: Upgrading a repository fails with 'Inter1and2Helper' object has no attribute 'source_repo'
Martin Pool
mbp at sourcefrog.net
Thu Sep 30 03:03:06 BST 2010
@scottk I've run the tests from the installed package, as was required
in the technical-board thread. There are some failures about "test
isolation" which are bug 650001. This was discovered in the course of
the t-b thread and it will be fixed in 2.2.1 but because of the timing
of the 2.2.1 release vs the SRU policy it's not fixed here.
There's also the failure described in bug 651706, which I haven't seen
before, but looks like it may also be something about the test
environment rather than an inherent problem in the package.
--
Upgrading a repository fails with 'Inter1and2Helper' object has no attribute 'source_repo'
https://bugs.launchpad.net/bugs/636930
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is a direct subscriber.
Status in Bazaar Version Control System: Fix Released
Status in Bazaar 2.2 series: Fix Released
Status in Launchpad Bazaar Integration: Triaged
Status in “bzr” package in Ubuntu: Triaged
Status in “bzr” source package in Maverick: Triaged
Bug description:
using bazaar 2.2.0 on Ubuntu Maverick. No additional plugins installed.
renate at ubuntu:~$ bzr upgrade lp:~aptdaemon-developers/aptdaemon/0.3
Enter passphrase for key '/home/renate/home/.ssh/id_launchpad':
starting upgrade of bzr+ssh://bazaar.launchpad.net/~aptdaemon-developers/aptdaemon/0.3/
making backup of bzr+ssh://bazaar.launchpad.net/~aptdaemon-developers/aptdaemon/0.3/.bzr
to bzr+ssh://bazaar.launchpad.net/~aptdaemon-developers/aptdaemon/0.3/backup.bzr.~1~
starting repository conversion
bzr: ERROR: exceptions.AttributeError: 'Inter1and2Helper' object has no attribute 'source_repo'
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 911, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 1111, in run_bzr
ret = run(*run_argv)
File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 689, in run_argv_aliases
return self.run(**all_cmd_args)
File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 704, in run
return self._operation.run_simple(*args, **kwargs)
File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 135, in run_simple
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
result = func(*args, **kwargs)
File "/usr/lib/python2.6/dist-packages/bzrlib/builtins.py", line 3310, in run
upgrade(url, format)
File "/usr/lib/python2.6/dist-packages/bzrlib/upgrade.py", line 88, in upgrade
Convert(url, format)
File "/usr/lib/python2.6/dist-packages/bzrlib/upgrade.py", line 42, in __init__
self.convert()
File "/usr/lib/python2.6/dist-packages/bzrlib/upgrade.py", line 82, in convert
self.bzrdir = converter.convert(self.bzrdir, None)
File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 3190, in convert
converter.convert(repo, pb)
File "/usr/lib/python2.6/dist-packages/bzrlib/repository.py", line 4135, in convert
self.source_repo.copy_content_into(converted)
File "/usr/lib/python2.6/dist-packages/bzrlib/repository.py", line 1586, in copy_content_into
return InterRepository.get(self, destination).copy_content(revision_id)
File "/usr/lib/python2.6/dist-packages/bzrlib/decorators.py", line 194, in write_locked
result = unbound(self, *args, **kwargs)
File "/usr/lib/python2.6/dist-packages/bzrlib/repository.py", line 3424, in copy_content
self.target.fetch(self.source, revision_id=revision_id)
File "/usr/lib/python2.6/dist-packages/bzrlib/repository.py", line 1741, in fetch
find_ghosts=find_ghosts, fetch_spec=fetch_spec)
File "/usr/lib/python2.6/dist-packages/bzrlib/decorators.py", line 194, in write_locked
result = unbound(self, *args, **kwargs)
File "/usr/lib/python2.6/dist-packages/bzrlib/repository.py", line 3449, in fetch
find_ghosts=find_ghosts)
File "/usr/lib/python2.6/dist-packages/bzrlib/fetch.py", line 73, in __init__
self.__fetch()
File "/usr/lib/python2.6/dist-packages/bzrlib/fetch.py", line 99, in __fetch
self._fetch_everything_for_search(search)
File "/usr/lib/python2.6/dist-packages/bzrlib/fetch.py", line 127, in _fetch_everything_for_search
stream, from_format, [])
File "/usr/lib/python2.6/dist-packages/bzrlib/repository.py", line 4288, in insert_stream
is_resume)
File "/usr/lib/python2.6/dist-packages/bzrlib/repository.py", line 4317, in _locked_insert_stream
for substream_type, substream in stream:
File "/usr/lib/python2.6/dist-packages/bzrlib/repository.py", line 4524, in get_stream
for _ in self._generate_root_texts(revs):
File "/usr/lib/python2.6/dist-packages/bzrlib/repository.py", line 4493, in _generate_root_texts
self.from_repository).generate_root_texts(revs)
File "/usr/lib/python2.6/dist-packages/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'
You can report this problem to Bazaar's developers by running
apport-bug /var/crash/bzr.1000.2010-09-13T08:43.crash
if a bug-reporting window does not automatically appear.
More information about the Ubuntu-sponsors
mailing list