You are not logged in.

#1 2008-09-06 13:56:51

petelewis
Package Maintainer (PM)
From: Birmingham, UK
Registered: 2008-08-14
Posts: 128
Website

gnuplot + wxt + qt = verbose errors... how to suppress?

Hi folks,

Bit of a niche one this... ;-)

I'm running gnuplot in KDE 4, using the GTK engine that uses Qt to do its rendering, and hence this gets used by the (wxwidgets based) wxt terminal in gnuplot. The terminal's working fine, except that it's chucking this out every time I type (re)plot:

gnuplot> plot 'test'
gnuplot> QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPainter::begin: Cannot paint on a null pixmap
QPainter::end: Painter not active, aborted

(<unknown>:15342): Gdk-CRITICAL **: gdk_pixmap_foreign_new_for_display: assertion `(anid != 0)' failed

(<unknown>:15342): Gdk-CRITICAL **: gdk_draw_drawable: assertion `src != NULL' failed

(<unknown>:15342): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPixmap: It is not safe to use pixmaps outside the GUI thread
QPainter::begin: Cannot paint on a null pixmap
QPainter::end: Painter not active, aborted

(<unknown>:15342): Gdk-CRITICAL **: gdk_pixmap_foreign_new_for_display: assertion `(anid != 0)' failed

(<unknown>:15342): Gdk-CRITICAL **: gdk_draw_drawable: assertion `src != NULL' failed

(<unknown>:15342): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

gnuplot>

Needless to say that this tends to interrupt my work in gnuplot.

Seems like some of these errors / warnings are from GTK and some from Qt. The window displays fine though.

So... anyone know either a) how to turn this off or (preferably) b) how to fix it?

Thanks :-)


"Cared thou not, thou would have abstained." - Xyne

Offline

Board footer

Powered by FluxBB