[Buildbot-devel] Typo in trigger.py:28
Mitch Jones
mitch at niftyneato.com
Wed Jun 15 21:24:08 UTC 2011
On Jun 14, 2011, at 3:28 PM, Dustin J. Mitchell wrote:
> On Tue, Jun 14, 2011 at 4:05 PM, Mitch Jones <mitch at niftyneato.com> wrote:
>> Line 28 currently reads
>> renderables = [ 'set_propetries', 'scheduler', 'sourceStamp' ]
>> and should be
>> renderables = [ 'set_properties', 'scheduler', 'sourceStamp' ]
>>
>> The first item is incorrect, so triggered steps will fail with an exception.
>
> Fixed - thanks!
>
> Dustin
>
So, having made this change, I'm now seeing the following exception when a trigger occurs:
Traceback (most recent call last):
File "/Library/Python/2.6/site-packages/Twisted-9.0.0-py2.6-macosx-10.6-universal.egg/twisted/internet/defer.py", line 102, in maybeDeferred
result = f(*args, **kw)
File "/Library/Python/2.6/site-packages/buildbot-0.8.4-py2.6.egg/buildbot/process/buildstep.py", line 752, in startStep
d.addCallback(self._startStep_2)
File "/Library/Python/2.6/site-packages/Twisted-9.0.0-py2.6-macosx-10.6-universal.egg/twisted/internet/defer.py", line 190, in addCallback
callbackKeywords=kw)
File "/Library/Python/2.6/site-packages/Twisted-9.0.0-py2.6-macosx-10.6-universal.egg/twisted/internet/defer.py", line 181, in addCallbacks
self._runCallbacks()
--- <exception caught here> ---
File "/Library/Python/2.6/site-packages/Twisted-9.0.0-py2.6-macosx-10.6-universal.egg/twisted/internet/defer.py", line 323, in _runCallbacks
self.result = callback(self.result, *args, **kw)
File "/Library/Python/2.6/site-packages/buildbot-0.8.4-py2.6.egg/buildbot/process/buildstep.py", line 797, in _startStep_2
setattr(self, renderable, self.build.render(getattr(self, renderable)))
exceptions.AttributeError: Trigger instance has no attribute 'scheduler'
Looking at buildstep.py doesn't shed any light on the problem at least for me.
Any ideas?
--
Mitch Jones
mitch at niftyneato.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4388 bytes
Desc: not available
URL: <http://buildbot.net/pipermail/devel/attachments/20110615/049453ae/attachment.bin>
More information about the devel
mailing list