bzr crashed with AttributeError in add_cleanup()

Bug #575923 reported by Russel Winder
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qbzr (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: bzr

I started Bazaar Explorer in a branch. I then pressed the "Diff summary" button and this bug report ensued.

ProblemType: Crash
DistroRelease: Ubuntu 10.04
Package: bzr 2.1.1-1
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
BzrDebugFlags: set()
BzrVersion: 2.2.0dev1
CommandLine: ['/home/users/russel/bin/bzr', 'qdiffstat']
CrashDb: bzr
Date: Wed May 5 18:49:05 2010
ExecutablePath: /home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzr
FileSystemEncoding: UTF-8
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20100224.1)
InterpreterPath: /usr/bin/python2.6
Locale: en_GB.UTF-8
Platform: Linux-2.6.32-21-generic-x86_64-with-Ubuntu-10.04-lucid
ProcCmdline: /usr/bin/python /home/users/username/bin/bzr qdiffstat
PythonVersion: 2.6.5
SourcePackage: bzr
Title: bzr crashed with AttributeError in add_cleanup()
UserEncoding: UTF-8
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Traceback (most recent call last):
  File "/home/users/username/.bazaar/plugins/qbzr/lib/trace.py", line 291, in reports_exception_decorate
    return f(*args, **kargs)
  File "/home/users/username/.bazaar/plugins/diffstat/qdiffstat.py", line 68, in initial_load
    self.do_refresh()
  File "/home/users/username/.bazaar/plugins/diffstat/qdiffstat.py", line 74, in do_refresh
    **self.diff_kwargs)
  File "/home/users/username/.bazaar/plugins/diffstat/__init__.py", line 55, in _run_diff_wrapped
    retval = diff_class.run(self, *args, **kwargs)
  File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/commands.py", line 1120, in ignore_pipe
    result = func(*args, **kwargs)
  File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/builtins.py", line 1986, in run
    file_list, revision, old, new, self.add_cleanup, apply_view=True)
  File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/diff.py", line 398, in get_trees_and_branches_to_diff_locked
    lock_tree_or_branch(working_tree, branch)
  File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/diff.py", line 387, in lock_tree_or_branch
    add_cleanup(wt.unlock)
  File "/home/Checkouts/Bazaar/Bazaar/Mainline_Working/bzrlib/commands.py", line 421, in add_cleanup
    self._operation.add_cleanup(cleanup_func, *args, **kwargs)
AttributeError: 'cmd_diff' object has no attribute '_operation'

Revision history for this message
Russel Winder (russel) wrote :
tags: removed: need-duplicate-check
Martin Pool (mbp)
description: updated
Revision history for this message
Martin Pool (mbp) wrote :

I would guess this was due to mismatched versions between qbzr and bzr and it is now gone.

visibility: private → public
affects: bzr (Ubuntu) → qbzr (Ubuntu)
Changed in qbzr (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for qbzr (Ubuntu) because there has been no activity for 60 days.]

Changed in qbzr (Ubuntu):
status: Incomplete → Expired
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.