[Buildbot-devel] FileDownload step raises an exception
Timothee Besset
ttimo at idsoftware.com
Fri Apr 6 19:39:22 UTC 2007
Hello
I've tried FileDownload and the master excepts when trying to set it up:
2007/04/06 14:32 CDT [Broker,0,] error while creating step,
factory=buildbot.steps.transfer.FileDownload, args={'masterdest': 'foo',
'workdir': 'build', 'slavesrc': 'foo'}
2007/04/06 14:32 CDT [Broker,0,] Build.setupBuild failed
2007/04/06 14:32 CDT [Broker,0,] Traceback (most recent call last):
File
"/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line 229,
in callback
self._startRunCallbacks(result)
File
"/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line 294,
in _startRunCallbacks
self._runCallbacks()
File
"/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line 307,
in _runCallbacks
self.result = callback(self.result, *args, **kw)
File
"/usr/lib/python2.4/site-packages/buildbot/process/builder.py", line
582, in _startBuild_2
d = build.startBuild(bs, self.expectations, sb)
--- <exception caught here> ---
File
"/usr/lib/python2.4/site-packages/buildbot/process/base.py", line 308,
in startBuild
self.setupBuild(expectations) # create .steps
File
"/usr/lib/python2.4/site-packages/buildbot/process/base.py", line 361,
in setupBuild
step = factory(build=self, **args)
exceptions.TypeError: __init__() takes at least 4 non-keyword
arguments (2 given)
This is with a very simple step line:
f.addStep( transfer.FileDownload, slavesrc = 'foo', masterdest = 'foo' )
$ buildbot --version
Buildbot version: 0.7.5
Twisted version: 2.4.0
Suggestions?
TTimo
More information about the devel
mailing list