[Twisted-Python] Twisted Names - strange RuntimeError

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Sun Jan 9 07:54:33 MST 2011


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




More information about the Twisted-Python mailing list