Hi! I have a problem, but this issue is so similar that 
https://bugs.launchpad.net/ubuntu/+source/sagemath/+bug/339218


Ubuntu : 11.04
Sage Version 5.3, Release Date: 2012-09-08

How to solve it? TT

The port 8080 is not used.


taske@amath:~$ sage -notebook
[1] 23196
taske@amath:~$ 
----------------------------------------------------------------------
| Sage Version 5.3, Release Date: 2012-09-08                         |
| Type "notebook()" for the browser-based notebook interface.        |
| Type "help()" for help.                                            |
----------------------------------------------------------------------

Please wait while the Sage Notebook server starts...
...
The notebook files are stored in: sage_notebook.sagenb
**************************************************
*                                                *
* Open your web browser to http://localhost:8080 *
*                                                *
**************************************************
Executing twistd  --pidfile="sage_notebook.sagenb/sagenb.pid" -ny 
"sage_notebook.sagenb/twistedconf.tac"
Traceback (most recent call last):
  File "/usr/bin/twistd", line 18, in <module>
    from twisted.scripts.twistd import run
  File 
"/opt/sage-5.3-linux-64bit-ubuntu_10.04.4_lts-x86_64-Linux/local/lib/python2.7/site-packages/Twisted-12.1.0-py2.7-linux-x86_64.egg/twisted/scripts/twistd.py",
 line 11, in <module>
    from twisted.application import app
  File 
"/opt/sage-5.3-linux-64bit-ubuntu_10.04.4_lts-x86_64-Linux/local/lib/python2.7/site-packages/Twisted-12.1.0-py2.7-linux-x86_64.egg/twisted/application/app.py",
 line 14, in <module>
    from twisted.application import service, reactors
  File 
"/opt/sage-5.3-linux-64bit-ubuntu_10.04.4_lts-x86_64-Linux/local/lib/python2.7/site-packages/Twisted-12.1.0-py2.7-linux-x86_64.egg/twisted/application/service.py",
 line 22, in <module>
    from twisted.plugin import IPlugin
  File 
"/opt/sage-5.3-linux-64bit-ubuntu_10.04.4_lts-x86_64-Linux/local/lib/python2.7/site-packages/Twisted-12.1.0-py2.7-linux-x86_64.egg/twisted/plugin.py",
 line 34, in <module>
    from twisted.python.modules import getModule
  File 
"/opt/sage-5.3-linux-64bit-ubuntu_10.04.4_lts-x86_64-Linux/local/lib/python2.7/site-packages/Twisted-12.1.0-py2.7-linux-x86_64.egg/twisted/python/modules.py",
 line 68, in <module>
    from twisted.python.filepath import FilePath, UnlistableError
  File 
"/opt/sage-5.3-linux-64bit-ubuntu_10.04.4_lts-x86_64-Linux/local/lib/python2.7/site-packages/Twisted-12.1.0-py2.7-linux-x86_64.egg/twisted/python/filepath.py",
 line 11, in <module>
    import random
  File 
"/opt/sage-5.3-linux-64bit-ubuntu_10.04.4_lts-x86_64-Linux/local/lib/python/random.py",
 line 47, in <module>
    from os import urandom as _urandom
ImportError: cannot import name urandom
Traceback (most recent call last):
  File 
"/opt/sage-5.3-linux-64bit-ubuntu_10.04.4_lts-x86_64-Linux/local/bin/sage-notebook",
 line 36, in <module>
    notebook()
  File 
"/opt/sage-5.3-linux-64bit-ubuntu_10.04.4_lts-x86_64-Linux/local/lib/python2.7/site-packages/sagenb-0.10.2-py2.7.egg/sagenb/notebook/notebook_object.py",
 line 223, in __call__
    return self.notebook(*args, **kwds)
  File 
"/opt/sage-5.3-linux-64bit-ubuntu_10.04.4_lts-x86_64-Linux/local/lib/python2.7/site-packages/sagenb-0.10.2-py2.7.egg/sagenb/notebook/run_notebook.py",
 line 628, in notebook_run
    raise socket.error
socket.error

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
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.
Visit this group at http://groups.google.com/group/sage-support?hl=en.


Reply via email to