Need Help

Michael Stone michael at laptop.org
Tue Mar 4 17:37:14 EST 2008


On Tue, Mar 04, 2008 at 10:12:35AM +0100, Tomeu Vizoso wrote:
> On Tue, Mar 4, 2008 at 6:54 AM, Benjamin M. Schwartz
> <bmschwar at fas.harvard.edu> wrote:
> >  Waqas Toor wrote:
> >  | can anybody please see the log i am attaching and tell me is rainbow
> >  | stoping it ??

As Tomeu said, Rainbow has detected that your activity's directory,
/home/olpc/activities/Qirat.activity, is writable by the activity.
Activities are not permitted to modify their own bundles. Consequently,
Rainbow scuttled the launch. 

> >  You appear to have discovered a bug in Rainbow, which is dying with an
> >  assertion failure.  Until Rainbow is fixed, you should do as Walter
> >  suggested and disable Rainbow.

Is there some reason why activities need to write to their (or to other
activities') bundle directories?

> Can you enter a ticket about this? I don't know if Rainbow should
> abort the launch in these cases, but certainly should give a more
> helpful message.

Tomeu: what do you suggest Rainbow should do in response to this kind of
assertion failure? Should we really try to print a more readable
explanation of what failed, given the degree to which such explanations
would bloat the code-base? Also, if so, does this message need to be
localized? 

I'm happy to try to improve the legibility of both the failures and the
code itself; however, the fact that you were able to correctly diagnose
the error (which has never been reported before) and to propose a fix
(change the permissions on the bundle dir) suggests to me that I got at
least one thing right... :)

Michael




More information about the Devel mailing list