Ticket #8015 (closed defect: worksforme)

Opened 6 years ago

Last modified 6 years ago

Develop-34 Activity won't start in joyride-2301

Reported by: genesee Owned by: marco
Priority: normal Milestone: 8.2.0 (was Update.2)
Component: sugar Version: not specified
Keywords: Cc:
Action Needed: diagnose Verified: yes
Deployments affected: Blocked By:
Blocking:

Description

Develop 94 does not start. It's icon blinks for a while as if starting, then returns to List view. Also true for Xo-get activity.

Attachments

tmpSX9hbE.txt (13.1 kB) - added by thomaswamm 6 years ago.
logfile for failed Develop-34 in build 8.2-757

Change History

Changed 6 years ago by thomaswamm

  • verified set

In joyride-2301, Develop version 34 does not start, as described above.

Changed 6 years ago by thomaswamm

  • summary changed from Activities Won't Start to Develop-34 Activity won't start in joyride-2301

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

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, envSUGAR_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 .

Changed 6 years ago by genesee

Okay, the upload log is way out of my league, I can't make heads or tails of it. More to the point, it's not only Develop that won't work, also Measure, (which I don't use but tested as per another ticket), that were downloaded with Software Updates. Nothing downloaded with Browse from the Activities pages shows up properly in Journal, or starts or anything, (see Ticket# 8013). By the way, yes, I'm up to joyride-2301 and firmware Q2E12.

Changed 6 years ago by gregorio

  • owner changed from homunq to marco
  • component changed from develop-activity to sugar

Changed 6 years ago by marco

  • next_action changed from never set to diagnose

Changed 6 years ago by thomaswamm

logfile for failed Develop-34 in build 8.2-757

Changed 6 years ago by genesee

Develop-35 works in joyride-2401, (yes, now up to 2401). Oops, that should have been Develop-34 not 94 in my original ticket.

Changed 6 years ago by cscott

  • status changed from new to closed
  • resolution set to worksforme

Works for me in joyride-2452.

Note: See TracTickets for help on using tickets.