#8484 NORM Not Tri: Palette backtrace
Zarro Boogs per Child
bugtracker at laptop.org
Sun Sep 14 06:46:18 EDT 2008
#8484: Palette backtrace
--------------------------+-------------------------------------------------
Reporter: marco | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Not Triaged
Component: not assigned | Version: not specified
Keywords: | Next_action: never set
Verified: 0 | Blockedby:
Blocking: |
--------------------------+-------------------------------------------------
I've seen this a few times in logs:
{{{
[u'sugar-activity', u'journalactivity.JournalActivity', '-b',
dbus.String(u'org.laptop.JournalActivity', variant_level=1), '-a',
'6d762e89f2cd207e23d0859824c302a61f794758']
---------------------------------------------------------------------------
TypeError Traceback (most recent call
last)
/usr/lib/python2.5/site-packages/sugar/graphics/animator.py in
_next_frame_cb(self=<Animator object at 0xa5f9554
(sugar+graphics+animator+Animator at 0xa92b7b0)>)
64
65 for animation in self._animations:
---> 66 animation.do_frame(current_time, self._duration,
self._easing)
animation.do_frame = <bound method _PopupAnimation.do_frame of
<sugar.graphics.palette._PopupAnimation object at 0xa5f0f8c>>
current_time = 0.5
self._duration = 0.5
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._PopupAnimation object at
0xa5f0f8c>, t=0.5, duration=0.5, easing=0)
90 frame = change * pow(2, 10 * (t / duration - 1)) +
start
91
---> 92 self.next_frame(frame)
self.next_frame = <bound method _PopupAnimation.next_frame of
<sugar.graphics.palette._PopupAnimation object at 0xa5f0f8c>>
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._PopupAnimation object at
0xa5f0f8c>, current=1.0)
698 if current == 1.0:
699 self._palette._set_state(Palette.PRIMARY)
--> 700 self._palette._show()
self._palette._show = <bound method Palette._show of <Palette
object at 0xa5f939c (SugarPalette at 0xa8c4ef8)>>
701
702 class _SecondaryAnimation(animator.Animation):
/usr/lib/python2.5/site-packages/sugar/graphics/palette.py in
_show(self=<Palette object at 0xa5f939c (SugarPalette at 0xa8c4ef8)>)
541 self._alignment =
self._invoker.get_alignment(self._full_request)
542 self._update_position()
--> 543 self.set_transient_for(self._invoker.get_toplevel())
self.set_transient_for = <built-in method set_transient_for of
Palette object at 0xa5f939c>
self._invoker.get_toplevel = <bound method
CanvasInvoker.get_toplevel of <CanvasInvoker object at 0xa5f9284
(SugarPaletteInvoker at 0xa92be20)>>
544
545 self.menu.set_active(True)
TypeError: parent should be a GtkWindow or None
--
Ticket URL: <http://dev.laptop.org/ticket/8484>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list