[Buildbot-devel] BuildBot test fails on Win32 platform.

Brian Warner warner-buildbot at lothar.com
Fri Apr 1 01:08:17 UTC 2005


> Hmm, Looking into the remaining 5 failures, there are all similar to that
> one:
> 
>    File "C:\Python23\lib\site-packages\twisted\internet\default.py", line
> 179, in spawnProcess
>      raise NotImplementedError, "process only available in this " \
>  exceptions.NotImplementedError: process only available in this reactor on
> POSIX, use win32eventreactor on Windows
> 
>     I'm a complete newbie as far as twisted is concerned. What need to be
> changed in the tests or buildbot so that the win32eventreactor is used on
> Windows ?

When you run trial, give it a '--reactor=win32' argument:

 PYTHONPATH=. trial --reactor=win32 -v buildbot.test

That will make it use the win32eventreactor instead of the default
select()-based one. (as a side note, Twisted should probably use a different
default when run on win32, but that's a bug for the Twisted code rather than
buildbot).

hope that helps,
 -Brian





More information about the devel mailing list