who sets SUGAR_ACTIVITY_ROOT?
Marco Pesenti Gritti
mpgritti at gmail.com
Fri Mar 14 08:59:33 EDT 2008
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.
More information about the Devel