SIP assertion error in QwtScaleDraw.label

Bug #672509 reported by Carlos on 2010-11-08
This bug affects 3 people
Affects Status Importance Assigned to Milestone
pyqwt5 (Ubuntu)

Bug Description

PyQwt5 crashes with a sip assertion error when calling the label method from a class that reimplements it from QwtScaleDraw.

See this thread:

Apparently this is due to a bug in sip which is already fixed in the version of sip packaged in Ubuntu 10.10.
The fact that the bug appears in Ubuntu 10.10 may indicate that the sip version used to produce the python-qwt5-qt4 package is different from the sip version shipped in Ubuntu 10.10

The problem could probably be solved by recompiling against a newer sip (e.g. the one ubuntu ships).

I also attach the apport report.

Carlos (carlos-pascual) wrote :

I confirm the solution:
I rebuilt the pyqwt5 package straight from the deb-src package and the bug is gone.

Would it be possible to have this updated in the official repos?

linjunhalida (linjunhalida) wrote :

last night I update my ubuntu 10.10, and got this error,
how long it will fixed?

the mentioned thread is not valid anymore but here a working one:

I confirm as well the solution works

Carlos (carlos-pascual) wrote :

Seems like they fixed this in Debian already.

Will we see the fix propagated to Ubuntu 10.10?

the package python-qwt3d-qt4 is affected by the same bug. the same solution works.
to execute the bug try to .setMesh(31,41) on a parametricSurface (or more simply run the example)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.