Ticket #290 (closed bug: fixed)

Opened 6 years ago

Last modified 6 years ago

LinearProjections se sesuje cim dobi podatke

Reported by: blaz Owned by: janez
Milestone: 1.0 Component: canvas
Severity: major Keywords:
Cc: Blocking:
Blocked By:

Description

ce dam v LinearProjection npr. iris data set, se sesuje:

Unhandled exception of type TypeError occured at 13:56:24: Traceback:

File: OWBaseWidget.py, line 539 in processSignals Code: handler(value)

File: OWLinProj.py, line 370 in setData Code: self.setShownAttributeList(self.data, self.attributeSelectionList)

File: OWVisWidget.py, line 151 in setShownAttributeList Code: self.shownAttributes = shown

File: OWBaseWidget.py, line 745 in setattr Code: return unisetattr(self, name, value, QDialog)

File: OWBaseWidget.py, line 34 in unisetattr Code: callback(value)

File: OWGUI.py, line 1114 in call Code: self.action(*args)

File: OWGUI.py, line 1212 in action Code: self.control.insertItem(i[1], i[0])

TypeError: Argument 1 of QListBox.insertItem() has an invalid

type

Change History

comment:1 Changed 6 years ago by blaz

  • Owner changed from somebody to janez

comment:2 Changed 6 years ago by janez

  • Status changed from new to closed
  • Resolution set to fixed

OWGUI primerja tipe namesto, da bi uporabljal isinstance, zato ne prepozna pravilno novih enumov, ki so izpeljani iz inta. To bo sicer postalo aktualno sele v 2.0, vendar povzroca tezave tistim, ki na 1.0 uporabljajo novi .pyd. V 1.0 sem zato popravil kodo tako, da uporablja isinstance.

Note: See TracTickets for help on using tickets.