RuntimeError: could not create GdkPixbuf object

Description of the Problem?

A small screen appears, “Cannot save file, It probably isn’t fatal but the developers need to know about this.” So, I copied what was in the details box.

Basic System Details

MyPaint version:

  • Found under Help → About MyPaint

Operating System + Version:

  • Please include Desktop Environment if on Linux

Make and Model # of Graphic Tablet:

Please Tell Us How to Reproduce the Problem in Steps.

Are there any Errors Popping Up? If so, paste the text in the area shown below.

Traceback (most recent call last):
  File "C:\Program Files\MyPaint\library.zip\gui\filehandling.py", line 366, save_as_cb(no details)
                        else:
                            self.save_file(filename, **options)
                        break
  File "C:\Program Files\MyPaint\library.zip\gui\drawwindow.py", line 43, wrapper(self=<gui.filehandling.FileHandler object>, *args=(u"C:\\Users\\Jeffro's\\Dropbox\\Finished art work\\Modified Rudd 02.jpg",), **kwargs={'quality': 90})
            try:
                func(self, *args, **kwargs)
            finally:
  File "C:\Program Files\MyPaint\library.zip\gui\filehandling.py", line 241, save_file(no details)
                    raise document.SaveLoadError, _('Did not save, the canvas is empty.')
                self.doc.model.save(filename, **options)
            except document.SaveLoadError, e:
  File "C:\Program Files\MyPaint\library.zip\lib\document.py", line 262, save(no details)
            try:        
                save(filename, **kwargs)
            except gobject.GError, e:
  File "C:\Program Files\MyPaint\library.zip\lib\document.py", line 332, save_jpg(no details)
        def save_jpg(self, filename, quality=90):
            pixbuf = self.render_as_pixbuf()
            pixbuf.save(filename, 'jpeg', options={'quality':str(quality)})
  File "C:\Program Files\MyPaint\library.zip\lib\document.py", line 299, render_as_pixbuf(no details)
        def render_as_pixbuf(self, *args, **kwargs):
            return pixbufsurface.render_as_pixbuf(self, *args, **kwargs)
  File "C:\Program Files\MyPaint\library.zip\lib\pixbufsurface.py", line 100, render_as_pixbuf(no details)
        x, y, w, h, = rect
        s = Surface(x, y, w, h, alpha)
        for tx, ty in s.get_tiles():
  File "C:\Program Files\MyPaint\library.zip\lib\pixbufsurface.py", line 44, __init__(no details)
            self.epixbuf = gdk.Pixbuf(gdk.COLORSPACE_RGB, alpha, 8, self.ew, self.eh)
            dx = x-self.ex
RuntimeError: could not create GdkPixbuf object

@Jeffro Your thread has been unhidden, and moved over to the correct category with the the topic template applied. Could you please edit your post and add the extra information we need to help you?