Orange Forum • View topic - Missing widgets: name 'QwtPlotCurve' is not defined

Missing widgets: name 'QwtPlotCurve' is not defined

Report bugs (or imagined bugs).
(Archived/read-only, please use our ticketing system for reporting bugs and their discussion.)
Forum rules
Archived/read-only, please use our ticketing system for reporting bugs and their discussion.

Missing widgets: name 'QwtPlotCurve' is not defined

Postby Jakob Lund » Tue Mar 23, 2010 17:40

I installed the 2010-03-21 snapshot on Ubuntu Karmic.

Some widgets seemed to be missing, and I found a post in the forum saying to install the package python-qwt5-qt4 from a PPA. I did, and more widgets are showing up, but still not all (especially not the Discretizer which was the one that I was looking for...)

From the output window:

There were problems importing the following widgets:
OWItemsetViz: the sip module implements API v7.0 but the PyQt4.Qwt5.Qwt module requires API v6.0
OWTimeDataVisualizer: name 'QwtPlotCurve' is not defined
OWNetExplorer: name 'QwtPlotCurve' is not defined
OWNetworkFromDistances: name 'QwtPlotCurve' is not defined
OWMDS: name 'QwtPlotCurve' is not defined
OWDiscretize: name 'QwtPlotCurve' is not defined
OWLiftCurve: name 'QwtPlotCurve' is not defined
OWCalibrationPlot: name 'QwtPlotCurve' is not defined
OWROC: name 'QwtPlotCurve' is not defined
OWParallelCoordinates: name 'QwtPlotCurve' is not defined
OWLinProj: name 'QwtPlotCurve' is not defined
OWCorrAnalysis: name 'QwtPlotCurve' is not defined
OWSieveMultigram: name 'QwtPlotCurve' is not defined
OWSurveyPlot: name 'QwtPlotCurve' is not defined
OWRadviz: name 'QwtPlotCurve' is not defined
OWScatterPlot: name 'QwtPlotCurve' is not defined
OWPolyviz: name 'QwtPlotCurve' is not defined
OWDistributions: name 'QwtPlotCurve' is not defined
The following widgets could not be imported and will not be available: OWLiftCurve, OWRadviz, OWCalibrationPlot, OWSurveyPlot, OWScatterPlot, OWParallelCoordinates, OWNetworkFromDistances, OWCorrAnalysis, OWNetExplorer, OWMDS, OWPolyviz, OWDistributions, OWSieveMultigram, OWROC, OWDiscretize, OWLinProj.
The following prototype widgets could not be imported and will not be available: OWItemsetViz, OWTimeDataVisualizer.

reference

Postby Jakob Lund » Tue Mar 23, 2010 17:53

For reference the forum post I mentioned was this one

http://www.ailab.si/orange/forum/viewtopic.php?t=860

Postby Ales » Wed Mar 24, 2010 11:21

The problem is this
OWItemsetViz: the sip module implements API v7.0 but the PyQt4.Qwt5.Qwt module requires API v6.0

This means that the python-qwt5-qt4 package from PPA is build against a diffrent (older) version of sip library.
Possible solutions:
- Downgrade sip
- Build PyQwt5 from source


Return to Bugs