who sets SUGAR_ACTIVITY_ROOT?

Victor Lazzarini Victor.Lazzarini at nuim.ie
Fri Mar 14 07:06:22 EDT 2008


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?

Victor




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




More information about the Devel mailing list