[Buildbot-devel] slave exception in 0.5 & CVS

Timothee Besset ttimo at idsoftware.com
Sun Aug 29 12:50:16 UTC 2004

I am getting this exception with a test slave running on OSX panther.

Basically the 'dir' key is present, but the value is None. I fixed this in
my local source with an additional check. Might want to fix this in CVS?


Traceback (most recent call last):
  File "/sw/lib/python2.3/site-packages/twisted/spread/pb.py", line 879, in proto_message
    self._recvMessage(self.localObjectForID, requestID, objectID, message, answerRequired, netArgs, netKw)
  File "/sw/lib/python2.3/site-packages/twisted/spread/pb.py", line 893, in _recvMessage
    netResult = object.remoteMessageReceived(self, message, netArgs, netKw)
  File "/sw/lib/python2.3/site-packages/twisted/spread/flavors.py", line 124, in remoteMessageReceived
    state = method(*args, **kw)
  File "/sw/lib/python2.3/site-packages/buildbot/slave/bot.py", line 123, in remote_startCommand
    d = defer.maybeDeferred(self.command.start)
--- <exception caught here> ---
  File "/sw/lib/python2.3/site-packages/twisted/internet/defer.py", line 129, in maybeDeferred
    result = f(*args, **kw)
  File "/sw/lib/python2.3/site-packages/buildbot/slave/commands.py", line 324, in start
    workdir = os.path.join(self.builder.basedir, args['dir'])
  File "/sw/src/root-python23-2.3.4-2/sw/lib/python2.3/posixpath.py", line 60, in join
    if b.startswith('/'):
exceptions.AttributeError: 'NoneType' object has no attribute 'startswith'

More information about the devel mailing list