I have just upgraded from Sage 4.0.2 to Sage 4.2.1 and have encountered the same error mentioned by Stefan. Is there a way to fix the problem ?
Thanks in advance of any assistance! Shing On Dec 18, 7:59 pm, William Stein <[email protected]> wrote: > On Fri, Dec 18, 2009 at 11:58 AM, Stefan <[email protected]> wrote: > > Hi Robert, > > > Thanks for getting back to me. The error I'm getting is: > > > File "/sage/sage/local/lib/python2.6/site-packages/sagenb/simple/ > > twist.py", line 207, in render > > U = notebook_twist.notebook.user(username) > > exceptions.AttributeError: 'NoneType' object has no attribute 'user' > > This is probably somehow caused by the transition to the new notebook, > which is separated completely out from Sage, and which has undergone > many changes. > > William > > > > > On Dec 18, 2:17 pm, Robert Bradshaw <[email protected]> > > wrote: > >> On Dec 18, 2009, at 8:53 AM, Stefan wrote: > > >> > Hi all, > > >> > I surfed through the discussion board and through the documentation on > >> > trying to figure out how to get the simple server API up and running. > >> > I made sure to run 'import sage.server.simple.twist' in my sage > >> > prompt. Is there a way to easily test Sage to see if the API is > >> > functioning such as entering the address into the address bar: > > >> Yes, you should be able to do that. (See the example at the top of the > >> file.) > > >> >http://localhost:8000/simple/login?username=myusername&password=mypas... > > >> > I get the dreaded "Internal Server Error" message. > > >> What does the terminal window where you started the notebook server say? > > >> - Robert > > > -- > > 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 > > athttp://groups.google.com/group/sage-support > > URL:http://www.sagemath.org > > -- > William Stein > Associate Professor of Mathematics > University of Washingtonhttp://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 URL: http://www.sagemath.org
