[sugar] SUGAR_BUNDLE_PATH and rainbow

Bert Freudenberg bert at freudenbergs.de
Wed Nov 7 07:12:28 EST 2007


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