list index out of range in qbrowse widget

Bug #513066 reported by Ian Clatworthy
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
QBzr
Status tracked in Trunk
0.18
Fix Released
High
Gary van der Merwe
Trunk
Fix Released
High
Gary van der Merwe

Bug Description

Just got this hitting refresh in Explorer ...

bzr: ERROR: exceptions.IndexError: list index out of range

Traceback (most recent call last):
  File "/home/ian/.bazaar/plugins/qbzr/lib/treewidget.py", line 1190, in hasChildren
    return self.source_model.hasChildren(self.mapToSource(parent))
  File "/home/ian/.bazaar/plugins/qbzr/lib/treewidget.py", line 722, in hasChildren
    item_data = self.inventory_data[parent.internalId()]
IndexError: list index out of range

bzr 2.1.0dev5 on python 2.6.4 (linux2)

IIRC, a subfolder was open in the tree (in case that matters).

Tags: treewidget

Related branches

Revision history for this message
Gareth White (gwhite-deactivatedaccount) wrote :

I don't know if it's related but I saw a similar error when I was trying to move several directories around in the working tree in Explorer. I'll see if I can get a reproducible case for that.

Revision history for this message
Gareth White (gwhite-deactivatedaccount) wrote :

I had this happen two more times this afternoon. Unfortunately I still don't know exactly what I did to get it to happen, other than moving files around in Bazaar Explorer and refreshing.

Changed in qbzr:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Gary van der Merwe (garyvdm) wrote :

This is maybe a regression caused by the fix for bug 512006.

I think I know how to fix it, but I would like to be able to reproduce, so that I can check if it is fixed.

tags: added: treewidget
Revision history for this message
Alexander Belchenko (bialix) wrote :

Gary, should we backport this fix to 0.18 branch?

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.