[Twisted-Python] Twisted Names - strange RuntimeError

Žiga Seilnacht ziga.seilnacht at gmail.com
Sun Jan 9 12:08:01 MST 2011


On 9.1.2011 16:47, Angelo Dell'Aera wrote:
> 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,

Could you also let us know which operating system and version you are
using and which reactors you tried? A similar error was recently reported
for poll reactor on FreeBSD (http://twistedmatrix.com/trac/ticket/4759).

Regards,
Ziga




More information about the Twisted-Python mailing list