Ticket #1133 (closed bug: fixed)
Net from Distances crashes when SymMatrix does not have "items"
|Reported by:||lanz||Owned by:||miha|
The widget crashes when it receives distances without the attribute items.
Maybe there is some checking for this in the Distances File widget or elsewhere, but is should be moved to Net from Distances so it can receive distances from other widgets as well.
Traceback: File: OWGUI.py, line 415 in focusOutEvent Code: self.returnPressed() File: OWGUI.py, line 406 in returnPressed Code: self.callback() File: OWNxHist.py, line 152 in changeUpperSpin Code: self.generateGraph() File: OWNxHist.py, line 186 in generateGraph Code: data = [[str(x)] for x in self.matrix.items] TypeError: 'NoneType' object is not iterable