[tahoe-dev] issues with twistd/nevow/foolscap on osx and python 2.6.1 (stock version of python)

Jimmy Tang jcftang at gmail.com
Fri Dec 16 16:26:12 UTC 2011


Hi All,

just reporting another issue,

2011-12-16 16:11:28+0000 [-] Log opened.
2011-12-16 16:11:28+0000 [-] twistd 11.0.0 (/usr/bin/python 2.6.1) starting up.
2011-12-16 16:11:28+0000 [-] reactor class:
twisted.internet.selectreactor.SelectReactor.
2011-12-16 16:11:28+0000 [-] foolscap.pb.Listener starting on 64889
2011-12-16 16:11:28+0000 [-] nevow.appserver.NevowSite starting on 3456
2011-12-16 16:11:28+0000 [-] Starting factory
<nevow.appserver.NevowSite instance at 0x103ed69e0>
2011-12-16 16:11:28+0000 [-] My pid: 67005
2011-12-16 16:11:28+0000 [-]
twisted.internet.protocol.DatagramProtocol starting on 52816
2011-12-16 16:11:28+0000 [-] Starting protocol
<twisted.internet.protocol.DatagramProtocol instance at 0x103edbfc8>
2011-12-16 16:11:28+0000 [-] (Port 52816 Closed)
2011-12-16 16:11:28+0000 [-] Stopping protocol
<twisted.internet.protocol.DatagramProtocol instance at 0x103edbfc8>
2011-12-16 16:13:50+0000 [-] Unhandled error in Deferred:
2011-12-16 16:13:50+0000 [-] Unhandled Error
        Traceback (most recent call last):
          File "/Users/jtang/sandbox/allmydata-tahoe-1.9.0-SUMO/Twisted-11.0.0-py2.6-macosx-10.6-universal.egg/twisted/internet/base.py",
line 793, in runUntilCurrent
            call.func(*call.args, **call.kw)
          File "/Users/jtang/sandbox/allmydata-tahoe-1.9.0-SUMO/support/lib/python2.6/site-packages/foolscap-0.6.2-py2.6.egg/foolscap/eventual.py",
line 26, in _turn
            cb(*args, **kwargs)
          File "/Users/jtang/sandbox/allmydata-tahoe-1.9.0-SUMO/Twisted-11.0.0-py2.6-macosx-10.6-universal.egg/twisted/internet/defer.py",
line 361, in callback
            self._startRunCallbacks(result)
          File "/Users/jtang/sandbox/allmydata-tahoe-1.9.0-SUMO/Twisted-11.0.0-py2.6-macosx-10.6-universal.egg/twisted/internet/defer.py",
line 455, in _startRunCallbacks
            self._runCallbacks()
        --- <exception caught here> ---
          File "/Users/jtang/sandbox/allmydata-tahoe-1.9.0-SUMO/Twisted-11.0.0-py2.6-macosx-10.6-universal.egg/twisted/internet/defer.py",
line 542, in _runCallbacks
            current.result = callback(current.result, *args, **kw)
          File "/Users/jtang/sandbox/allmydata-tahoe-1.9.0-SUMO/support/lib/python2.6/site-packages/Nevow-0.10.0-py2.6.egg/nevow/appserver.py",
line 181, in _cbFinishRender
            self.finishRequest(  True )
          File "/Users/jtang/sandbox/allmydata-tahoe-1.9.0-SUMO/support/lib/python2.6/site-packages/Nevow-0.10.0-py2.6.egg/nevow/appserver.py",
line 176, in finishRequest
            server.Request.finish(self)
          File "/Users/jtang/sandbox/allmydata-tahoe-1.9.0-SUMO/Twisted-11.0.0-py2.6-macosx-10.6-universal.egg/twisted/web/http.py",
line 866, in finish
            "Request.finish called on a request after its connection was lost; "
        exceptions.RuntimeError: Request.finish called on a request
after its connection was lost; use Request.notifyFinish to keep track
of this.

it leaves things like the following in the web interface...

publish	vyhn2bb6iv6yqvp3scqwn3prtu	No	810B	70.0%	Sending Shares: 7
placed out of 10, 2 messages outstanding
publish	klb2npqonmkfijkocz6wlip2ue	No	586B	30.0%	Sending Shares: 3
placed out of 10, 2 messages outstanding

the messages just sit there and don't seem to do anything to complete,
though when I run a check and repair everything appears to be okay.

-- 
http://www.sgenomics.org/~jtang/



More information about the tahoe-dev mailing list