#4517 NORM Never A: The Sugar frame can't pop up when running etoys.

Zarro Boogs per Child bugtracker at laptop.org
Mon Oct 29 20:43:02 EDT 2007


#4517: The Sugar frame can't pop up when running etoys.
----------------------------+-----------------------------------------------
 Reporter:  Takashi         |       Owner:  bert          
     Type:  defect          |      Status:  new           
 Priority:  normal          |   Milestone:  Never Assigned
Component:  etoys-activity  |     Version:                
 Keywords:                  |    Verified:  0             
----------------------------+-----------------------------------------------
 (I tested it on latest jhbuild)
 - Run sugar.
 - Open etoys.
 - Press Alt + F. (or, F1, F2, etc)
 - Nothing happened.

 I'm not sure the reason was etoys side or sugar side. We need to
 respond TakeScreenshot() in etoys DBus?

 Error message on the terminal --
 {{{
 DEBUG:root:_key_pressed_cb: 41 8 <alt>f
 Traceback (most recent call last):
   File "/home/takashi/sugar-
 jhbuild/build/share/sugar/shell/view/keyhandler.py", line 200, in
 _key_pressed_cb
     method()
   File "/home/takashi/sugar-
 jhbuild/build/share/sugar/shell/view/keyhandler.py", line 163, in
 handle_frame
     self._shell.get_frame().notify_key_press()
   File "/home/takashi/sugar-
 jhbuild/build/share/sugar/shell/view/frame/frame.py", line 270, in
 notify_key_press
     self._key_listener.key_press()
   File "/home/takashi/sugar-
 jhbuild/build/share/sugar/shell/view/frame/frame.py", line 83, in
 key_press
     self._frame.show(Frame.MODE_KEYBOARD)
   File "/home/takashi/sugar-
 jhbuild/build/share/sugar/shell/view/frame/frame.py", line 146, in show
     self._shell.take_activity_screenshot()
   File "/home/takashi/sugar-
 jhbuild/build/share/sugar/shell/view/Shell.py", line 175, in
 take_activity_screenshot
     activity.get_service().TakeScreenshot()
   File "/home/takashi/sugar-jhbuild/build/lib/python2.5/site-
 packages/dbus/proxies.py", line 136, in __call__
     **keywords)
   File "/home/takashi/sugar-jhbuild/build/lib/python2.5/site-
 packages/dbus/connection.py", line 607, in call_blocking
     message, timeout)
 dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownMethod:
 org.laptop.Activitybd8c4d2b2ce004a68957de75087204d23be75f0f does not
 understand TakeScreenshot()
 Traceback (most recent call last):
   File "/home/takashi/sugar-
 jhbuild/build/share/sugar/shell/view/keyhandler.py", line 218, in
 _key_released_cb
     self._shell.get_frame().notify_key_release()
 AttributeError: 'Frame' object has no attribute 'notify_key_release'
 }}}

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



More information about the Bugs mailing list