#13121: Upgrade sagenb to 0.10.x
-------------------------------------------------+--------------------------
Reporter: kini | Owner: jason,
mpatel, was
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-pending
Component: notebook | Resolution:
Keywords: sagenb | Work issues: new
worksheets should be empty,evaluate button focus,openssl
Report Upstream: N/A | Reviewers: John
Palmieri
Authors: Keshav Kini | Merged in:
Dependencies: #11080, #9774, #11913, #12299 | Stopgaps:
-------------------------------------------------+--------------------------
Comment (by gutow):
This time I trapped a more complete error message when I started the
server in secure mode. This is on Ubuntu 12.04 with the following openssl
related pacakges installed: openssl,python-openssl, libssl0.9.8,ssl-cert
,libssl-doc,libssl-dev.
{{{
----------------------------------------------------------------------
| Sage Version 5.2.rc0, Release Date: 2012-07-17 |
| Type "notebook()" for the browser-based notebook interface. |
| Type "help()" for help. |
----------------------------------------------------------------------
**********************************************************************
* *
* Warning: this is a prerelease version, and it may be unstable. *
* *
**********************************************************************
sage: notebook(secure=True,automatic_login=False)
The notebook files are stored in: sage_notebook.sagenb
****************************************************
* *
* Open your web browser to https://localhost:8080 *
* *
****************************************************
There is an admin account. If you do not remember the password,
quit the notebook and type notebook(reset=True).
Executing twistd --pidfile="sage_notebook.sagenb/sagenb.pid" -ny
"sage_notebook.sagenb/twistedconf.tac"
Unhandled Error
Traceback (most recent call last):
File "/media/Extra_Space/Sage_installs/sage-5.2.rc0/local/lib/python2.7
/site-
packages/Twisted-12.1.0-py2.7-linux-i686.egg/twisted/application/app.py",
line 652, in run
runApp(config)
File "/media/Extra_Space/Sage_installs/sage-5.2.rc0/local/lib/python2.7
/site-
packages/Twisted-12.1.0-py2.7-linux-i686.egg/twisted/scripts/twistd.py",
line 23, in runApp
_SomeApplicationRunner(config).run()
File "/media/Extra_Space/Sage_installs/sage-5.2.rc0/local/lib/python2.7
/site-
packages/Twisted-12.1.0-py2.7-linux-i686.egg/twisted/application/app.py",
line 386, in run
self.application = self.createOrGetApplication()
File "/media/Extra_Space/Sage_installs/sage-5.2.rc0/local/lib/python2.7
/site-
packages/Twisted-12.1.0-py2.7-linux-i686.egg/twisted/application/app.py",
line 451, in createOrGetApplication
application = getApplication(self.config, passphrase)
--- <exception caught here> ---
File "/media/Extra_Space/Sage_installs/sage-5.2.rc0/local/lib/python2.7
/site-
packages/Twisted-12.1.0-py2.7-linux-i686.egg/twisted/application/app.py",
line 462, in getApplication
application = service.loadApplication(filename, style, passphrase)
File "/media/Extra_Space/Sage_installs/sage-5.2.rc0/local/lib/python2.7
/site-
packages/Twisted-12.1.0-py2.7-linux-i686.egg/twisted/application/service.py",
line 405, in loadApplication
application = sob.loadValueFromFile(filename, 'application',
passphrase)
File "/media/Extra_Space/Sage_installs/sage-5.2.rc0/local/lib/python2.7
/site-
packages/Twisted-12.1.0-py2.7-linux-i686.egg/twisted/persisted/sob.py",
line 210, in loadValueFromFile
exec fileObj in d, d
File "sage_notebook.sagenb/twistedconf.tac", line 83, in <module>
s =
strports.service('ssl:8080:interface=localhost:privateKey=/home/jonathan/.sage/notebook/private.pem:certKey=/home/jonathan/.sage/notebook/public.pem',
site)
File "/media/Extra_Space/Sage_installs/sage-5.2.rc0/local/lib/python2.7
/site-
packages/Twisted-12.1.0-py2.7-linux-i686.egg/twisted/application/strports.py",
line 77, in service
endpoints._serverFromStringLegacy(reactor, description, default),
File "/media/Extra_Space/Sage_installs/sage-5.2.rc0/local/lib/python2.7
/site-
packages/Twisted-12.1.0-py2.7-linux-i686.egg/twisted/internet/endpoints.py",
line 873, in _serverFromStringLegacy
nameOrPlugin, args, kw = _parseServer(description, None, default)
File "/media/Extra_Space/Sage_installs/sage-5.2.rc0/local/lib/python2.7
/site-
packages/Twisted-12.1.0-py2.7-linux-i686.egg/twisted/internet/endpoints.py",
line 864, in _parseServer
return (endpointType.upper(),) + parser(factory, *args[1:], **kw)
File "/media/Extra_Space/Sage_installs/sage-5.2.rc0/local/lib/python2.7
/site-
packages/Twisted-12.1.0-py2.7-linux-i686.egg/twisted/internet/endpoints.py",
line 671, in _parseSSL
from twisted.internet import ssl
File "/media/Extra_Space/Sage_installs/sage-5.2.rc0/local/lib/python2.7
/site-
packages/Twisted-12.1.0-py2.7-linux-i686.egg/twisted/internet/ssl.py",
line 23, in <module>
from OpenSSL import SSL
File "/media/Extra_Space/Sage_installs/sage-5.2.rc0/local/lib/python2.7
/site-packages/pyOpenSSL-0.12-py2.7-linux-i686.egg/OpenSSL/__init__.py",
line 36, in <module>
from OpenSSL import crypto
exceptions.ImportError: cannot import name crypto
Failed to load application: cannot import name crypto
---------------------------------------------------------------------------
error Traceback (most recent call
last)
/media/Extra_Space/Sage_installs/sage-5.2.rc0/<ipython console> in
<module>()
/media/Extra_Space/Sage_installs/sage-5.2.rc0/devel/sagenb/sagenb/notebook/notebook_object.pyc
in __call__(self, *args, **kwds)
217 """
218 def __call__(self, *args, **kwds):
--> 219 return self.notebook(*args, **kwds)
220
221 notebook = run_notebook.notebook_run
/media/Extra_Space/Sage_installs/sage-5.2.rc0/devel/sagenb/sagenb/notebook/run_notebook.pyc
in notebook_run(self, directory, port, interface, port_tries, secure,
reset, accounts, openid, server_pool, ulimit, timeout, upload,
automatic_login, start_path, fork, quiet, server, profile, subnets,
require_login, open_viewer, address)
614 os.chdir(cwd)
615 if e == 256:
--> 616 raise socket.error
617
618 def get_admin_passwd():
error:
sage:
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13121#comment:68>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.