Hi all,
I've been playing around with the Clutter python bindings and sinking
my teeth into it a little more, but have struck a bit of a problem. I
keep getting what appears to be an almost random error that reads:
Clutter-CRITICAL **: clutter_actor_get_id: assertion `CLUTTER_IS_ACTOR
(self)' failed
Clutter-CRITICAL **: clutter_actor_get_parent: assertion
`CLUTTER_IS_ACTOR (self)' failed
The program then segfaults. This only began occuring after I added the
following code:
pixbuf = gtk.gdk.pixbuf_new_from_file("background.png")
background = clutter.Texture()
background.set_pixbuf(pixbuf)
background.set_size(self.stage.get_width(), self.stage.get_height())
self.stage.add(background)
If I remove the final line then the problem goes away. With the line
included, the program starts fine and the background image loads etc,
but then after a random period of time it exists out with the above
message. The time before crashing seems to be less if I press a few
keys etc, but is never longer than 10-15 seconds or so. Not sure if
this is a problem with the python bindings or something in my program
though?
Anyone able to help?
-Josh
P.S. Any idea when the python bindings for 0.3 will be done?
--
To unsubscribe send a mail to [EMAIL PROTECTED]