[Debian-olpc-devel] Backtraces while using sugar(-emulator)

Sascha Silbe sascha-ml-ui-sugar-debian-olpc-devel at silbe.org
Tue Jan 13 00:19:17 UTC 2009


Hi!

I'm getting several backtraces when trying out different functionality 
in sugar and see bad behaviour (resp. no reaction) that's probably 
related to the backtrace. How should I handle those? Report in Debian? 
Upstream? Will they get fixed at all in Debian and/or upstream (0.83 is 
well on the way)?

Some examples:

Traceback (most recent call last):
   File "/usr/lib/python2.5/site-packages/sugar/graphics/palette.py", 
line 1017, in __enter_notify_event_cb
     self.notify_mouse_enter()
   File "/usr/lib/python2.5/site-packages/sugar/graphics/palette.py", 
line 913, in notify_mouse_enter
     self._ensure_palette_exists()
   File "/usr/lib/python2.5/site-packages/sugar/graphics/palette.py", 
line 908, in _ensure_palette_exists
     palette = self.parent.create_palette()
AttributeError: 'NotificationIcon' object has no attribute 
'create_palette'
1231805142.488626 ERROR root: Model for window 2097629 does not exist.
Traceback (most recent call last):
   File "/usr/lib/python2.5/site-packages/sugar/graphics/animator.py", 
line 66, in _next_frame_cb
     animation.do_frame(current_time, self._duration, self._easing)
   File "/usr/lib/python2.5/site-packages/sugar/graphics/animator.py", 
line 92, in do_frame
     self.next_frame(frame)
   File "/usr/lib/python2.5/site-packages/sugar/graphics/palette.py", 
line 723, in next_frame
     self._palette._hide()
   File "/usr/lib/python2.5/site-packages/sugar/graphics/palette.py", 
line 559, in _hide
     self.menu.set_active(False)
AttributeError: 'NoneType' object has no attribute 'set_active'
1231805151.063076 DEBUG root: icon <NotificationIcon object at 0x996eb6c 
(SugarNotificationIcon at 0x9c24110)> not in list of notifications.
Traceback (most recent call last):
   File "/usr/share/sugar/shell/view/frame/activitiestray.py", line 107, 
in __destroy_cb
     frame.remove_notification(self._notif_icon)
   File "/usr/share/sugar/shell/view/frame/frame.py", line 309, in 
remove_notification
     raise TypeError('icon must be a NotificationIcon.')
TypeError: icon must be a NotificationIcon.
[u'sugar-activity', u'pippy_app.Chat', '-b', 
dbus.String(u'org.laptop.Chat', variant_level=1), '-a', 
'2cb0fca72b05ade0aaa773db65a9b3d9f0108078']

Traceback (most recent call last):
   File "/usr/share/sugar/shell/view/BuddyMenu.py", line 120, in 
_invite_friend_cb
     activity.invite(self._buddy)
   File "/usr/share/sugar/shell/view/ActivityHost.py", line 46, in 
invite
     service.Invite(buddy.props.key)
   File "/var/lib/python-support/python2.5/dbus/proxies.py", line 140, 
in __call__
     **keywords)
   File "/var/lib/python-support/python2.5/dbus/connection.py", line 
607, in call_blocking
     message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.TypeError: 
Traceback (most recent call last):
   File "/var/lib/python-support/python2.5/dbus/service.py", line 696, 
in _message_cb
     retval = candidate_method(self, *args, **keywords)
   File 
"/usr/lib/python2.5/site-packages/sugar/activity/activityservice.py", 
line 65, in Invite
     self._activity.invite(buddy_key)
   File "/usr/lib/python2.5/site-packages/sugar/activity/activity.py", 
line 899, in invite
     self._send_invites()
   File "/usr/lib/python2.5/site-packages/sugar/activity/activity.py", 
line 879, in _send_invites
     buddy = self._pservice.get_buddy(buddy_key)
   File 
"/usr/lib/python2.5/site-packages/sugar/presence/presenceservice.py", 
line 411, in get_buddy
     % key, err
TypeError: not enough arguments for format string


The latter one hasn't occured since I changed "key, err" to "(key, err)" 
but inviting another person (running the current LiveCD) to Chat still 
didn't work (only the other way round).

CU Sascha

-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/debian-olpc-devel/attachments/20090113/59d2d48f/attachment.pgp 


More information about the Debian-olpc-devel mailing list