URL:
<http://gna.org/bugs/?17039>
Summary: Error when opening brush list
Project: MyPaint
Submitted by: ania
Submitted on: Monday 11/08/2010 at 19:05
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 0.9.0
Planned Release: None
Operating System: Xubuntu 9.04
_______________________________________________________
Details:
When I open the Brush list (B or through the menu), an error message occurs.
Apart from that the brushes seem to work so far.
Message:
A programming error has been detected.
It probably isn't fatal, but the details should be reported to the developers
nonetheless.
Details:
Traceback (most recent call last):
File
"/home/ania/mypaint/install/share/mypaint/gui/brushselectionwindow.py", line
224, expose_cb(self=<GroupSelector object at 0x23cad20 (GtkDrawingArea at
0x24a99d0)>, widget=<GroupSelector object at 0x23cad20 (GtkDrawingArea at
0x24a99d0)>, event=<gtk.gdk.Event at 0x7f3ab55f3b48: GDK_EXPOSE area=[0, 0,
350, 1]>)
c = style.bg[gtk.STATE_NORMAL]
cr.set_source_rgb(c.red_float, c.green_float, c.blue_float)
cr.rectangle(0, 0, width, height)
variables: {'cr.set_source_rgb': ('local', <built-in method set_source_rgb
of gtk.gdk.CairoContext object at 0x7f3ab5603f90>)}
AttributeError: 'gtk.gdk.Color' object has no attribute 'red_float'
I don't know if it has to do with this bug (I guess not, but I'm not a
programmer so I let you decide), I had to edit libpng.h in order to compile
Mypaint because otherwise it terminated because of errors. I edited as here:
https://bugs.launchpad.net/ubuntu/+source/libpng/+bug/218409
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?17039>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs