#8015 NORM 8.2.0 (: Develop-34 Activity won't start in joyride-2301 (was: Activities Won't Start)

Zarro Boogs per Child bugtracker at laptop.org
Mon Aug 18 04:14:47 EDT 2008


#8015: Develop-34 Activity won't start in joyride-2301
--------------------------------+-------------------------------------------
   Reporter:  genesee           |       Owner:  homunq              
       Type:  defect            |      Status:  new                 
   Priority:  normal            |   Milestone:  8.2.0 (was Update.2)
  Component:  develop-activity  |     Version:  not specified       
 Resolution:                    |    Keywords:                      
Next_action:  never set         |    Verified:  1                   
  Blockedby:                    |    Blocking:                      
--------------------------------+-------------------------------------------

Comment(by thomaswamm):

 The first and last lines of a long Develop logfile are:[[BR]]

 reserved credentials (10008, 10011)
 adding group: /usr/sbin/groupadd -o -g 10011 10011
 adding user: /usr/sbin/useradd -m -u 10008 -g 10011 -c
 org.laptop.Develop.10008 -d /home/olpc/isolation/1/uid_to_home_dir/10008
 10008
 dropping privilege to (10008, 10011)
 chdir to /home/olpc/Activities/Develop.activity
 umask(0)
 about to execve
 argv: dbus.Array([dbus.UTF8String('sugar-activity'),
 dbus.UTF8String('develop_app.DevelopActivity'), dbus.UTF8String('-s'),
 dbus.UTF8String('-b'), dbus.UTF8String('org.laptop.Develop'),
 dbus.UTF8String('-a'),
 dbus.UTF8String('f81c430737e7a61bc38a85047de1ac94b419c651')],
 signature=dbus.Signature('s'))
 env: dbus.Dictionary({dbus.UTF8String('LOGNAME'): dbus.UTF8String('olpc'),
 'USER': '10008', dbus.UTF8String('PATH'):
 dbus.UTF8String('/home/olpc/Activities/Develop.activity/bin:/usr/bin:/bin'),
 dbus.UTF8String('HOME'): '/home/olpc/isolation/1/uid_to_home_dir/10008',
 dbus.UTF8String('DISPLAY'): dbus.UTF8String(':0'),
 dbus.UTF8String('LANG'): dbus.UTF8String('en_US.UTF-8'),
 dbus.UTF8String('SHELL'): dbus.UTF8String('/bin/bash'),
 dbus.UTF8String('XDG_SESSION_COOKIE'):
 dbus.UTF8String('ae2402fd682600f57c53d82448a8b0fc-1219016626.80896-3147023'),
 dbus.UTF8String('SESSION_MANAGER'): dbus.UTF8String('local/unix:@/tmp
 /.ICE-unix/1261,unix/unix:/tmp/.ICE-unix/1261'), dbus.UTF8String('SHLVL'):
 dbus.UTF8String('1'), dbus.UTF8String('ICEAUTHORITY'):
 '/home/olpc/isolation/1/uid_to_home_dir/10008/.ICEauthority',
 dbus.UTF8String('WINDOWPATH'): dbus.UTF8String('3'),
 dbus.UTF8String('SUGAR_BUNDLE_PATH'):
 dbus.UTF8String('/home/olpc/Activities/Develop.activity'),
 dbus.UTF8String('SUGAR_THEME'): dbus.UTF8String('sugar-xo'),
 dbus.UTF8String('SUGAR_ACTIVITY_ROOT'):
 '/home/olpc/isolation/1/uid_to_home_dir/10008',
 dbus.UTF8String('GTK2_RC_FILES'): dbus.UTF8String('/usr/share/sugar/data
 /sugar-xo.gtkrc'), dbus.UTF8String('SUGAR_BUNDLE_ID'):
 dbus.UTF8String('org.laptop.Develop'),
 dbus.UTF8String('DBUS_SESSION_BUS_ADDRESS'):
 dbus.UTF8String('unix:path=/tmp/olpc-session-
 bus,guid=0a544a80ac87be4ccd89108448a8b7b2'), 'TMPDIR':
 '/home/olpc/isolation/1/uid_to_home_dir/10008/tmp',
 dbus.UTF8String('XAUTHORITY'):
 '/home/olpc/isolation/1/uid_to_home_dir/10008/.Xauthority',
 dbus.UTF8String('GTK_IM_MODULE'): dbus.UTF8String('xim'),
 dbus.UTF8String('XSERVERAUTH'): dbus.UTF8String('/var/tmp/olpc-
 auth/.Xserverauth'), dbus.UTF8String('PWD'):
 dbus.UTF8String('/home/olpc')}, signature=dbus.Signature('ss'))
 closing all fds but (1, 2)
 {dbus.UTF8String('LOGNAME'): dbus.UTF8String('olpc'), 'USER': '10008',
 'PATH':
 dbus.UTF8String('/home/olpc/Activities/Develop.activity/bin:/usr/bin:/bin'),
 dbus.UTF8String('HOME'): '/home/olpc/isolation/1/uid_to_home_dir/10008',
 'DISPLAY': dbus.UTF8String(':0'), dbus.UTF8String('LANG'):
 dbus.UTF8String('en_US.UTF-8'), 'TERM': 'linux', dbus.UTF8String('SHELL'):
 dbus.UTF8String('/bin/bash'), 'XAUTHORITY':
 '/home/olpc/isolation/1/uid_to_home_dir/10008/.Xauthority',
 dbus.UTF8String('SESSION_MANAGER'): dbus.UTF8String('local/unix:@/tmp
 /.ICE-unix/1261,unix/unix:/tmp/.ICE-unix/1261'), dbus.UTF8String('SHLVL'):
 dbus.UTF8String('1'), 'ICEAUTHORITY':
 '/home/olpc/isolation/1/uid_to_home_dir/10008/.ICEauthority',
 dbus.UTF8String('WINDOWPATH'): dbus.UTF8String('3'),
 dbus.UTF8String('SUGAR_BUNDLE_PATH'):
 dbus.UTF8String('/home/olpc/Activities/Develop.activity'),
 dbus.UTF8String('SUGAR_THEME'): dbus.UTF8String('sugar-xo'),
 dbus.UTF8String('SUGAR_ACTIVITY_ROOT'):
 '/home/olpc/isolation/1/uid_to_home_dir/10008', 'UPSTART_JOB_ID': '3',
 dbus.UTF8String('SUGAR_BUNDLE_ID'): dbus.UTF8String('org.laptop.Develop'),
 'DBUS_SESSION_BUS_ADDRESS': dbus.UTF8String('unix:path=/tmp/olpc-session-
 bus,guid=0a544a80ac87be4ccd89108448a8b7b2'), 'TMPDIR':
 '/home/olpc/isolation/1/uid_to_home_dir/10008/tmp',
 dbus.UTF8String('XDG_SESSION_COOKIE'):
 dbus.UTF8String('ae2402fd682600f57c53d82448a8b0fc-1219016626.80896-3147023'),
 dbus.UTF8String('GTK_IM_MODULE'): dbus.UTF8String('xim'),
 dbus.UTF8String('XSERVERAUTH'): dbus.UTF8String('/var/tmp/olpc-
 auth/.Xserverauth'), 'UPSTART_JOB': 'rainbow', dbus.UTF8String('PWD'):
 dbus.UTF8String('/home/olpc'), 'UPSTART_EVENT': 'started',
 'GTK2_RC_FILES': dbus.UTF8String('/usr/share/sugar/data/sugar-xo.gtkrc')}
 /usr/lib/python2.5/site-packages/gtk-2.0/gobject/__init__.py:95: Warning:
 cannot register existing type `SugarActivity'
   type_register(cls, namespace.get('__gtype_name__'))
 ---------------------------------------------------------------------------
 RuntimeError                              Traceback (most recent call
 last)

 /usr/lib/python2.5/site-packages/rainbow/service.py in
 CreateActivity(self=<rainbow.service.Rainbow at / at 0x9b8baec>,
 log_path=dbus.UTF8String('/home/olpc/.sugar/default/logs/org.laptop.Develop-1.log'),
 env=dbus.Dictionary({dbus.UTF8String('LOGNAME'): dbu...g('/home/olpc')},
 signature=dbus.Signature('ss')), argv=dbus.Array([dbus.UTF8String('sugar-
 activity'), d...e1ac94b419c651')], signature=dbus.Signature('s')),
 bundle_path=dbus.UTF8String('/home/olpc/Activities/Develop.activity'),
 bundle_id=dbus.UTF8String('org.laptop.Develop'), success_cont=<function
 <lambda> at 0xa308f0c>, error_cont=<function <lambda> at 0xa308f44>)
     125                     ret = inject.run(log, SPOOL, env, argv,
 env['SUGAR_BUNDLE_PATH'], pset, (1, 2),
     126                             env.get('RAINBOW_STRACE_LOG'), 500,
 500, bundle_path, bundle_id,
 --> 127                             env.get('RAINBOW_CONSTANT_UID'),
 self.preloader_hint)
         env.get = <built-in method get of dbus.Dictionary object at
 0x9b021dc>
         self.preloader_hint = True
     128                 except Exception, e:
     129                     util.trace()


 ----
 lots of stuff snipped out here
 ----

 /usr/lib/python2.5/site-packages/gtk-2.0/gobject/__init__.py in
 _type_register(cls=<class 'activity.Activity'>, namespace=<dictproxy
 object at 0x9bfa6bc>)
      93             return
      94
 ---> 95         type_register(cls, namespace.get('__gtype_name__'))
         global type_register = <built-in function type_register>
         cls = <class 'activity.Activity'>
         namespace.get = <built-in method get of dictproxy object at
 0x9bfa6bc>
      96 _gobject._install_metaclass(GObjectMeta)
      97

 RuntimeError: could not create new GType: SugarActivity (subclass of
 sugar+graphics+window+Window)

 ----
 Sorry, I don't yet know how to easily upload logs using either Browse or
 Firefox-4.xo .

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


More information about the Bugs mailing list