PyWeek - What's up with my GL?
I believe something is terribly wrong. I decided to load some gifs into the game and suddenly this appears:(process:8779): GdkPixbuf-CRITICAL **: gdk_pixbuf_copy: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(process:8779): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(process:8779): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(process:8779): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_n_channels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(process:8779): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_rowstride: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(process:8779): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_has_alpha: assertion `GDK_IS_PIXBUF (pixbuf)' failed
(process:8779): GdkPixbuf-CRITICAL **: gdk_pixbuf_get_pixels: assertion `GDK_IS_PIXBUF (pixbuf)' failed
After some debugging I believe they originates from the line:
image = pyglet.resource.animation("solider_forwards.gif")
The error does not appear for my teammate j-1, so I'm suspecting my installation of OpenGL. Does anyone have an idea of what to do about it?
EDIT: Found this. It appears more people than me are experiencing these problems. Perhaps it's time to scrap the gif plan...
—
jakob on 2009/04/29 20:22
of Camel Walrus Studios
— edited on 2009/04/29 21:04
Comments: (log in to comment)

By gordallott on 2009/04/29 21:51:
... why is it using Gdk? its got nothing todo with Opengl (its a Gnome library)... this is what you get when you hack together a bunch of libraries (such as gdk) that arn't ment to be used this way instead of just using sdl... its not an opengl issue, its just pygletwe are using SDL/Gl and just using numbered .png's for animation (foo_0.png, foo_1.png and so on)
By richard on 2009/04/30 02:21:
gdk is used by pyglet to load imagesBy j-1 on 2009/04/30 18:21:
Correction: I do get the error on my laptop, using Ubuntu, but not from within Gentoo on my stationary.By j-1 on 2009/04/30 21:30:
I found the source of the bug, and a naive workaround, but no real fix, and filed a bug report to pyglet. I guess we will have to use the multiple png method, for the time being.