AttributeError: 'NoneType' object has no attribute 'red'
Traceback (most recent call last):
File "/home/ms/workspace/labyrinth/src/MMapArea.py", line 702, in expose
self.draw (event, context)
File "/home/ms/workspace/labyrinth/src/MMapArea.py", line 747, in draw
t.draw(context)
File "/home/ms/workspace/labyrinth/src/TextThought.py", line 330, in draw
r,g,b = utils.gtk_to_cairo_color(self.foreground_color)
File "/home/ms/workspace/labyrinth/src/utils.py", line 137, in
gtk_to_cairo_color
return (color.red / 65535.0, color.green / 65535.0, color.blue / 65535.0)
AttributeError: 'NoneType' object has no attribute 'red'
Original issue reported on code.google.com by sinfr...@gmail.com on 4 Apr 2008 at 1:56
Original issue reported on code.google.com by
sinfr...@gmail.com
on 4 Apr 2008 at 1:56