[sugar] SUGAR_BUNDLE_PATH and rainbow

Michael Stone michael at laptop.org
Wed Nov 7 09:58:25 EST 2007


Bert,

It doesn't _have_ to change; if people generally prefer to be started in
SUGAR_BUNDLE_PATH (rather than in SUGAR_ACTIVITY_ROOT) then we can
easily accomodate them.

Is starting in SBP better, then?

Michael


On Wed, Nov 07, 2007 at 01:12:28PM +0100, Bert Freudenberg wrote:
> 
> On Nov 7, 2007, at 4:51 , Benjamin M. Schwartz wrote:
> >
> >Michael Stone wrote:
> >>>I note that Clock doesn't work at all (Stays in "Starting..."  
> >>>forever),
> >>
> >>If you look at /home/olpc/.sugar/default/logs/shell.log you'll see  
> >>that
> >>Clock is crashing during startup trying to find 'clock.svg'.
> >
> >Heads up to Activity developers:  this is because Activities can no  
> >longer
> >assume that they are started in the $SUGAR_BUNDLE_PATH directory.
> 
> Ugh. Why? The reason for having $SUGAR_BUNDLE_PATH be the Activity's  
> cwd is to make it easy for developers to access resources in the  
> bundle with relative path names. Why would that need to change under  
> rainbow?!
> 
> - Bert -
> 
> 


More information about the Sugar mailing list