#6046 HIGH Update.: browse is slow after update from ship.2 to update.1 or joyride
Zarro Boogs per Child
bugtracker at laptop.org
Wed Jan 30 21:17:15 EST 2008
#6046: browse is slow after update from ship.2 to update.1 or joyride
---------------------+------------------------------------------------------
Reporter: erikos | Owner: sayamindu
Type: defect | Status: assigned
Priority: high | Milestone: Update.1
Component: distro | Version: Development build as of this date
Resolution: | Keywords: rainbow-integration, upgrade
Verified: 0 | Blocking:
Blockedby: |
---------------------+------------------------------------------------------
Comment(by bjepson):
Let me try that code block again:
{{{
groupadd: group 10001 exists
useradd: user 10001 exists
---------------------------------------------------------------------------
<type 'exceptions.OSError'> Traceback (most recent call
last)
/usr/lib/python2.5/site-packages/rainbow/service.py in
CreateActivity(self=<rainbow.service.Rainbow at / at 0xb74ed5ec>,
log_path=dbus.UTF8String('/home/olpc/.sugar/default/logs/org.laptop.WebActivity-1.log'),
env=dbus.Dictionary({dbus.UTF8String('LANG'): dbus.U...c/.Xauthority')},
signature=dbus.Signature('ss')), argv=dbus.Array([dbus.UTF8String('sugar-
activity'), d...1d24ae79f919ea')], signature=dbus.Signature('s')),
bundle_path=dbus.UTF8String('/usr/share/activities/Web.activity'),
bundle_id=dbus.UTF8String('org.laptop.WebActivity'),
success_cont=<function <lambda> at 0xb74eb79c>, error_cont=<function
<lambda> at 0xb74eb6f4>)
58 ret = inject.run(log, SPOOL, env, argv,
env['SUGAR_BUNDLE_PATH'], (1, 2),
59 env.get('RAINBOW_STRACE_LOG'), 500,
500, bundle_path, bundle_id,
---> 60 env.get('RAINBOW_CONSTANT_UID'))
env.get = <built-in method get of dbus.Dictionary object at
0xb7705a4c>
61 except Exception, e:
62 util.trace()
/usr/lib/python2.5/site-packages/rainbow/inject.py in run(log=<function
log at 0xb74eb64c>, spool='/home/olpc/isolation/1',
env=dbus.Dictionary({dbus.UTF8String('LANG'): dbus.U...c/.Xauthority')},
signature=dbus.Signature('ss')), argv=dbus.Array([dbus.UTF8String('sugar-
activity'), d...1d24ae79f919ea')], signature=dbus.Signature('s')),
cwd=dbus.UTF8String('/usr/share/activities/Web.activity'), safe_fds=(1,
2), strace_hint=None, owner_uid=500, owner_gid=500,
bundle_path=dbus.UTF8String('/usr/share/activities/Web.activity'),
bundle_id=dbus.UTF8String('org.laptop.WebActivity'),
constant_uid=dbus.UTF8String('yes'))
255 uid, gid = reserve_credentials(log, spool, bundle_id,
constant_uid)
256 home = grab_home(log, spool, bundle_id, uid, gid, owner_uid)
--> 257 configure_home(spool, owner_uid, owner_gid, uid, gid, home)
global configure_home = <function configure_home at 0xb762287c>
spool = '/home/olpc/isolation/1'
owner_uid = 500
owner_gid = 500
uid = 10001
gid = 10001
home = '/home/olpc/isolation/1/uid_to_home_dir/10001'
258
259 if cwd is None:
/usr/lib/python2.5/site-packages/rainbow/inject.py in
configure_home(spool='/home/olpc/isolation/1', owner_uid=500,
owner_gid=500, uid=10001, gid=10001,
home='/home/olpc/isolation/1/uid_to_home_dir/10001')
177 os.chmod(join(home, path), 0770)
178
--> 179 os.symlink('instance', join(home, '.fontconfig'))
global os.symlink = <built-in function symlink>
global join = <function join at 0xb7c0b224>
home = '/home/olpc/isolation/1/uid_to_home_dir/10001'
180
181 def launch(log, home, uid, gid, argv, env, cwd, safe_fds,
strace_hint):
<type 'exceptions.OSError'>: [Errno 17] File exists
}}}
--
Ticket URL: <http://dev.laptop.org/ticket/6046#comment:33>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system
More information about the Bugs
mailing list