[Buildbot-commits] [Buildbot] #2094: latest contrib/git_buildbot.py not compatible with older installs of buildbot

Buildbot nobody at buildbot.net
Tue Aug 30 14:45:58 UTC 2011


#2094: latest contrib/git_buildbot.py not compatible with older installs of
buildbot
--------------------+-----------------------
Reporter:  ajb      |      Owner:
    Type:  defect   |     Status:  new
Priority:  major    |  Milestone:  undecided
 Version:  0.8.4p2  |   Keywords:  git
--------------------+-----------------------
 If you run the master/HEAD git_buildbot.py script against an existing
 install of buildbot you'll get the following:

 {{{

 2011-08-30 15:20:24+0100 [Broker,4,127.0.0.1] <bound method
 ChangePerspective.perspective_addChange of
 <buildbot.changes.pb.ChangePerspective instance at 0x3d23b48>> d
 idn't accept ({'files': [u'xxxx/xxxx/rnotes.tex'], 'who': u'Alex Bennee
 <ajb at xxxx>', 'comments': u'rnotes: note fix of 1799', 'branch': u'master',
 'revi
 sion': '4d4bd232539b2394863c93b8dd52f3679aa011c2'},) and {'src': 'git'}
 2011-08-30 15:20:24+0100 [Broker,4,127.0.0.1] Peer will receive following
 PB traceback:
 2011-08-30 15:20:24+0100 [Broker,4,127.0.0.1] Unhandled Error
         Traceback (most recent call last):
           File "/usr/lib/python2.7/dist-
 packages/twisted/spread/banana.py", line 153, in gotItem
             self.callExpressionReceived(item)
           File "/usr/lib/python2.7/dist-
 packages/twisted/spread/banana.py", line 116, in callExpressionReceived
             self.expressionReceived(obj)
           File "/usr/lib/python2.7/dist-packages/twisted/spread/pb.py",
 line 514, in expressionReceived
             method(*sexp[1:])
           File "/usr/lib/python2.7/dist-packages/twisted/spread/pb.py",
 line 826, in proto_message
             self._recvMessage(self.localObjectForID, requestID, objectID,
 message, answerRequired, netArgs, netKw)
         --- <exception caught here> ---
           File "/usr/lib/python2.7/dist-packages/twisted/spread/pb.py",
 line 840, in _recvMessage
             netResult = object.remoteMessageReceived(self, message,
 netArgs, netKw)
           File "/usr/lib/python2.7/dist-packages/twisted/spread/pb.py",
 line 225, in perspectiveMessageReceived
             state = method(*args, **kw)
         exceptions.TypeError: perspective_addChange() got an unexpected
 keyword argument 'src'

 }}}

 The workaround is to ensure you use the contrib script from the version
 your actually running.

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2094>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list