[ASLO] [REQUEST] Pukllanapac-2

Sugar Labs Activities activities at sugarlabs.org
Thu Jul 29 05:29:24 EDT 2010


A Sugar Labs Activities Editor requested further information from you regarding version 2 of your activity Pukllanapac.

Aleksey Lim wrote:

"On 0.82 it fails to stop with traceback:

/usr/lib/python2.5/site-packages/sugar/graphics/animator.py in _next_frame_cb(self=<Animator object at 0xb61bfeb4 (sugar+graphics+animator+Animator at 0x840a5d0)>)   
     64 
     65         for animation in self._animations:
---> 66             animation.do_frame(current_time, self._duration, self._easing)
        animation.do_frame = <bound method _PopdownAnimation.do_frame of <sugar.graphics.palette._PopdownAnimation object at 0xb6199e6c>>
        current_time = 0.59999999999999998
        self._duration = 0.59999999999999998
        self._easing = 0
     67 
     68         if current_time == self._duration:
        
/usr/lib/python2.5/site-packages/sugar/graphics/animator.py in do_frame(self=<sugar.graphics.palette._PopdownAnimation object at 0xb6199e6c>, t=0.59999999999999998, duration=0.59999999999999998, easing=0)
     90                 frame = change * pow(2, 10 * (t / duration - 1)) + start
     91 
---> 92         self.next_frame(frame)
        self.next_frame = <bound method _PopdownAnimation.next_frame of <sugar.graphics.palette._PopdownAnimation object at 0xb6199e6c>>
        frame = 1.0
     93 
     94     def next_frame(self, frame):
        
/usr/lib/python2.5/site-packages/sugar/graphics/palette.py in next_frame(self=<sugar.graphics.palette._PopdownAnimation object at 0xb6199e6c>, current=1.0)
    721     def next_frame(self, current):
    722         if current == 1.0:
--> 723             self._palette._hide()
        self._palette._hide = <bound method Palette._hide of <Palette object at 0xb61bfc84 (SugarPalette at 0x83dee68)>>
    724 
    725 class Invoker(gobject.GObject):
        
/usr/lib/python2.5/site-packages/sugar/graphics/palette.py in _hide(self=<Palette object at 0xb61bfc84 (SugarPalette at 0x83dee68)>)
    557             self._palette_popup_sid = None
    558 
--> 559         self.menu.set_active(False)
        self.menu.set_active = undefined
        global False = undefined
    560         self.hide()
    561 

AttributeError: 'NoneType' object has no attribute 'set_active'

It is from sugar but looks like activity triggers it somehow."


Please reply to this e-mail or join #sugar on chat.freenode.net.

Sugar Labs Activities
http://activities.sugarlabs.org




More information about the ASLO mailing list