I wasn't sure if this was a known bug or not, so I thought I'd post
here before creating a new ticket. I tried running the notebook from
the command line, and it only worked from certain places:
{{{
[rlm-book sage-4.3.4.alpha0/devel/sage-main]$ ../../sage -notebook
----------------------------------------------------------------------
| Sage Version 4.3.4.alpha0, Release Date: 2010-03-03 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
**********************************************************************
* *
* Warning: this is a prerelease version, and it may be unstable. *
* *
**********************************************************************
Please wait while the Sage Notebook server starts...
Traceback (most recent call last):
File "/Users/rlmill/sage-4.3.4.alpha0/local/bin/sage-notebook", line
9, in <module>
from sage.server.notebook.all import notebook
File
"/Users/rlmill/sage-4.3.4.alpha0/devel/sage-main/sage/server/notebook/all.py",
line 22, in <module>
from sagenb.notebook.all import *
File
"/Users/rlmill/sage-4.3.4.alpha0/local/lib/python2.6/site-packages/sagenb-0.7.5.1-py2.6.egg/sagenb/notebook/all.py",
line 16, in <module>
from notebook_object import notebook, inotebook
File
"/Users/rlmill/sage-4.3.4.alpha0/local/lib/python2.6/site-packages/sagenb-0.7.5.1-py2.6.egg/sagenb/notebook/notebook_object.py",
line 17, in <module>
import notebook as _notebook
File
"/Users/rlmill/sage-4.3.4.alpha0/local/lib/python2.6/site-packages/sagenb-0.7.5.1-py2.6.egg/sagenb/notebook/notebook.py",
line 40, in <module>
import js # javascript
File
"/Users/rlmill/sage-4.3.4.alpha0/local/lib/python2.6/site-packages/sagenb-0.7.5.1-py2.6.egg/sagenb/notebook/js.py",
line 38, in <module>
from sage.misc.misc import SAGE_ROOT
File "/Users/rlmill/sage-4.3.4.alpha0/devel/sage-main/sage/misc/misc.py",
line 38, in <module>
import sage.misc.prandom as random
File "/Users/rlmill/sage-4.3.4.alpha0/devel/sage-main/sage/misc/prandom.py",
line 56, in <module>
from sage.misc.randstate import current_randstate
ImportError: No module named randstate
[rlm-book sage-4.3.4.alpha0/devel/sage-main]$ cd ../..
[rlm-book sage-4.3.4.alpha0]$ ./sage -notebook
}}}
(Everything worked under this second attempt.)
--
Robert L. Miller
http://www.rlmiller.org/
--
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org