[Buildbot-devel] svn_buildbot.py is generating an error on some commits

Bailey, Darragh dbailey at hp.com
Tue Nov 30 20:30:16 UTC 2010


Doing some testing with sending commits that have been made to a subversion server by running the svn_buildbot.py script that is in the contrib folder manually.

For most commits that I was effectively forcing, the commit and details were sent along to the waterfall page just fine. But some would result in the following traceback being dumped to the console on the system that I ran the python script on to send the details about the change to buildbot.


quitting! because ([(False, <twisted.spread.pb.CopiedFailure exceptions.UnicodeDecodeError>)], 'SUCCESS')
Unhandled error in Deferred:
Traceback from remote host -- Traceback (most recent call last):
  File "/usr/lib64/python2.6/site-packages/twisted/spread/banana.py", line 153, in gotItem
    self.callExpressionReceived(item)
  File "/usr/lib64/python2.6/site-packages/twisted/spread/banana.py", line 116, in callExpressionReceived
    self.expressionReceived(obj)
  File "/usr/lib64/python2.6/site-packages/twisted/spread/pb.py", line 514, in expressionReceived
    method(*sexp[1:])
  File "/usr/lib64/python2.6/site-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/lib64/python2.6/site-packages/twisted/spread/pb.py", line 840, in _recvMessage
    netResult = object.remoteMessageReceived(self, message, netArgs, netKw)
  File "/usr/lib64/python2.6/site-packages/twisted/spread/pb.py", line 225, in perspectiveMessageReceived
    state = method(*args, **kw)
  File "/usr/lib/python2.6/site-packages/buildbot/changes/pb.py", line 43, in perspective_addChange
    self.changemaster.addChange(change)
  File "/usr/lib/python2.6/site-packages/buildbot/changes/manager.py", line 103, in addChange
    change.comments, change.category))
exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 112: ordinal not in range(128)



Twisted is a little outdated on the sending machine, it's at 10.1 on the receiving machine. So will be trying an updated version of twisted just to eliminate the possibility that it's some bug due to changes in how data is being passed by the pb classes.

Hoping that someone else might already know what causes this type of error.

--
Regards,
Darragh Bailey




More information about the devel mailing list