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

                 Summary: Traceback when opening Brush dialogue
                 Project: MyPaint
            Submitted by: griatch
            Submitted on: Fri 18 Mar 2011 08:54:21 PM GMT
                Severity: 5 - Blocker
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: GIT
         Planned Release: None
        Operating System: Linux Debian SID

    _______________________________________________________

Details:

MyPaint fails with a programming error when opening the brush selector. The
error repeats, making it impossible to open the selector. 
The error seems to happen randomly; after some MyPaint restarts the selector
works, only to come back the next one. 

Traceback (most recent call last):
  File
"/home/samreg/Progs/mypaint/mypaint-trunk/gui/brushselectionwindow.py", line
393, motion_notify_cb(no details)
            old_prelight_group = self.gtkstate_prelight_group
            self.gtkstate_prelight_group = self.group_at(event.x, event.y)
            if self.gtkstate_prelight_group != old_prelight_group:
  variables: {'self': (None, []), 'event': (None, [])}
  File
"/home/samreg/Progs/mypaint/mypaint-trunk/gui/brushselectionwindow.py", line
358, group_at(no details)
            x, y = int(x), int(y) # avoid warning
            i, d = self.layout.xy_to_index(x*pango.SCALE, y*pango.SCALE)
            return self.idx2group.get(i)
  variables: {'pango.SCALE': ('global', 1024), 'd': (None, []), 'i': (None,
[]), 'self': (None, []), 'y': (None, []), 'x': (None, [])}
AttributeError: 'NoneType' object has no attribute 'xy_to_index'




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


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

Reply via email to