#7036 BLOC Never A: Classroom presenter not launching

Zarro Boogs per Child bugtracker at laptop.org
Sun May 18 23:56:32 EDT 2008


#7036: Classroom presenter not launching
---------------------------------------+------------------------------------
 Reporter:  khackbarth                 |       Owner:  rorrim        
     Type:  defect                     |      Status:  new           
 Priority:  blocker                    |   Milestone:  Never Assigned
Component:  mamamedia-activity-center  |     Version:  Update.1      
 Keywords:                             |    Verified:  0             
 Blocking:                             |   Blockedby:                
---------------------------------------+------------------------------------
 I got this to launch once long enough to get a screen shot but now I can't
 launch it anymore.  I've tried deleting several activities to free up
 storage but that had no effect.  When I look in the XO log I see the
 following:


 {{{
 running activity init <sugar.activity.activityhandle.ActivityHandle object
 at 0x854d94c>
 ---------------------------------------------------------------------------
 <type 'exceptions.OSError'> Traceback (most recent call last)
 /usr/bin/sugar-activity in <module>()
 145
 gtk.icon_theme_get_default().append_search_path(bundle.get_icons_path())
 146
 --> 147 create_activity_instance(constructor, handle)
 global create_activity_instance = <function create_activity_instance at
 0x8317f0c>
 global constructor = <class 'classroompresenter.ClassroomPresenter'>
 global handle = <sugar.activity.activityhandle.ActivityHandle object at
 0x854d94c>
 148
 149 gtk.main()
 /usr/bin/sugar-activity in create_activity_instance(constructor=<class
 'classroompresenter.ClassroomPresenter'>,
 handle=<sugar.activity.activityhandle.ActivityHandle object at 0x854d94c>)
 42
 43 def create_activity_instance(constructor, handle):
 ---> 44 activity = constructor(handle)
 activity = undefined
 constructor = <class 'classroompresenter.ClassroomPresenter'>
 handle = <sugar.activity.activityhandle.ActivityHandle object at
 0x854d94c>
 45 activity.connect('destroy', activity_destroy_cb)
 46 activity.show()
 /home/olpc/Activities/ClassroomPresenter.activity/classroompresenter.py in
 __init__(self=<ClassroomPresenter object at 0x85f5734 (SugarActivity at
 0x89ad800)>, handle=<sugar.activity.activityhandle.ActivityHandle object
 at 0x854d94c>)
 50 self.__work_path = os.path.join(self.get_activity_root(), 'instance')
 51 self.__deck_dir = os.path.join(self.__work_path, 'deck')
 ---> 52 os.mkdir(self.__deck_dir)
 global os.mkdir = <built-in function mkdir>
 self.__deck_dir = undefined
 53 self.__rsrc_dir = os.path.join(activity.get_bundle_path(), 'resources')
 54 self.__logger.debug("Found deck directory: %s", self.__deck_dir)
 <type 'exceptions.OSError'>: [Errno 17] File exists:
 '/home/olpc/.sugar/default/edu.washington.cs.ClassroomPresenterXO/instance/deck'
 }}}

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


More information about the Bugs mailing list