Hi Chirag, On Mon, Jun 22, 2009 at 07:31, chirag jain<chiragjain1...@gmail.com> wrote: > As is mentioned in: > > http://wiki.laptop.org/go/Low-level_Activity_API#File_Access > > I changed the path of the config file from $HOME to $SUGAR_ACTIVITY_ROOT/data/ > > But still I am not able to run it. This time the logs are: > > http://pastebin.be/19321 > > Here is a code snippet: > > http://pastebin.be/19322
See this: http://wiki.sugarlabs.org/go/Development_Team/Almanac/sugar.activity.activity#How_do_I_get_the_file_path_where_I_can_write_files_programmatically.3F Also, SUGAR_ACTIVITY_ROOT is an environment variable, I recommend you to read about it here: http://en.wikipedia.org/wiki/Environment_variable http://docs.python.org/library/os.html#os.environ Regards, Tomeu > Thanks > > Chirag > > -- > Chirag Jain > > Undergraduate Student > Netaji Subash Institute of Technology > New Delhi > _______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel