If you type "sage" on the command line, what happens? On Fri, Feb 5, 2010 at 4:50 AM, Andreas Tille <til...@gmail.com> wrote: > Hi, > > I'm new to sage. I installed sage vie downloading the source code and > running make > on a Debian GNU/Linux Lenny system. I tested the command line version of sage > as well as running the testsuite successfully. Because I would like > to run sage as > a web service in our local network I created a file notebook.py which looks > like > > from sage.all import * > > notebook('sage_notebook', > port=8000, > accounts=True, > interface='IP-Address of my host', > ulimit='-u 100 -v 300000 -t 3600', > open_viewer=False, > timeout=120, > server_pool=['sageu...@myhost'], > secure=False) > > Then I tried > > nohup sage notebook.py > > and gave an admin password. I'm perfectly able to login on > > http://myhost:8000 > > and create a user and start a new worksheet. However every > calculation I'm doing > (1+1 etc.) which perfectly worked in the command line interface just > results in an > empty line. Is there any trap for beginners which I was falling into? > > Are there any logfiles written (or can I enforce writing logfiles > properly ... I tried inserting > > log_html('/var/log/sage', viewer='firefox') > > into the notebook which just resulted in > > NameError: global name '__IPYTHON__' is not defined > > so I probably missinterpeted the advise in the documentation) to find out what > really happens behind the scene to track down this strange behaviour? > > Thanks for any help > > Andreas. > > -- > http://fam-tille.de > > -- > To post to this group, send email to sage-support@googlegroups.com > To unsubscribe from this group, send email to > sage-support+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/sage-support > URL: http://www.sagemath.org >
-- William Stein Associate Professor of Mathematics University of Washington http://wstein.org -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org