On 8/13/07, Jan Groenewald <[EMAIL PROTECTED]> wrote:
> Hi
>
> On Sun, Aug 12, 2007 at 10:00:20PM -0700, William Stein wrote:
> > I've released sage-2.8.  Get it now at http://sagemath.org/ or
> > do "sage -upgrade".  (Binaries will appear in the near future.)
>
> I run Ubuntu feisty 7.04, up to date from the repositories.
> sage2.6 and 2.7 all installed with the same procedure as
> shown below and I could connect to the notebook.
>
> tar xvzf /usr/local/src/sage-2.8-i686-Linux.tar.gz
> cp sage-2.8-i686-Linux/sage /usr/local/bin/
> chmod a+r -R /usr/local/src/sage-2.8-i686-Linux
> sed -ie 's#="....."#="/usr/local/src/sage-2.8-i686-Linux/"#' 
> /usr/local/bin/sage
>
> However in sage-2.8 I get the behaviour below:
>
> $sage
> ----------------------------------------------------------------------
> | SAGE Version 2.8, Release Date: 2007-08-12                         |
> | Type notebook() for the GUI, and license() for information.        |
> ----------------------------------------------------------------------
>
> sage: license()
> sage: notebook()
> ---------------------------------------------------------------------------
> <type 'exceptions.AttributeError'>        Traceback (most recent call last)
>
> /var/autofs/misc/home/jan/<ipython console> in <module>()
>
> /usr/local/src/sage-2.8-i686-Linux/local/lib/python2.5/site-packages/sage/server/notebook/notebook_object.py
>  in __call__(self, *args, **kwds)
>     109     """
>     110     def __call__(self, *args, **kwds):
> --> 111         return self.notebook(*args, **kwds)
>     112
>     113     notebook = run_notebook.notebook_twisted
>
> /usr/local/src/sage-2.8-i686-Linux/local/lib/python2.5/site-packages/sage/server/notebook/run_notebook.py
>  in notebook_twisted(self, directory, port, address, port_tries, secure, 
> reset, accounts, server_pool, ulimit, open_viewer)
>      75                 print "Login to the SAGE notebook as admin with the 
> password you specified above."
>      76     elif nb.user_exists('root') and not nb.user_exists('admin'):
> ---> 77         s = nb.create_user_with_same_password('admin', 'root')
>      78
>      79
>
> /usr/local/src/sage-2.8-i686-Linux/local/lib/python2.5/site-packages/sage/server/notebook/notebook.py
>  in create_user_with_same_password(self, user, other_user)
>     146         """
>     147         U = self.user(user)
> --> 148         passwd = other_user.password()
>     149         U.set_hashed_password(passwd)
>     150
>
> <type 'exceptions.AttributeError'>: 'str' object has no attribute 'password'
> sage:
>

Fixes include:

(1) Do
   sage: hg_sage.pull()
   sage: quit
followed by
   # sage -br            # from the command line

 -- or --

(2) Just try using a different notebook

-- or --

(3) Maybe (I haven't tested this) do
   sage: notebook(reset=True)

 - William

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@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-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to