[Buildbot-devel] bzr_buildbot.py not working

David Engster deng at randomsample.de
Tue Sep 11 18:29:35 UTC 2012

I have upgrade from 0.8.3. to latest 0.8.6p1 and have also replaced the
bzr_buildbot.py plugin file with the newest version from the contrib
directory. However, pulling from the repository throws the following
exception when sending the changes to the buildmaster:

bzr_buildbot: SENDING CHANGES to buildbot master localhost:4477 on change
bzrbuildout: FAILURE
 [Failure instance: Traceback from remote host -- Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 504, in __bootstrap
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
  File "/usr/lib/python2.6/threading.py", line 484, in run
    self.__target(*self.__args, **self.__kwargs)
--- <exception caught here> ---
  File "/usr/lib/python2.6/dist-packages/twisted/python/threadpool.py", line 207, in _worker
    result = context.call(ctx, function, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 59, in callWithContext
    return self.currentContext().callWithContext(ctx, func, *args, **kw)
  File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 37, in callWithContext
    return func(*args,**kw)
  File "/usr/local/lib/python2.6/dist-packages/buildbot/db/pool.py", line 183, in __thd
    rv = callable(arg, *args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/buildbot/db/changes.py", line 61, in thd
    self.check_length(ch_tbl.c.revision, revision)
  File "/usr/local/lib/python2.6/dist-packages/buildbot/db/base.py", line 51, in check_length
    if value and len(value) > col.type.length:
exceptions.TypeError: object of type 'int' has no len()

Is this a bug or am I doing something wrong?


More information about the devel mailing list