[Twisted-Python] Twisted Names - strange RuntimeError

Angelo Dell'Aera angelo.dellaera at gmail.com
Sun Jan 9 08:47:27 MST 2011


On Sun, 09 Jan 2011 14:54:33 -0000
exarkun at twistedmatrix.com wrote:

> On 01:54 pm, itamar at itamarst.org wrote:
> >On Sun, 2011-01-09 at 12:10 +0100, Angelo Dell'Aera wrote:
> >>Hi,
> >>while developing a code based on Twisted Names I'm finding myself 
> >>catching
> >>RuntimeErrors like the one reported below.
> >
> >It seems like someone, somewhere is doing a startWriting() (or
> >pauseProducing) on the Port object, i.e. the transport of the
> >DatagramProtocol. Do you have any code that does
> >startWriting/pauseProducing? I don't see any in twisted.internet.udp or
> >twisted.names.
> 
> Perhaps an easy way to track this down would be to make 
> udp.Port.startWriting raise an exception.  Perhaps that's even what it 
> should do in Twisted itself.

Jean-Paul,
I can try adding the startWriting method and see what happens if needed. If
you need additional details from such exception in order to better track
down the issue please let me know and I'll be glad to add everything.  

Thanks and cheers,

-- 

Angelo Dell'Aera 'buffer' 
Antifork Research, Inc.	  	http://buffer.antifork.org
Metro Olografix





More information about the Twisted-Python mailing list