Hi,

I am looking at some code in the notebook and in particular 
sagenb/misc/misc.py:

if os.environ.has_key('DOT_SAGENB'):
    DOT_SAGENB = os.environ['DOT_SAGENB']
elif os.environ.has_key('DOT_SAGE'):
    DOT_SAGENB = os.environ['DOT_SAGE']
else:
    DOT_SAGENB = os.path.join(os.environ['HOME'], '.sagenb')

After thinking hard about it, the only way it is possible to run
the notebook without DOT_SAGE being set is to go in a sage shell
unset DOT_SAGE and then run the notebook. And then it will fails
if the ~/.sagenb folder doesn't exist.

I can understand that we want to set sensible default and try to
get every possible corner covered. But in that last case we probably
add some code to check the existence of DOT_SAGENB and create it
if it doesn't exist.

Francois

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to