[Buildbot-devel] Problem upgrading from pre-0.8 (git) to 0.8 beta

Marcus Lindblom macke at yar.nu
Sat Mar 13 10:00:38 UTC 2010


Hi,

After trying to start a freshly created master, as well as after 
upgrading on my existing test setup (which was working fine 
pre-scheduler-db) I get this:

 >buildbot start master
[snip: deprecation warnings]
Usage: twistd [options]
[snip: twistd option list]

twistd: The specified reactor cannot be used, failed with error: reactor 
already installed.
See the list of available reactors with --help-reactors
 >

This is on Vista 64-bit with python 2.6.1 64-bit, twisted 8.2.0 (same 
for 10.0.0, which I'm running now).

I solved it by commeting out the extra reactor parameter in startup.py:

diff --git a/buildbot/scripts/startup.py b/buildbot/scripts/startup.py
index 9472af2..c4552b5 100644
--- a/buildbot/scripts/startup.py
+++ b/buildbot/scripts/startup.py
@@ -107,8 +107,8 @@ def launch(config):
                  "--no_save",
                  "--logfile=twistd.log", # windows doesn't use the same 
default
                  "--python=buildbot.tac"]
-        if platformType == "win32":
-            argv.append("--reactor=win32")
+        #if platformType == "win32":
+        #    argv.append("--reactor=win32")
          sys.argv = argv

That solved it, but I'm a bit worried. Any idea why this has changed?

(Also, there are other reactors for win32 available, why are we choosing 
a specific one on windows?)

Cheers,
/Marcus





More information about the devel mailing list