Hi,
I'm using Sage in a commercial environment to perform physics
simulations of optical systems. As our computing environment is XP,
I'm running Sage on WinXP in VMware Player 3.1.0 build-261024.
This morning, after suspending my machine, the VMware player froze. I
had to either power down, or just end the VMware Player. I apologize -
I can't recall which. It was right before an important meeting, so
things were rather rushed. (What I did *not* do was end VMware Player
using the Task Manager).
When I restarted VMware Player/Sage, I was unable to access my Sage
notebook. If I run the Sage Notebook script, the window closes with
some error message to fast to read. If I start up Firefox, I can load
internet files. I can also load an HTML version of the notebook I had
saved (since I've had Sage clear out the notebook file when the server
hangss!). However, if I try to evaluate cells, I get a "Searching for
Sage server" message in a red box at the top of the page.
I am able to open up the notebook - which, on my system, is at /home/
sage/.sage/sage_notebook.sagenb/home/admin/10/worksheet.html. However,
it is now blank (it was not this morning - I've taken to checking
because server crashes have previously over-wrtten my running notebook
with a blank file: a bug for another day!).
However, Firefox cannot find the Sage server. If I start up Firefox, I
get a "Service Temporarily Unavailable" message. (The server is
temporarily unable to service your request due to maintenance downtime
or capacity problems. Please try again later. Apache/2.2.12 (Ubuntu)
Server at localhost Port 80)
The usual "Point browser in MS Windows to
http://xxx.xxx.xxx.xxx"
message appears.
If I start Sage from the command line, I get the following messages:
****
Please wait while the Sage Notebook server starts...
...
Traceback (most recent call last):
File "/home/sage/sage/local/bin/sage-notebook", line 36, in <module>
notebook(port=8000)
File "/home/sage/sage/local/lib/python2.6/site-packages/
sagenb-0.7.5.3-py2.6.egg/sagenb/notebook/notebook_object.py", line
217, in __call__
return self.notebook(*args, **kwds)
File "/home/sage/sage/local/lib/python2.6/site-packages/
sagenb-0.7.5.3-py2.6.egg/sagenb/notebook/run_notebook.py", line 174,
in notebook_twisted
nb = notebook.load_notebook(directory)
File "/home/sage/sage/local/lib/python2.6/site-packages/
sagenb-0.7.5.3-py2.6.egg/sagenb/notebook/notebook.py", line 1706, in
load_notebook
nb = Notebook(dir)
File "/home/sage/sage/local/lib/python2.6/site-packages/
sagenb-0.7.5.3-py2.6.egg/sagenb/notebook/notebook.py", line 88, in
__init__
self.__conf = S.load_server_conf()
File "/home/sage/sage/local/lib/python2.6/site-packages/
sagenb-0.7.5.3-py2.6.egg/sagenb/storage/filesystem_storage.py", line
183, in load_server_conf
return self._basic_to_server_conf(self._load('conf.pickle'))
File "/home/sage/sage/local/lib/python2.6/site-packages/
sagenb-0.7.5.3-py2.6.egg/sagenb/storage/filesystem_storage.py", line
134, in _load
return cPickle.load(open(self._abspath(filename)))
EOFError
****
Can anyone tell me how to get the Sage server running/functional/
accessible again?
On a related note, can anyone tell me how to "execute" Sage on my
stored HTML (produced by Firefox "Save As" rather than the notebook's
"Save" button)?
Any help would be greatly appreciated, as the project lumbers on in
desperate and immediate need of these optical simulations!
Regards,
Brian King