[Twisted-Python] IOCP Reactor Problem

Justin Johnson justinjohnson at fastmail.fm
Mon Mar 29 16:51:54 EST 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.


2004/03/29 15:44 Central Standard Time [-] Traceback (most recent call
          File "C:\Python23\Lib\site-packages\twisted\protocols\http.py",
          line 554, in requestReceived
          File "C:\svn\RatControl\nevow\appserver.py", line 130, in
            return self.site.getResourceFor(
          File "C:\svn\RatControl\nevow\appserver.py", line 277, in
            return self.resourceAtPathOfRequest(request)
          File "C:\svn\RatControl\nevow\appserver.py", line 290, in
            return defer.maybeDeferred(res.locateChild, request,
        --- <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
            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
 "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