[olpc-nz] Fwd: [Sugar-devel] ANN: rainbow-0.8.5 release.

Michael Stone michael at laptop.org
Mon Nov 30 09:52:30 EST 2009


Tomeu,

> Michael will correct me if I'm wrong, but maybe testers can focus only
> on activities as Rainbow shouldn't affect anything else in the system?

You're right that activities are where the breakage will be most obvious.

For example, Browse launches fine but fails to resume due to an exception in
the datastore:

Traceback (most recent call last):
   File "/usr/bin/sugar-activity", line 21, in <module>
     main.main()
   File "/usr/lib/python2.5/site-packages/sugar/activity/main.py", line 146, in main
     create_activity_instance(activity_constructor, activity_handle)
   File "/usr/lib/python2.5/site-packages/sugar/activity/main.py", line 35, in create_activity_instance
     activity = constructor(handle)
   File "/usr/share/sugar/activities/Browse.activity/webactivity.py", line 229, in __init__
     elif not self._jobject.file_path:
   File "/usr/lib/python2.5/site-packages/sugar/datastore/datastore.py", line 110, in get_file_path
     self.set_file_path(dbus_helpers.get_filename(self.object_id))
   File "/usr/lib/python2.5/site-packages/sugar/datastore/dbus_helpers.py", line 82, in get_filename
     filename = _get_data_store().get_filename(uid)
   File "/usr/lib/pymodules/python2.5/dbus/proxies.py", line 140, in __call__
     **keywords)
   File "/usr/lib/pymodules/python2.5/dbus/connection.py", line 622, in call_blocking
     message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.OSError: Traceback (most recent call last):
   File "/usr/lib/pymodules/python2.5/dbus/service.py", line 702, in _message_cb
     retval = candidate_method(self, *args, **keywords)
   File "/usr/lib/python2.5/site-packages/carquinyol/datastore.py", line 258, in get_filename
     return self._file_store.retrieve(uid, user_id, extension)
   File "/usr/lib/python2.5/site-packages/carquinyol/filestore.py", line 132, in retrieve
     os.link(file_path, destination_path)
OSError: [Errno 2] No such file or directory

However, many other seem to be fine.

Regards,

Michael

P.S. - The cut-n-paste instructions on 

   http://wiki.laptop.org/go/Rainbow/Installation_Instructions

have some Debian paths baked into them. On Fedora, you're going to want to
substitute 

  /usr/lib/python2.6/site-packages for /usr/shared/pyshared

pretty much everywhere. Hopefully I'll be able to write up some more more
Fedora-specific instructions (or a script) in the next day or two.


More information about the olpc-nz mailing list