#2895 NORM Untriag: XO Emulator tracebacks

Zarro Boogs per Child bugtracker at laptop.org
Sat Aug 18 13:50:46 EDT 2007


#2895: XO Emulator tracebacks
---------------------------+------------------------------------------------
  Reporter:  jennjacobsen  |       Owner:  jg       
      Type:  defect        |      Status:  new      
  Priority:  normal        |   Milestone:  Untriaged
 Component:  distro        |     Version:           
Resolution:                |    Keywords:           
  Verified:  0             |  
---------------------------+------------------------------------------------
Comment (by jennjacobsen):

 Replying to [ticket:2895 jennjacobsen]:
 > The XO emulator built on Fedora Core 7 throws several tracebacks per
 below:
 >
 > {{{
 >
 > [root at localhost sugar-jhbuild]# ./sugar-jhbuild run
 > INFO:sugar-emulator:Attempting to find free port for X11 (Xephyr)
 > INFO:sugar-emulator:  Found free port: #18 (6018)
 > INFO:sugar-emulator:Starting the Xephyr nested X display on display 18
 > DEBUG:sugar-emulator:Xephyr command: Xephyr :18 -ac -screen 1200x900
 -dpi 96
 > /olpc/sugar-jhbuild/build/share/sugar/data/sugar.gtkrc
 > INFO:sugar-emulator:Attempting to launch sugar to replace this process:
 dbus-launch dbus-launch --exit-with-session sugar-shell
 > Extended Input Devices not yet supported. Impelement it at line 625 in
 kinput.c
 > Traceback (most recent call last):
 >   File "/olpc/sugar-
 jhbuild/build/share/sugar/shell/view/home/activitiesdonut.py", line 203,
 in _activity_added_cb
 >     self._add_activity(activity)
 >   File "/olpc/sugar-
 jhbuild/build/share/sugar/shell/view/home/activitiesdonut.py", line 222,
 in _add_activity
 >     icon = ActivityIcon(activity)
 >   File "/olpc/sugar-
 jhbuild/build/share/sugar/shell/view/home/activitiesdonut.py", line 83, in
 __init__
 >     self._setup_palette()
 >   File "/olpc/sugar-
 jhbuild/build/share/sugar/shell/view/home/activitiesdonut.py", line 88, in
 _setup_palette
 >     palette.set_primary_text(self._activity.get_title())
 >   File "/olpc/sugar-
 jhbuild/build/share/sugar/shell/model/homeactivity.py", line 99, in
 get_title
 >     return self._window.get_name()
 > AttributeError: 'NoneType' object has no attribute 'get_name'
 >
 > X connection to :0.0 broken (explicit kill or server shutdown).
 > X connection to :18.0 broken (explicit kill or server shutdown).
 > [root at localhost sugar-jhbuild]#
 >
 > }}}
 >
 >

 I have the fixes in activitiesdonut.py and homeactivity.py and I'll upload
 them.

-- 
Ticket URL: <http://dev.laptop.org/ticket/2895#comment:2>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list