Ticket #385 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

StringList se cudno obnasa na Ubuntu 64bit

Reported by: miha Owned by: janez
Milestone: Future Component: library
Severity: minor Keywords:
Cc: Blocking:
Blocked By:

Description

ne dela: newVar.values = bound[0].values[:] dela: newVar.values = list(bound[0].values)

Error message: Traceback:

File: OWMosaicDisplay.py, line 288 in showEvent Code: self.updateGraph()

File: OWMosaicDisplay.py, line 463 in updateGraph Code: self.conditionalDict = self.optimizationDlg.getConditionalDistributions(data, attrList)

File: orngMosaic.py, line 197 in getConditionalDistributions Code: newFeature, quality = FeatureByCartesianProduct(data, attrs[:i])

File: orngCI.py, line 250 in FeatureByCartesianProduct Code: return learnConstructor(FeatureByCartesianProductClass, examples, bound, weightID, argkw)

File: orngCI.py, line 10 in learnConstructor Code: fm = fm(examples, bound, weightID)

File: orngCI.py, line 270 in call Code: newVar.values = bound[0].values[:]

IndexError: invalid indices for slice

Change History

comment:1 Changed 5 years ago by janez

Najbrz popravljeno, vendar si ne upam comitati, dokler Miha ne sporoci, da popravek (int -> Py_ssize_t, kjer je potrebno) nima neželenih stranskih učinkov.

comment:2 Changed 5 years ago by janez

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