On Jan 16, 2008 2:26 PM, William F Hammond > wrote:
> William --
>
> You may recall that we met briefly in San Diego.
>
> After seeing Sage there, I've moved to set it up, and I'm rather
> pleased with what I've seen so far.
>
> I gather that it's supposed to be possible to associate
> users other than "admin" with a sage notebook (in a secure way),
> and I suppose that the user names have nothing to do with usernames
> in the operating system, but I don't see directions for creating
> such notebook users aside from the following bit in the sage command
> line output for "notebook?":
>
>   accounts   -- (default: False) if True, any visitor to the website
>                 will be able to create a new account.  If False,
>                 only the admin can create accounts (currently, this
>                 can only be done by running with accounts=True for
>                 a few minutes, or on the command line with, e.g.,
>                   nb = load('sage_notebook/nb.sobj')
>                   nb.set_accounts(True)
>                   nb.add_user("username", "password", "[EMAIL PROTECTED]", 
> "user")
>                   nb.save()
>
> I assume the command line sequence should be run in the sage command
> line interface before launching the affected notebook.  But when I execute
> the first of those four lines I see:
>
>   sage: nb = load('sage_notebook/nb.sobj')
>   ---------------------------------------------------------------------------
>   <type 'exceptions.IOError'>               Traceback (most recent call last)
>
>   /home/hammond/<ipython console> in <module>()
>
>   /home/hammond/sage_object.pyx in sage.structure.sage_object.load()
>
>   <type 'exceptions.IOError'>: [Errno 2] No such file or directory:\
>            'sage_notebook/nb.sobj'
>
>
> I cannot make sense out of these traceback lines.
> (/home/hammond/.sage/sage_notebook/nb.sobj does exist.)
>

First type

   cd $HOME/.sage

> I also do not understand how to create accounts when running
> notebook() for a short while with accounts=True.

Click on the link that says

     "Sign up for a new SAGE Notebook account"

right below the login box.

William


>
> Thanks for any clues you may be able to provide.
>
>                                     -- Bill
>
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
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