who sets SUGAR_ACTIVITY_ROOT?

Victor Lazzarini Victor.Lazzarini at nuim.ie
Fri Mar 14 09:04:45 EDT 2008


Not to worry, I can access the path using
activity.get_activity_root(), as pointed out by Simon,
so I am OK.

Thanks

At 12:59 14/03/2008, Marco Pesenti Gritti wrote:
>On Fri, Mar 14, 2008 at 12:06 PM, Victor Lazzarini
><Victor.Lazzarini at nuim.ie> wrote:
> >
> >  I am trying to work out how to access the correct directories
> >  for writing and I see that SUGAR_ACTIVITY_ROOT is
> >  supposedly where to look. However is it up to the activity
> >  to set this variable? I see that the terminal has it set
> >  correctly and I would have thought that when sugar launches
> >  an activity it would this variable too.
> >
> >  But  os.getenv(SUGAR_ACTIVITY_ROOT) fails. Could someone
> >  indicate how to retrieve the activity datastore?
>
>Yeah, rainbow (or sugar if you are running with security off) is
>supposed to set the variable. Not sure what is going on in your case.
>
>Marco

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth




More information about the Devel mailing list