#6408: notebook -- secure notebook doesn't work in sage-4.1.alpha1 because of
twisted.web2 not being ported to python 2.6
----------------------+-----------------------------------------------------
Reporter: was | Owner: mhansen
Type: defect | Status: new
Priority: blocker | Milestone: sage-4.1
Component: notebook | Keywords:
Reviewer: | Author:
Merged: |
----------------------+-----------------------------------------------------
{{{
sage: notebook('foobar',secure=True,address='geom.math.washington.edu')
The notebook files are stored in: foobar
******************************************************************
* *
* Open your web browser to https://geom.math.washington.edu:8000 *
* *
******************************************************************
There is an admin account. If you do not remember the password,
quit the notebook and type notebook(reset=True).
/space/rlm/new_r/sage-4.1.alpha0/local/lib/python2.6/site-
packages/twisted/persisted/sob.py:12: DeprecationWarning: the md5 module
is deprecated; use hashlib instead
import os, md5, sys
2009-06-25 08:17:28-0700 [-] Log opened.
2009-06-25 08:17:28-0700 [-] twistd 8.2.0
(/space/rlm/new_r/sage-4.1.alpha0/local/bin/python 2.6.2) starting up.
2009-06-25 08:17:28-0700 [-] reactor class:
twisted.internet.selectreactor.SelectReactor.
2009-06-25 08:17:28-0700 [-] twisted.web2.channel.http.HTTPFactory
starting on 8000
2009-06-25 08:17:28-0700 [-] Starting factory
<twisted.web2.channel.http.HTTPFactory instance at 0x3e2b098>
xprop: unable to open display ''
2009-06-25 08:17:28-0700 [twisted.web2.channel.http.HTTPFactory] Unhandled
Error
Traceback (most recent call last):
File "/space/rlm/new_r/sage-4.1.alpha0/local/lib/python2.6/site-
packages/twisted/python/log.py", line 69, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/space/rlm/new_r/sage-4.1.alpha0/local/lib/python2.6/site-
packages/twisted/python/context.py", line 59, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args,
**kw)
File "/space/rlm/new_r/sage-4.1.alpha0/local/lib/python2.6/site-
packages/twisted/python/context.py", line 37, in callWithContext
return func(*args,**kw)
File "/space/rlm/new_r/sage-4.1.alpha0/local/lib/python2.6/site-
packages/twisted/internet/selectreactor.py", line 146, in _doReadOrWrite
why = getattr(selectable, method)()
--- <exception caught here> ---
File "/space/rlm/new_r/sage-4.1.alpha0/local/lib/python2.6/site-
packages/twisted/internet/tcp.py", line 938, in doRead
transport = self.transport(skt, protocol, addr, self, s,
self.reactor)
exceptions.TypeError: __init__() takes exactly 6 arguments (7
given)
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6408>
Sage <http://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
-~----------~----~----~----~------~----~------~--~---