On Mon, Jun 15, 2009 at 6:48 PM, lenient7<lenie...@gmail.com> wrote: > > Thank you William, > > I am seriously considering learning Python. In any case, it looks like > that I need to be versatile with Python to use Sage well.
Check out this awesome free book: http://www.diveintopython.org/ My favorite non-free Python book is: http://www.amazon.com/Python-Nutshell-Alex-Martelli/dp/0596001886 > > On Jun 15, 11:39 am, William Stein <wst...@gmail.com> wrote: >> On Mon, Jun 15, 2009 at 5:03 PM, lenient7<lenie...@gmail.com> wrote: >> >> > Hello everyone, >> >> > I am very new to the sage. >> >> > I tried to use the sage from a remote client. On that regard, I am >> > running the Sage 4.0.1 on OpenSUSE 11.1 64bit edition. However when I >> > am trying to run notebook with 'secure=True' option, it gives errors >> > which looks like coming from notebook.setup(). >> >> It's completely broken. This is a new bug in Sage-4.0, which was >> introduced by factoring dsage out from the core sage library, I think >> by Mike Hansen. I've opened a blocker ticket for this: >> >> http://trac.sagemath.org/sage_trac/ticket/6299 >> >> I hope Mike will fix this, or if not him, then somebody. It shouldn't be >> hard. >> >> In the meantime, you'll unfortunately have to wait a little, or try to >> fix the problem yourself. The fix is probably just to stick some >> import statement somewhere obvious. >> >> >> >> > Following lines are from when I trying this process with freshly >> > installed sage. Any idea or hint will be highly appreciated! >> >> > lenie...@lenient7:~/bin/sage-4.0.1> ./ >> > sage >> > ---------------------------------------------------------------------- >> > | Sage Version 4.0.1, Release Date: 2009-06-06 >> > | >> > | Type notebook() for the GUI, and license() for information. >> > | >> > ---------------------------------------------------------------------- >> > The SAGE install tree may have >> > moved. >> > Regenerating Python.pyo and .pyc files that hardcode the install PATH >> > (please wait at >> > most a few >> > minutes)... >> > Do not interrupt >> > this. >> > sage: notebook.setup() >> > Using dsage certificates. >> > --------------------------------------------------------------------------- >> > NameError Traceback (most recent call >> > last) >> >> > /home/lenient7/bin/sage-4.0.1/<ipython console> in <module>() >> >> > /home/lenient7/bin/sage-4.0.1/local/lib/python2.5/site-packages/sage/ >> > server/notebook/run_notebook.py in notebook_setup(self) >> > 39 print "Using dsage >> > certificates." >> > 40 dsage = os.path.join(DOT_SAGE, >> > 'dsage') >> > ---> 41 sage.dsage.all.dsage.setup >> > () >> > 42 shutil.copyfile(dsage + '/cacert.pem', >> > private_pem) >> > 43 shutil.copyfile(dsage + '/pubcert.pem', >> > public_pem) >> >> > NameError: global name 'sage' is not defined >> >> -- >> William Stein >> Associate Professor of Mathematics >> University of Washingtonhttp://wstein.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 URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---