bzr crashes when trying to update a repo (through svn)

Bug #643967 reported by Bartlomiej Bazior
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Subversion Plugin
Fix Released
Undecided
Unassigned

Bug Description

bzr is crashing when I try to update (by doing bzr update) my local checkout of a remote svn repository.
This happens on osx 10.6.4

----------------------------------------------------------------------------
bzr --version

\Bazaar (bzr) 2.2.0
  Python interpreter: /usr/bin/python 2.6.1
  Python standard library: /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
  Platform: Darwin-10.4.1-i386-64bit

----------------------------------------------------------------------------
Traceback:

bzr update ousiaengine_trunk
bzr: ERROR: exceptions.AttributeError: paths

Traceback (most recent call last):
  File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 911, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 1111, in run_bzr
    ret = run(*run_argv)
  File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 689, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 704, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/builtins.py", line 1421, in run
    old_tip = branch.update(possible_transports)
  File "/Library/Python/2.6/site-packages/bzrlib/decorators.py", line 194, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/branch.py", line 2761, in update
    self.pull(master, overwrite=True)
  File "/Library/Python/2.6/site-packages/bzrlib/branch.py", line 1068, in pull
    possible_transports=possible_transports, *args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/plugins/svn/branch.py", line 803, in pull
    self.source.repository._get_revmeta(result.old_revid)
  File "/Library/Python/2.6/site-packages/bzrlib/plugins/svn/repository.py", line 937, in _get_revmeta
    (uuid, branch, revnum), mapping = self.lookup_bzr_revision_id(revision_id)
  File "/Library/Python/2.6/site-packages/bzrlib/plugins/svn/repository.py", line 1021, in lookup_bzr_revision_id
    return self.revmap.get_branch_revnum(revid, layout, project)
  File "/Library/Python/2.6/site-packages/bzrlib/plugins/svn/revids.py", line 277, in get_branch_revnum
    branch_path, min_revnum, max_revnum)
  File "/Library/Python/2.6/site-packages/bzrlib/plugins/svn/revids.py", line 148, in bisect_revid_revnum
    for propname, (oldpropvalue, propvalue) in revmeta.get_changed_fileprops().iteritems():
  File "/Library/Python/2.6/site-packages/bzrlib/plugins/svn/revmeta.py", line 320, in get_changed_fileprops
    if self.changes_branch_root():
  File "/Library/Python/2.6/site-packages/bzrlib/plugins/svn/revmeta.py", line 230, in changes_branch_root
    return self.branch_path in self.paths
AttributeError: paths

bzr 2.2.0 on python 2.6.1 (Darwin-10.4.1-i386-64bit)
arguments: ['/usr/local/bin/bzr', 'update', 'ousiaengine_trunk']
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'
plugins:
  bash_completion /Library/Python/2.6/site-packages/bzrlib/plugins/bash_completion [2.2.0]
  bzrtools /Library/Python/2.6/site-packages/bzrlib/plugins/bzrtools [2.2.0]
  colo /Library/Python/2.6/site-packages/bzrlib/plugins/colo [0.1.0]
  email /Library/Python/2.6/site-packages/bzrlib/plugins/email [unknown]
  explorer /Library/Python/2.6/site-packages/bzrlib/plugins/explorer [1.1.0dev2]
  extmerge /Library/Python/2.6/site-packages/bzrlib/plugins/extmerge [unknown]
  fastimport /Library/Python/2.6/site-packages/bzrlib/plugins/fastimport [0.9.0dev]
  keychain /Library/Python/2.6/site-packages/bzrlib/plugins/keychain [0.1.0]
  launchpad /Library/Python/2.6/site-packages/bzrlib/plugins/launchpad [2.2.0]
  loom /Library/Python/2.6/site-packages/bzrlib/plugins/loom [2.2.1dev]
  netrc_credential_store /Library/Python/2.6/site-packages/bzrlib/plugins/netrc_credential_store [2.2.0]
  news_merge /Library/Python/2.6/site-packages/bzrlib/plugins/news_merge [2.2.0]
  pipeline /Library/Python/2.6/site-packages/bzrlib/plugins/pipeline [unknown]
  qbzr /Library/Python/2.6/site-packages/bzrlib/plugins/qbzr [0.20.0dev1]
  rewrite /Library/Python/2.6/site-packages/bzrlib/plugins/rewrite [0.6.0]
  svn /Library/Python/2.6/site-packages/bzrlib/plugins/svn [1.0.4dev]
  upload /Library/Python/2.6/site-packages/bzrlib/plugins/upload [1.0.0dev]
  xmloutput /Library/Python/2.6/site-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.

----------------------------------------------------------------------------
bzr.log

Tue 2010-09-21 01:17:36 +0200
0.107 bazaar version: 2.2.0
0.107 bzr arguments: [u'update', u'ousiaengine_trunk']
0.131 looking for plugins in /Users/bart/.bazaar/plugins
0.131 looking for plugins in /Library/Python/2.6/site-packages/bzrlib/plugins
0.399 encoding stdout as sys.stdout encoding 'UTF-8'
0.424 opening working tree '/Users/bart/dev/_trunks/ousiaengine_trunk'
2.077 bzr-svn: using Subversion 1.6.5 ()
9.725 Traceback (most recent call last):
  File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 911, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 1111, in run_bzr
    ret = run(*run_argv)
  File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 689, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/Library/Python/2.6/site-packages/bzrlib/commands.py", line 704, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/builtins.py", line 1421, in run
    old_tip = branch.update(possible_transports)
  File "/Library/Python/2.6/site-packages/bzrlib/decorators.py", line 194, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/branch.py", line 2761, in update
    self.pull(master, overwrite=True)
  File "/Library/Python/2.6/site-packages/bzrlib/branch.py", line 1068, in pull
    possible_transports=possible_transports, *args, **kwargs)
  File "/Library/Python/2.6/site-packages/bzrlib/plugins/svn/branch.py", line 803, in pull
    self.source.repository._get_revmeta(result.old_revid)
  File "/Library/Python/2.6/site-packages/bzrlib/plugins/svn/repository.py", line 937, in _get_revmeta
    (uuid, branch, revnum), mapping = self.lookup_bzr_revision_id(revision_id)
  File "/Library/Python/2.6/site-packages/bzrlib/plugins/svn/repository.py", line 1021, in lookup_bzr_revision_id
    return self.revmap.get_branch_revnum(revid, layout, project)
  File "/Library/Python/2.6/site-packages/bzrlib/plugins/svn/revids.py", line 277, in get_branch_revnum
    branch_path, min_revnum, max_revnum)
  File "/Library/Python/2.6/site-packages/bzrlib/plugins/svn/revids.py", line 148, in bisect_revid_revnum
    for propname, (oldpropvalue, propvalue) in revmeta.get_changed_fileprops().iteritems():
  File "/Library/Python/2.6/site-packages/bzrlib/plugins/svn/revmeta.py", line 320, in get_changed_fileprops
    if self.changes_branch_root():
  File "/Library/Python/2.6/site-packages/bzrlib/plugins/svn/revmeta.py", line 230, in changes_branch_root
    return self.branch_path in self.paths
AttributeError: paths

9.734 couldn't find apport bug-reporting library: No module named apport
9.743 Transferred: 20kB (2.4kB/s r:0kB w:0kB u:20kB)
9.743 return code 4

Revision history for this message
Bartlomiej Bazior (bartek-ssae) wrote :

I'll just add, that this doesnt happen when using bzr 2.1.2

Martin Pool (mbp)
affects: bzr → bzr-svn
Jelmer Vernooij (jelmer)
Changed in bzr-svn:
status: New → Fix Released
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.