gdk_cairo_create: assertion `GDK_IS_DRAWABLE (drawable)' failed on linux

Python 2.6.5
wxPython 2.8.10.1 (gtk2-unicode)
cairo 1.8.8
wxcairo.py update from svn(latest)
Linux

I am getting a seg fault in my app and no tracebacks. The error shows:

(python:6409): Gdk-CRITICAL **: gdk_cairo_create: assertion `GDK_IS_DRAWABLE (drawable)’ failed
Segmentation fault

Both examples in demo of cairo are working fine.

Any pointer where to look for?

cheers

Prashant

Compare your code with the Cairo samples in the demo and experiment with things that are done differently until you narrow down on the cause of the crash.

···

On 10/21/11 10:47 AM, King wrote:

Python 2.6.5
wxPython 2.8.10.1 (gtk2-unicode)
cairo 1.8.8
wxcairo.py update from svn(latest)
Linux

I am getting a seg fault in my app and no tracebacks. The error shows:

(python:6409): Gdk-CRITICAL **: gdk_cairo_create: assertion
`GDK_IS_DRAWABLE (drawable)' failed
Segmentation fault

Both examples in demo of cairo are working fine.

Any pointer where to look for?

--
Robin Dunn
Software Craftsman