Some additional information:
Trying to exit the server during hang by pressing Ctrl-C repeatedly
will only yield the following (repeatedly):
^Cselect() error: Interrupted system call
^Cselect() error: Interrupted system call
^Cselect() error: Interrupted system call
^Cselect() error: Interrupted system call
Doing the same after running sage -dbg, notebook() ... will eventually
crash and fall back to the sage shell:
~/sage-3.4.1-beta-i86pc+toolchain-SunOS >./sage -gdb
----------------------------------------------------------------------
| Sage Version 3.4.1, Release Date: 2009-04-21 |
| Type notebook() for the GUI, and license() for information. |
| WARNING: This is a beta release that does not pass all tests. |
| For more info see
http://wiki.sagemath.org/solaris |
----------------------------------------------------------------------
/export/home/brandon/sage-3.4.1-beta-i86pc+toolchain-SunOS/local/bin/
sage-ipython
GNU gdb 6.3.50_2004-11-23-cvs
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i386-pc-solaris2.11"...
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
warning: Lowest section in /lib/librt.so.1 is .dynamic at 00000074
Python 2.5.2 (r252:60911, Apr 20 2009, 12:01:15)
[GCC 4.3.2] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
sage: notebook()
The notebook files are stored in: /export/home/brandon/.sage//
sage_notebook
**************************************************
* *
* Open your web browser to
http://localhost:8000 *
* *
**************************************************
Traceback (most recent call last):
File "/export/home/brandon/sage-3.4.1-beta-i86pc+toolchain-SunOS/
local/lib/python2.5/site-packages/twisted/application/app.py", line
614, in run
runApp(config)
File "/export/home/brandon/sage-3.4.1-beta-i86pc+toolchain-SunOS/
local/lib/python2.5/site-packages/twisted/scripts/twistd.py", line 23,
in runApp
_SomeApplicationRunner(config).run()
File "/export/home/brandon/sage-3.4.1-beta-i86pc+toolchain-SunOS/
local/lib/python2.5/site-packages/twisted/application/app.py", line
330, in run
self.application = self.createOrGetApplication()
File "/export/home/brandon/sage-3.4.1-beta-i86pc+toolchain-SunOS/
local/lib/python2.5/site-packages/twisted/application/app.py", line
416, in createOrGetApplication
application = getApplication(self.config, passphrase)
--- <exception caught here> ---
File "/export/home/brandon/sage-3.4.1-beta-i86pc+toolchain-SunOS/
local/lib/python2.5/site-packages/twisted/application/app.py", line
427, in getApplication
application = service.loadApplication(filename, style, passphrase)
File "/export/home/brandon/sage-3.4.1-beta-i86pc+toolchain-SunOS/
local/lib/python2.5/site-packages/twisted/application/service.py",
line 368, in loadApplication
application = sob.loadValueFromFile(filename, 'application',
passphrase)
File "/export/home/brandon/sage-3.4.1-beta-i86pc+toolchain-SunOS/
local/lib/python2.5/site-packages/twisted/persisted/sob.py", line 214,
in loadValueFromFile
exec fileObj in d, d
File "sage_notebook/twistedconf.tac", line 19, in <module>
worksheet.init_sage_prestart(twist.notebook.get_server(),
twist.notebook.get_ulimit())
File "/export/home/brandon/sage-3.4.1-beta-i86pc+toolchain-SunOS/
local/lib/python2.5/site-packages/sage/server/notebook/worksheet.py",
line 156, in init_sage_prestart
_a_sage = initialized_sage(server, ulimit)
File "/export/home/brandon/sage-3.4.1-beta-i86pc+toolchain-SunOS/
local/lib/python2.5/site-packages/sage/server/notebook/worksheet.py",
line 118, in initialized_sage
S._start(block_during_init=False)
File "/export/home/brandon/sage-3.4.1-beta-i86pc+toolchain-SunOS/
local/lib/python2.5/site-packages/sage/interfaces/expect.py", line
471, in _start
raise RuntimeError, "Unable to start %s"%self.__name
exceptions.RuntimeError: Unable to start sage
Failed to load application: Unable to start sage
---------------------------------------------------------------------------
error Traceback (most recent call
last)
/export/home/brandon/.sage/<ipython console> in <module>()
/export/home/brandon/sage-3.4.1-beta-i86pc+toolchain-SunOS/local/lib/
python2.5/site-packages/sage/server/notebook/notebook_object.pyc in
__call__(self, *args, **kwds)
163 """
164 def __call__(self, *args, **kwds):
--> 165 return self.notebook(*args, **kwds)
166
167 notebook = run_notebook.notebook_twisted
/export/home/brandon/sage-3.4.1-beta-i86pc+toolchain-SunOS/local/lib/
python2.5/site-packages/sage/server/notebook/run_notebook.pyc in
notebook_twisted(self, directory, port, address, port_tries, secure,
reset, accounts, require_login, server_pool, ulimit, timeout,
open_viewer, sagetex_path, start_path, fork, quiet)
273 if open_viewer:
274 "Open viewer automatically isn't fully implemented.
You have to manually open your web browser to the above URL."
--> 275 return run(port)
276
277
/export/home/brandon/sage-3.4.1-beta-i86pc+toolchain-SunOS/local/lib/
python2.5/site-packages/sage/server/notebook/run_notebook.pyc in run
(port)
257 e = os.system(cmd)
258 if e == 256:
--> 259 raise socket.error
260 return True
261 # end of inner function run
error: