Crash when running qannotate

Bug #249931 reported by Nicholas Allen
2
Affects Status Importance Assigned to Milestone
QBzr
Fix Released
Critical
Gary van der Merwe

Bug Description

I got this traceback when running qannotate on the bzr NEWS file:

bzr: ERROR: exceptions.NameError: global name 'WorkingTree' is not defined

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 857, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 797, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 499, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/qbzr/__init__.py", line 113, in run
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/qbzr/__init__.py", line 133, in run
    tree, relpath = WorkingTree.open_containing(filename)
NameError: global name 'WorkingTree' is not defined

bzr 1.6b4 on python 2.5.1 (linux2)
arguments: ['/usr/bin/bzr', 'qannotate', 'NEWS.txt']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_GB.UTF-8'
plugins:
  difftools /home/nick/.bazaar/plugins/difftools [unknown]
  gtk /home/nick/.bazaar/plugins/gtk [0.95.0dev1]
  launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
  multiparent /usr/lib/python2.5/site-packages/bzrlib/plugins/multiparent.py [unknown]
  qbzr /usr/lib/python2.5/site-packages/bzrlib/plugins/qbzr [0.9.2dev0]
  search /home/nick/.bazaar/plugins/search [1.6.0dev2]
  xmloutput /home/nick/.bazaar/plugins/xmloutput [0.4.5]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.

Changed in qbzr:
assignee: nobody → garyvdm
importance: Undecided → High
milestone: none → 0.9.2
status: New → Fix Committed
Revision history for this message
Alexander Belchenko (bialix) wrote : Re: [Bug 249931] [NEW] Crash when running qannotate

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nicholas Allen пишет:
| Public bug reported:
|
| I got this traceback when running qannotate on the bzr NEWS file:
|
| bzr: ERROR: exceptions.NameError: global name 'WorkingTree' is not
| defined

IMO this is due the latest change of Gary related to merge --qpreview.
Please, rollback to older version if you're using trunk.

 status triaged
 importance critical
 milestone 0.9.2

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIgOkHzYr338mxwCURAq3gAJ9r94zqB456hqWfU6tpICzI1RgCuACdH5Xa
67ZzNVjaks3DWQupuWhNdio=
=h6zC
-----END PGP SIGNATURE-----

Changed in qbzr:
importance: High → Critical
status: Fix Committed → Triaged
Changed in qbzr:
status: Triaged → Fix Committed
Changed in qbzr:
status: Fix Committed → 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.