[Twisted-Python] UDP crashes python.exe when using IOCPReactor
Josh Albrecht
thejash at gmail.com
Tue Dec 15 21:43:55 EST 2009
Thanks. I changed the way I was installing the reactor, but it had no effect.
I did not realize that Windows 7 was unsupported. However, I've also
reproduced this bug on windows XP, so I think it's a larger issue,
unfortunately.
Thanks,
- Josh
On Tue, Dec 15, 2009 at 8:39 PM, <exarkun at twistedmatrix.com> wrote:
> On 15 Dec, 11:56 pm, thejash at gmail.com wrote:
>>I've been struggling to move a large program over to IOCPReactor, but
>>it is causing python.exe to crash on windows. I reduced the error to
>>this program, which crashes almost immediately on all the machines
>>I've tested it on. Am I doing something wrong?
>
> First thought, Windows 7 isn't a supported platform. Little or no
> effort has been spent on getting Twisted working there. As a start, you
> might try running the test suite to see what passes and what fails.
>
> Next thought, you're installing the reactor wrong. Instead, you should
> be doing:
>
> from twisted.internet import iocpreactor
> iocpreactor.install()
> from twisted.internet import reactor
>
> As documented in the reactor selection howto:
>
> http://twistedmatrix.com/documents/current/core/howto/choosing-
> reactor.html#auto8
>
> Jean-Paul
>
> _______________________________________________
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
More information about the Twisted-Python
mailing list