Ticket #6408 (closed defect: fixed)
[with patch; positive review] notebook -- secure notebook doesn't work in sage-4.1.alpha1 because of twisted.web2 not being ported to python 2.6
| Reported by: | was | Owned by: | mhansen |
|---|---|---|---|
| Priority: | blocker | Milestone: | sage-4.1 |
| Component: | notebook | Keywords: | |
| Cc: | Author(s): | William Stein | |
| Report Upstream: | Reviewer(s): | Robert Miller | |
| Merged in: | sage-4.1 | Work issues: |
Description
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)
Change History
Note: See
TracTickets for help on using
tickets.
