Ubuntu

SIP assertion error in QwtScaleDraw.label

Reported by Carlos on 2010-11-08
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
pyqwt5 (Ubuntu)
Undecided
Unassigned

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:
http://sourceforge.net/mailarchive/message.php?msg_name=59332.88.79.237.11.1288303088.squirrel%40web-mail.cells.es

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: http://permalink.gmane.org/gmane.comp.graphics.qwt.python/387

I confirm as well the solution works

Carlos (carlos-pascual) wrote :

Seems like they fixed this in Debian already.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=613506

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 http://pyqwt.sourceforge.net/examples3d/ParametricSurfaceDemo.py.html 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.