AttributeError when opening annotate on a added, uncommitted file from TreeWidget
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QBzr |
Confirmed
|
Medium
|
Unassigned |
Bug Description
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/lib/
return f(*args, **kargs)
File "/usr/lib/
self.
AttributeError: 'NoneType' object has no attribute 'lock_read'
bzr 2.1.1 on python 2.6.4 (linux2)
arguments: ['/usr/bin/bzr', 'qcommit', '--ui-mode']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_ZA.UTF-8'
plugins:
bzrtools /usr/lib/
explorer /usr/lib/
extmerge /home/mfoniso/
launchpad /usr/lib/
netrc_
news_merge /usr/lib/
qbzr /usr/lib/
summary: |
- Error occur when trying to use annotate + AttributeError when opening annotate on a added, uncommitted file from + TreeWidget |
Steps to reproduce:
bzr init test604080
cd test604080
echo foo > bar
bzr qcommit
Right click on bar, Add
Right click on bar, Annotate
If you close commit, and open again, then it works, so something must be going wrong when the treewidget refreshes after the file is added.