treewidget: list index out of range error
Bug #529985 reported by
Ian Clatworthy
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QBzr |
Fix Released
|
High
|
Gary van der Merwe |
Bug Description
I got this exception opening a branch tonight ...
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/home/
item_data = self.inventory_
IndexError: list index out of range
This was using QBzr trunk rev 1205.
To post a comment you must log in.
I guess we could just do: inventory_ data):
QtCore. QVariant( )
id = index.internalId()
if id > len(self.
item_data = self.inventory_ data[id]
But why did this happen?