[Twisted-Python] IOCP Reactor Problem

Justin Johnson justinjohnson at fastmail.fm
Mon Mar 29 14:51:54 MST 2004


When I try to use the new IOCP reactor (latest from svn) I get the
following errors.  The only thing being started up is a nevow web site. 
This worked when using win32reactor.

Anyone have any ideas?  Let me know if more info is needed.

Thanks.
-Justin


2004/03/29 15:44 Central Standard Time [-] Traceback (most recent call
last):
          File "C:\Python23\Lib\site-packages\twisted\protocols\http.py",
          line 554, in requestReceived
            self.process()
          File "C:\svn\RatControl\nevow\appserver.py", line 130, in
          process
            return self.site.getResourceFor(
          File "C:\svn\RatControl\nevow\appserver.py", line 277, in
          getResourceFor
            return self.resourceAtPathOfRequest(request)
          File "C:\svn\RatControl\nevow\appserver.py", line 290, in
          resourceAtPathOfRequest
            return defer.maybeDeferred(res.locateChild, request,
            path).addCallback(
        --- <exception caught here> ---
          File "C:\Python23\Lib\site-packages\twisted\internet\defer.py",
          line 129, in maybeDeferred
            result = f(*args, **kw)
          File "C:\svn\RatControl\nevow\guard.py", line 188, in
          locateChild
            prepath = request.prePathURL()
          File "C:\Python23\Lib\site-packages\twisted\web\server.py",
          line 345, in prePathURL
            inet, addr, port = self.getHost()
        exceptions.TypeError: unpack non-sequence

2004/03/29 15:44 Central Standard Time [-] html is not a string:  None
2004/03/29 15:44 Central Standard Time [-] None - - [29/Mar/2004:21:44:54
+0000]
 "GET /results HTTP/1.1" 500 5773 "http://localhost:8888/rmvob"
 "Mozilla/5.0 (Wi
ndows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040206 Firefox/0.8"




More information about the Twisted-Python mailing list