Orange Forum • View topic - Error while running Orange

Error while running Orange

A place to ask questions about methods in Orange and how they are used and other general support.

Error while running Orange

Postby Olivier » Fri May 04, 2012 15:49

I downloaded the 68 Mb of latest Orange version and tried to run one widget workflow I did on a previous version.
I run on Windows XP Professional V.2002 Service Pack 3 (yes I know it's old...)
I got this error:

There were problems importing the following widgets:
OWC45Tree: c45 is not found
OWClassificationTree: 'module' object has no attribute 'Graph'
OWDiscretize: No module named Qwt5
OWPaintData: No module named Qwt5
OWPythonScript: 'module' object has no attribute 'Graph'
OWCalibrationPlot: No module named Qwt5
OWLiftCurve: No module named Qwt5
OWROC: No module named Qwt5
OWCalibratedClassifier: No module named Qwt5
OWCorrelations: No module named Qwt5
OWItemsetViz: No module named Qwt5
OWModelMap: No module named scipy.stats
OWPerformanceCurves: No module named Qwt5
OWRScript: No module named rpy2.robjects
OWTimeDataVisualizer: No module named Qwt5
OWMDS: No module named Qwt5
OWNxAnalysis: No module named networkx
OWNxClustering: 'module' object has no attribute 'Graph'
OWNxExplorer: 'module' object has no attribute 'Graph'
OWNxFile: 'module' object has no attribute 'Graph'
OWNxFromDistances: No module named Qwt5
OWNxInsideView: 'module' object has no attribute 'NxView'
OWNxSNAP: 'module' object has no attribute 'Graph'
OWPubmedView: 'module' object has no attribute 'NxView'
OWCorrespondenceAnalysis: No module named Qwt5
OWDistributions: No module named Qwt5
OWLinProj: No module named Qwt5
OWMultiCorrespondenceAnalysis: No module named Qwt5
OWParallelCoordinates: No module named Qwt5
OWPolyviz: No module named Qwt5
OWRadviz: No module named Qwt5
OWScatterPlot: No module named Qwt5
OWSieveMultigram: No module named Qwt5
OWSurveyPlot: No module named Qwt5
OWLinProj3D: No module named OpenGL
OWNxExplorer3D: No module named OWNxExplorerQt
OWScatterPlot3D: No module named OpenGL
OWSphereviz3D: No module named OpenGL
The following widgets could not be imported and will not be available: OWSphereviz3D, OWLiftCurve, OWNxFile, OWC45Tree, OWSurveyPlot, OWNxSNAP, OWClassificationTree, OWDistributions, OWNxExplorer, OWNxClustering, OWPythonScript, OWLinProj, OWNxAnalysis, OWPubmedView, OWNxFromDistances, OWMultiCorrespondenceAnalysis, OWLinProj3D, OWScatterPlot, OWMDS, OWCorrespondenceAnalysis, OWSieveMultigram, OWDiscretize, OWNxInsideView, OWScatterPlot3D, OWPaintData, OWRadviz, OWCalibrationPlot, OWParallelCoordinates, OWPolyviz, OWNxExplorer3D, OWROC.
The following prototype widgets could not be imported and will not be available: OWPerformanceCurves, OWRScript, OWCalibratedClassifier, OWItemsetViz, OWTimeDataVisualizer, OWModelMap, OWCorrelations.

Unhandled exception of type IndexError occured at 14:37:00:
File:, line 1498 in __call__
Code: self.f(**kwds)
File:, line 668 in individualSelected
Code: self.graph.setData(attr,
File:, line 122 in setData
Code: self.plotProbCurve(True)
File:, line 205 in plotProbCurve
Code: self.probCurveKey = self.addCurve("", Qt.gray, Qt.gray, 1, style = Qt.SolidLine, symbol = OWPoint.NoSymbol, xData = xData, yData = [self.condProb(x)[self.master.targetClass] for x in xData], lineWidth = 2, autoScale = 1, y_axis_key = yRight)
IndexError: index 3 is out of range (0-2)

What is the cause ? What could be the remedy ? I see a lot of widgets are missing.

Re: Error while running Orange

Postby Ales » Fri May 04, 2012 16:44

Can you provide some more details about the workflow and the dataset on the Discretize widget input?

Regarding the missing widgets. You seem to be missing PyQwt5 and networkx packages. The installation should have prompted you to install if they were not already present. You can rerun the installation of the orange full package to install them.

Re: Error while running Orange

Postby Olivier » Fri May 11, 2012 10:32

I cannot really give information on the data set as it is confidential but it consists of 48 000 examples and 10 parameters and the value to discretize is a number between 0 and 400.

Return to Questions & Support