URL:
  <http://gna.org/bugs/?19003>

                 Summary: layers erase themselves when oppenig Mypaint
                 Project: MyPaint
            Submitted by: lys
            Submitted on: mar 15 nov 2011 22:08:19 GMT
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
         Planned Release: None
        Operating System: windows 7 64bits

    _______________________________________________________

Details:

I'm working on a pretty heavy piicture with multiple layers and when I
oppened it today, it gave me a "bug detected" message, plus 2 out of 5 layers
(the first and the last one, and also tho one with more things on it) were
totally blank.

Here is the bug report :

Traceback (most recent call last):
  File "C:\Program Files (x86)\MyPaint\library.zip\gui\filehandling.py", line
477, open_last_cb(no details)
            fn = helpers.uri2filename(uri)
            self.open_file(fn)
  File "C:\Program Files (x86)\MyPaint\library.zip\gui\drawwindow.py", line
43, wrapper(self=<gui.filehandling.FileHandler object>,
*args=(u'C:\\Users\\Lys\\Desktop\\Pictures\\affiche hpdm line.ora',),
**kwargs={})
            try:
                func(self, *args, **kwargs)
            finally:
  File "C:\Program Files (x86)\MyPaint\library.zip\gui\filehandling.py", line
227, open_file(no details)
            try:
                self.doc.model.load(filename)
            except document.SaveLoadError, e:
  File "C:\Program Files (x86)\MyPaint\library.zip\lib\document.py", line
284, load(no details)
            try:
                load(filename)
            except gobject.GError, e:
  File "C:\Program Files (x86)\MyPaint\library.zip\lib\document.py", line
520, load_ora(self=<lib.document.Document instance>,
filename=u'C:\\Users\\Lys\\Desktop\\Pictures\\affiche hpdm line.ora')
                t1 = time.time()
                self.load_layer_from_pixbuf(pixbuf, x, y)
                layer = self.layers[0]
  File "C:\Program Files (x86)\MyPaint\library.zip\lib\document.py", line
217, load_layer_from_pixbuf(no details)
            arr = helpers.gdkpixbuf2numpy(pixbuf)
            self.do(command.LoadLayer(self, arr, x, y))
  File "C:\Program Files (x86)\MyPaint\library.zip\lib\document.py", line
163, do(no details)
            self.split_stroke()
            self.command_stack.do(cmd)
  File "C:\Program Files (x86)\MyPaint\library.zip\lib\command.py", line 23,
do(no details)
            self.redo_stack = [] # discard
            command.redo()
            self.undo_stack.append(command)
  File "C:\Program Files (x86)\MyPaint\library.zip\lib\command.py", line 113,
redo(no details)
            self.before = layer.save_snapshot()
            layer.load_from_pixbuf(self.data)
        def undo(self):
  File "C:\Program Files (x86)\MyPaint\library.zip\lib\layer.py", line 35,
load_from_pixbuf(no details)
            self.strokes = []
            self.surface.load_from_data(pixbuf)
  File "C:\Program Files (x86)\MyPaint\library.zip\lib\tiledsurface.py", line
200, load_from_data(no details)
            s = pixbufsurface.Surface(x, y, w, h, alpha=True, data=data)
            self.load_from_pixbufsurface(s)
  File "C:\Program Files (x86)\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




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?19003>

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs

Reply via email to