On Dec 8, 2007 5:54 PM, wdbragg <[EMAIL PROTECTED]> wrote:
>
> Right now I have it as a symlink
>
> sager:/# ls -la /etc/rc2.d/S99startnotebook
> lrwxrwxrwx 1 root root 23 2007-12-08 13:10 /etc/rc2.d/S99startnotebook
> -> ../init.d/startnotebook
>
> and after I boot, here are the contents of nohup.out
>
> The notebook files are stored in: //.sage//sage_notebook
>
>
>
> Please choose a new password for the SAGE Notebook 'admin' user.
> Do _not_ choose a stupid password, since anybody who could guess your
> password
> and connect to your machine could access or delete your files.
> NOTE: Only the md5 hash of the password you type is stored by SAGE.
> You can change your password by typing notebook(reset=True).
>
>
>
> sage: Error running notebook.py using Python
>
>
> So, the two interesting revelations .... the .sage directory being
> used is in / !!!!!!
> What is going on there ....  I really expected it to be in either /
> root or /home/sage1
> And, because it is a new directory, it wants a new admin password and
> that is why
> this thing won't run.

It's good that you figured that out.  It must be that the environment
variable $HOME isn't set when you run the startup script.
In any case, you can specify which directory the notebook
server should use.   Just do

   sage: notebook(dir="/absolute/path/to/sage_notebook", ...)

William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to