[users at bb.net] exceptions.AttributeError: 'NoneType' object has no attribute 'broker'

Wayne Marsh wayne at heimdallnetworks.com
Fri Apr 15 13:39:48 UTC 2016


Hey all,

I'm trying to run the SVN hooks so that individual developer branches can
run the tests before merging into branch.  This is done by checking the
commit message for a keyword and then running the Python script with the
appropriate values ( repo, project, server, port etc )

I'm running 0.8.12 on FreeBSD 10.1 without docker and without virtual
environment/snadbox.  It's on a dedicated VM.


An exception is happening in either Twisted I believe and it's not actually
running a test.  Does anyone have any insight what I may be doing wrong, or
when this may have broken?  Possibly a fix, or a version of Twisted that is
known to work with 0.8.12.  I spent 2 or 3 days trying to Google for this
without any success.

FAILURE
[Failure instance: Traceback from remote host -- Traceback (most recent
call last):
  File "/usr/local/lib/python2.7/site-packages/twisted/internet/defer.py",
line 317, in addCallback
    callbackKeywords=kw)
  File "/usr/local/lib/python2.7/site-packages/twisted/internet/defer.py",
line 306, in addCallbacks
    self._runCallbacks()
  File "/usr/local/lib/python2.7/site-packages/twisted/internet/defer.py",
line 588, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/usr/local/lib/python2.7/site-packages/buildbot/pbmanager.py", line
159, in requestAvatar
    d = defer.maybeDeferred(afactory, mind, username)
--- <exception caught here> ---
  File "/usr/local/lib/python2.7/site-packages/twisted/internet/defer.py",
line 150, in maybeDeferred
    result = f(*args, **kw)
  File
"/usr/local/lib/python2.7/site-packages/buildbot/buildslave/base.py", line
311, in getPerspective
    return arb.getPerspective(mind, slavename)
  File
"/usr/local/lib/python2.7/site-packages/buildbot/process/botmaster.py",
line 377, in getPerspective
    new_tport = self.new_remote.broker.transport
exceptions.AttributeError: 'NoneType' object has no attribute 'broker'
exceptions.AttributeError: 'NoneType' object has no attribute 'broker'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20160415/38de611c/attachment.html>


More information about the users mailing list