#4791 NORM Never A: Sugar bug when no dbus implemplementation on activity

Zarro Boogs per Child bugtracker at laptop.org
Sat Nov 10 02:12:29 EST 2007


#4791: Sugar bug when no dbus implemplementation on activity
--------------------+-------------------------------------------------------
 Reporter:  mk8     |       Owner:  marco         
     Type:  defect  |      Status:  new           
 Priority:  normal  |   Milestone:  Never Assigned
Component:  sugar   |     Version:                
 Keywords:          |    Verified:  0             
--------------------+-------------------------------------------------------
 When an activity has no dbus implementation, it can be started but sugar
 is not able to manager the changed of the zoom view using keyboard or
 mount (move on the upper-left side of the screen).

 Here you can find the shell.log file.

 I use the latest joyride build with security disabled (rm /etc/olpc-
 security), otherwise my activity not start.

 You find the activity used as test here:
 http://mk8.codewiz.org/wiki/MonkeysMemory-2.xo

 -------------------------- SHELL.LOG -----------------------
 [olpc at xo-63-36-02 logs]$ cat shell.log
 [u'sugar-activity', u'journalactivity.JournalActivity', '-b',
 dbus.String(u'org.laptop.JournalActivity', variant_level=1), '-a',
 '90fe93835cd57974256326b01d31c89300e3b559']
 [u'monkeysmemory-activity', '-b', dbus.String(u'org.vpri.MonkeysMemory',
 variant_level=1), '-a', 'ae3eec451b01440eff96b4eb3d59aa440b68c236']
 Traceback (most recent call last):
   File "/usr/share/sugar/shell/view/frame/frame.py", line 267, in
 _enter_corner_cb
     self._mouse_listener.mouse_enter()
   File "/usr/share/sugar/shell/view/frame/frame.py", line 53, in
 mouse_enter
     self._show_frame()
   File "/usr/share/sugar/shell/view/frame/frame.py", line 62, in
 _show_frame
     self._frame.show(Frame.MODE_MOUSE)
   File "/usr/share/sugar/shell/view/frame/frame.py", line 146, in show
     self._shell.take_activity_screenshot()
   File "/usr/share/sugar/shell/view/Shell.py", line 176, in
 take_activity_screenshot
     activity.get_service().TakeScreenshot(timeout=2.0)
 AttributeError: 'NoneType' object has no attribute 'TakeScreenshot'
 1194711172.382384 WARNING root: ActivitiesDonut: could not read
 /proc/1733/smaps: IOError(2, 'No such file or directory')
 1194711172.392447 WARNING root: ActivitiesDonut: could not read
 /proc/1733/smaps: IOError(2, 'No such file or directory')

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



More information about the Bugs mailing list