[Pkg-bazaar-maint] Bug#572109: AttributeError during 'bzr shelve'

Paul Evans leonerd at leonerd.org.uk
Mon Mar 1 15:57:58 UTC 2010


Package: bzr-svn
Version: 1.0.2-2
Severity: normal


Since today's dist-upgrade, bzr-svn is no longer able to 'shelve'.

In native bzr checkouts, shelve works fine.

In SVN checkouts, 'bzr st' works fine.

The assertion output is:

-----
bzr: ERROR: exceptions.AttributeError: 'BranchConfig' object has no attribute '_get_change_editor'           

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 853, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 1055, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 661, in run_argv_aliases
    return self.run_direct(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 665, in run_direct
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/cleanup.py", line 122, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/cleanup.py", line 156, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 5768, in run
    file_list, message, destroy=destroy)
  File "/usr/lib/python2.5/site-packages/bzrlib/shelf_ui.py", line 180, in from_args
    message, destroy)
  File "/usr/lib/python2.5/site-packages/bzrlib/shelf_ui.py", line 152, in __init__
    self.change_editor = config.get_change_editor(target_tree, work_tree)
  File "/usr/lib/python2.5/site-packages/bzrlib/config.py", line 158, in get_change_editor
    cmd = self._get_change_editor()
AttributeError: 'BranchConfig' object has no attribute '_get_change_editor'

bzr 2.1.0 on python 2.5.5 (Linux-2.6.32-trunk-amd64-x86_64-with-debian-squeeze-sid)
arguments: ['/usr/bin/bzr', 'shelve']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_GB.UTF-8'
plugins:
  bzrtools             /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [2.1.0]
  dbus                 /usr/lib/python2.5/site-packages/bzrlib/plugins/dbus [0.1.0dev]
  gtk                  /usr/lib/python2.5/site-packages/bzrlib/plugins/gtk [0.98.0dev1]
  launchpad            /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [2.1.0]
  netrc_credential_store /usr/lib/python2.5/site-packages/bzrlib/plugins/netrc_credential_store [2.1.0]
  news_merge           /usr/lib/python2.5/site-packages/bzrlib/plugins/news_merge [2.1.0]
  rebase               /usr/lib/python2.5/site-packages/bzrlib/plugins/rebase [0.5.5]
  svn                  /usr/lib/python2.5/site-packages/bzrlib/plugins/svn [1.0.2]

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

-----

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bzr-svn depends on:
ii  bzr                          2.1.0-1     easy to use distributed version co
ii  python                       2.5.4-9     An interactive high-level object-o
ii  python-central               0.6.14+nmu2 register and build utility for Pyt
ii  python-subvertpy             0.7.2-2     Alternative Python bindings for Su

Versions of packages bzr-svn recommends:
ii  python-tdb                    1.2.0-1    Python bindings for TDB
pn  python-xdg                    <none>     (no description available)

Versions of packages bzr-svn suggests:
ii  bzr-rebase                    0.5.5-1    Rebase plugin for Bazaar

-- no debconf information





More information about the Pkg-bazaar-maint mailing list