[Bugs] #3907 sugar-toolkit-gtk3 UNSP: Browse Download Alert: Timeout icon does not draw correctly

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Mon Oct 1 11:35:18 EDT 2012


#3907: Browse Download Alert: Timeout icon does not draw correctly
------------------------------------------+---------------------------------
    Reporter:  erikos                     |          Owner:  manuq   
        Type:  defect                     |         Status:  assigned
    Priority:  Unspecified by Maintainer  |      Milestone:  0.98    
   Component:  sugar-toolkit-gtk3         |        Version:  0.97.x  
    Severity:  Blocker                    |       Keywords:          
Distribution:  OLPC                       |   Status_field:  Assigned
------------------------------------------+---------------------------------

Comment(by manuq):

 Replying to [comment:3 humitos]:
 > I'm getting this trace in the log:
 >
 > {{{
 > ** (sugar-activity:19785): CRITICAL **: Stack overflow protection. Can't
 copy array element into GIArgument.
 > Traceback (most recent call last):
 >   File "/home/humitos/sugar-build/install/lib/python2.7/site-
 packages/sugar3/graphics/alert.py", line 354, in __draw_cb
 >     self._draw(context)
 >   File "/home/humitos/sugar-build/install/lib/python2.7/site-
 packages/sugar3/graphics/alert.py", line 373, in _draw
 >     color = widget_style.bg[self.get_state()]
 > IndexError: list index out of range
 > }}}

 Good catch, I'm attaching a possible fix.

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/3907#comment:4>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list