[Twisted-Python] file descriptor cannot be a negative integer (-1)

ruslan usifov ruslan.usifov at gmail.com
Fri Sep 17 17:50:45 EDT 2010


Hello!

I have use kqreactor from this branch
http://twistedmatrix.com/trac/browser/branches/kqreactor-1918-3/. In the
follow code we connect to unix socket.
Sometimes we got the error: "file descriptor cannot be a negative integer
(-1)" what does this mean? I haven't any ideas

l_client = protocol.ClientCreator(reactor, Proxy);
l_client.connectUNIX(self.factory.proxysock).addCallback(connectionMade).addErrback(cantConnect);

PS: my uname -a is:
     FreeBSD 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #2: Wed Jan 13 17:50:25
UTC 2010     root at DTG1383:/usr/obj/usr/src/sys/Z-AMD64  amd64
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20100918/95b2fd53/attachment.htm 


More information about the Twisted-Python mailing list