[Buildbot-devel] Getting "sendchange" not to throw exception related to broker

Leo Osvald leden.os at gmail.com
Sun Jul 7 04:08:16 UTC 2013

I am new to learning and am currently trying to use "sendchange" with the
sample configuration from the official Tutorial:
and running a single slave and master on localhost. From the logs
everything looks fine and I am able to trigger successful builds through
web interface.

Now, I would like to trigger the build from the command line using
"sendchange". This is my attempt:
buildbot sendchange -m localhost:9989 -a example-slave:pass --who johndoe

However, the command and the following is written to the log on the master:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py",
line 298, in addCallback
      File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py",
line 287, in addCallbacks
      File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py",
line 545, in _runCallbacks
        current.result = callback(current.result, *args, **kw)
      File "/usr/local/lib/python2.7/dist-packages/buildbot/pbmanager.py",
line 142, in requestAvatar
        d = defer.maybeDeferred(afactory, mind, username)
    --- <exception caught here> ---
      File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py",
line 134, in maybeDeferred
        result = f(*args, **kw)
      File "/usr/local/lib/python2.7/dist-packages/buildbot/buildslave.py",
line 282, in getPerspective
        return arb.getPerspective(mind, slavename)
line 547, in getPerspective
        new_tport = self.new_remote.broker.transport
    exceptions.AttributeError: 'NoneType' object has no attribute 'broker'

I tried reading the code from the traceback but I couldn't understand what
is going on and why.
Any help would be greatly appreciated.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20130706/c6c61e88/attachment.html>

More information about the devel mailing list