[Buildbot-devel] Problems with buildbot 0.7.5 on WinXP

John Pye john.pye at anu.edu.au
Mon Jul 30 02:29:20 UTC 2007


Excuse me if this message has already gone to the list -- I have been getting email messages saying that there was a fatal delivery error, so I am re-sending...
--- --- ---

Hi all

I have tried to install Buildbot as a service on Windows XP. Previously
I think this worked, but currently it seems to be broken, perhaps due to
a new version of Twisted.

I get an error like this:

File "c:\Python25\lib\site-packages\buildbot\scripts\startup,py", line
114, in launch
    from twisted.scripts.twistw import run
ImportError: No module named twistw

Originally I thought that the problem was the Buildbot didn't realise
that 'twistw' has been renamed '_twistw'. But looking at it further, it
seems to me that Twisted may have changed its API and no longer provides 
a 'run' function; 'run' is now a method of the ApplicationRunner object,
and it seems that it now requires something like

W = _twistw.WindowsApplicationRunner(X)
W.run()

The X is the 'config' argument of the ApplicationRunner in
twisted.application.app. I'm not sure what it should contain. Perhaps
the 'config' value from my 'buildbotstart.py' script at
http://ascendwiki.cheme.cmu.edu/BuildBot

So as far as I can tell this looks like a bug with Buildbot. Can anyone
confirm this?

Cheers
JP

PS I think it would be rather good if a Windows version of Buildbot
could be concocted that dealt with this job of installing the Buildbot
service. It's rather tedious and I imagine might not be so hard to
automate. But obviously it would take a bit of work.





More information about the devel mailing list