#2495 LOW 10.1.3: Invert colors

Zarro Boogs per Child bugtracker at laptop.org
Mon Nov 15 16:15:34 EST 2010


#2495: Invert colors
--------------------------------------------------------+-------------------
           Reporter:  nathalia.sautchuk                 |       Owner:  nathalia.sautchuk
               Type:  enhancement                       |      Status:  reopened         
           Priority:  low                               |   Milestone:  10.1.3           
          Component:  paint/drawing-activity (oficina)  |     Version:                   
         Resolution:                                    |    Keywords:                   
        Next_action:  code                              |    Verified:  0                
Deployment_affected:                                    |   Blockedby:                   
           Blocking:                                    |  
--------------------------------------------------------+-------------------
Changes (by godiard):

  * status:  closed => reopened
  * next_action:  test in build => code
  * resolution:  fixed =>


Comment:

 There are a problem, may be with the version of numpy in F11. In F13 works
 ok.


 {{{
   File "/home/olpc/Activities/Paint.activity/toolbox.py", line 1334, in
 invert_colors
     self._activity.area.invert_colors(widget)
   File "/home/olpc/Activities/Paint.activity/Area.py", line 964, in
 invert_colors
     8)
 TypeError: pixbuf_new_from_array() argument 1 must be array, not
 numpy.ndarray
 Traceback (most recent call last):
   File "/home/olpc/Activities/Paint.activity/toolbox.py", line 1334, in
 invert_colors
     self._activity.area.invert_colors(widget)
   File "/home/olpc/Activities/Paint.activity/Area.py", line 964, in
 invert_colors
     8)
 TypeError: pixbuf_new_from_array() argument 1 must be array, not
 numpy.ndarray

 }}}

-- 
Ticket URL: <http://dev.laptop.org/ticket/2495#comment:6>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list