[Buildbot-devel] svn_buildbot.py is generating an error on some commits
Alexander O'Donovan-Jones
Alexander at ccpgames.com
Wed Dec 1 01:00:48 UTC 2010
Ha, I actually encountered this exact error only the other day. I modified the logging in twisted to fix the unicode error, but I'm not at my work computer to give you the exact code. Can you wait till tomorrow?
________________________________________
From: Bailey, Darragh [dbailey at hp.com]
Sent: 30 November 2010 20:30
To: buildbot-devel at lists.sourceforge.net
Subject: [Buildbot-devel] svn_buildbot.py is generating an error on some commits
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
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Buildbot-devel mailing list
Buildbot-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/buildbot-devel
More information about the devel
mailing list