[Twisted-Python] Server errors using Twisted with Python 2.3

Richard.Townsend at edl.uk.eds.com Richard.Townsend at edl.uk.eds.com
Mon Sep 15 04:50:39 EDT 2003

Since installing Python 2.3 on HP-UX11i, I keep getting 'Resource
temporarily unavailable' errors in server applications.

E.g. using ../doc/examples/simpleserv.py & ../doc/examples/simpleclient.py:

"richardt" capulet:doc/examples > python simpleserv.py 
Traceback (most recent call last):
  File "/opt/python/lib/python2.3/site-packages/twisted/python/log.py", line
65, in callWithLogger
    callWithContext({"system": lp}, func, *args, **kw)
  File "/opt/python/lib/python2.3/site-packages/twisted/python/log.py", line
52, in callWithContext
    return context.call({ILogContext: newCtx}, func, *args, **kw)
  File "/opt/python/lib/python2.3/site-packages/twisted/python/context.py",
line 32, in callWithContext
    return func(*args,**kw)
"/opt/python/lib/python2.3/site-packages/twisted/internet/default.py", line
510, in _doReadOrWrite
    why = getattr(selectable, method)()
--- <exception caught here> ---
  File "/opt/python/lib/python2.3/site-packages/twisted/internet/tcp.py",
line 595, in doRead
    skt, addr = self.socket.accept()
  File "/opt/python/lib/python2.3/socket.py", line 167, in accept
    sock, addr = self._sock.accept()
socket.error: (11, 'Resource temporarily unavailable')

"richardt" capulet:doc/examples > python simpleclient.py
Server said: hello, world!
connection lost
Connection lost - goodbye!

The transaction appears to work, but the log file is filling up with these
errors. This happens with Twisted 1.0.6 and 1.0.7.

It doesn't happen when using Python 2.2

Can anyone advise how to fix this problem?

Richard Townsend
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20030915/2e1e6033/attachment.htm 

More information about the Twisted-Python mailing list