[Buildbot-devel] Buildbot try error

Ben Hearsum ben.hearsum at senecac.on.ca
Tue Sep 26 03:18:34 UTC 2006


I'm having trouble trying to get 'buildbot try' to work. I've searched
through the mailing lists and haven't found anybody else having this
problem.

I run 'buildbot try -c pb --username=ben --passwd=********* --m
aster=linux9:5900 --vc=cvs --builder="Seneca Test Linux"' inside of the
root of my source tree.

I get this traceback:
using 'pb' connect method
Traceback (most recent call last):
 File "/usr/lib/python2.3/site-packages/twisted/internet/default.py",
line 134,
 in mainLoop
   self.runUntilCurrent()
 File "/usr/lib/python2.3/site-packages/twisted/internet/base.py", line
423, in
 runUntilCurrent
   call.func(*call.args, **call.kw)
 File "/usr/lib/python2.3/site-packages/twisted/internet/defer.py", line
252, i
n callback
   self._startRunCallbacks(result)
 File "/usr/lib/python2.3/site-packages/twisted/internet/defer.py", line
313, i
n _startRunCallbacks
   self._runCallbacks()
--- <exception caught here> ---
 File "/usr/lib/python2.3/site-packages/twisted/internet/defer.py", line
338, i
n _runCallbacks
   self.result = callback(self.result, *args, **kw)
 File "/usr/lib/python2.3/site-packages/buildbot/scripts/tryclient.py",
line 55
7, in <lambda>
   d.addCallback(lambda res: self.createJob())
 File "/usr/lib/python2.3/site-packages/buildbot/scripts/tryclient.py",
line 32
2, in createJob
   treedir = getTopdir(topfile)
 File "/usr/lib/python2.3/site-packages/buildbot/scripts/tryclient.py",
line 21
5, in getTopdir
   if os.path.exists(os.path.join(here, topfile)):
 File "/usr/lib/python2.3/posixpath.py", line 60, in join
   if b.startswith('/'):
exceptions.AttributeError: 'NoneType' object has no attribute 'startswith'

I imagine that this has something to do with --trydir but no matter what
I use I have the same error.

Here is an excerpt from my master.cfg:
u = [("ben", "********"), ("mike", "************")]

t = Try_Userpass("userpass try", ["Seneca Test Linux", "Seneca Test
Windows"],
                 port=5900, userpass=u)
c['schedulers'].append(t)

Any help would be much appreciated.

- Ben




More information about the devel mailing list