Ticket #1133 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

Net from Distances crashes when SymMatrix does not have "items"

Reported by: lanz Owned by: miha
Milestone: 2.6 Component: canvas
Severity: minor Keywords:
Cc: Blocking:
Blocked By:


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.

  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

Change History

comment:1 Changed 3 years ago by miha

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.