cc-ing sage-notebook 2016-08-14 17:01:04 UTC+2, Mike Zabrocki: > > Hi, > > I was trying to get a sage server running on a computer at work and I kept > finding that it would not connect. I then started debugging and ran into > further issues. > > When I execute the documentation > > http://doc.sagemath.org/html/en/reference/notebook/sagenb/notebook/notebook_object.html > (bottom of the page) > > sage: from sagenb.notebook.notebook_object import test_notebooksage: passwd = > str(randint(1,1<<128))sage: nb = test_notebook(passwd, interface='localhost', > port=8060) > > > I get the error > --------------------------------------------------------------------------- > AttributeError Traceback (most recent call last > ) > <ipython-input-5-02200195176b> in <module>() > ----> 1 nb = test_notebook(passwd, interface='localhost', port=Integer( > 8060)) > /Applications/sage/local/lib/python2.7/site-packages/sagenb/notebook/ > notebook_object.pyc in test_notebook(admin_passwd, secure, directory, port > , interface, verbose) > 282 > 283 nb = _notebook.load_notebook(directory) > --> 284 nb.set_accounts(True) > 285 nb.add_user('admin', admin_passwd, '') > 286 nb.set_accounts(False) > > AttributeError: 'Notebook' object has no attribute 'set_accounts' > > > which makes me think that this whole function is out of date. Are others > using the notebook server and finding that it is still working? My > problems with the server are probably not related, but I can't seem to test > it and this makes me think that maybe some of this code is not going > through the usual testing. > > > Thanks, > > -Mike >
-- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
