[Buildbot-devel] Unable to utilize 'manhole' module in buildbot

Kenneth Lareau elessar at numenor.org
Tue Feb 6 23:09:44 UTC 2007


After taking over the support of our buildbot configuration at my company,
I've been having a few issues keeping everything running smoothly.  I do
suspect this has something to do with the fact that we have 188 builders
that run on a nightly basis, but that's tangental to the issue I'm currently
dealing with so I'll cut to the chase...

Basically I am unable to get the 'manhole' module to sucessfully load.
Here are the configuration specs:

System: RedHat Enterprise Linux 3

Software: buildbot 0.7.4
          Python 2.4.3
          pycrypto 2.0.1
          Twisted Conch 0.8.0

Relevant section from our master.cfg file:

  From buildbot import manhole
  c['manhole'] = manhole.AuthorizedKeysManhole(6561, "~/.ssh/authorized_keys")

When I enable the lines above and restart the server, I get this traceback
in the twistd.log file:

2007/02/02 13:26 PST [-] loading configuration from /net/hog/u1/user/builder/master-buildbot/master.cfg
2007/02/02 13:26 PST [-] There are 188 builders
2007/02/02 13:26 PST [-] error while parsing config file
2007/02/02 13:26 PST [-] error during loadConfig
2007/02/02 13:26 PST [-] Traceback (most recent call last):
          File "/eng/os/rhel-3/i386/python/lib/python2.4/site-packages/twisted/scripts/twistd.py", line 182, in startApplication
            app.startApplication(application, not config['no_save'])
          File "/eng/os/rhel-3/i386/python/lib/python2.4/site-packages/twisted/application/app.py", line 298, in startApplication
          File "/eng/os/rhel-3/i386/python/lib/python2.4/site-packages/twisted/application/service.py", line 196, in startService
          File "/eng/os/rhel-3/i386/python/lib/python2.4/site-packages/buildbot/master.py", line 608, in startService
        --- <exception caught here> ---
          File "/eng/os/rhel-3/i386/python/lib/python2.4/site-packages/buildbot/master.py", line 663, in loadTheConfigFile
          File "/eng/os/rhel-3/i386/python/lib/python2.4/site-packages/buildbot/master.py", line 679, in loadConfig
            exec f in localDict
          File "/net/hog/u1/user/builder/master-buildbot/master.cfg", line 560, in ?
            from buildbot import manhole
          File "/eng/os/rhel-3/i386/python/lib/python2.4/site-packages/buildbot/manhole.py", line 7, in ?
            from twisted.conch import manhole, telnet, manhole_ssh, checkers as conchc
          File "/eng/os/rhel-3/i386/python/lib/python2.4/site-packages/twisted/conch/manhole.py", line 19, in ?
            from twisted.conch import recvline
          File "/eng/os/rhel-3/i386/python/lib/python2.4/site-packages/twisted/conch/recvline.py", line 16, in ?
            from twisted.conch.insults import insults, helper
          File "/eng/os/rhel-3/i386/python/lib/python2.4/site-packages/twisted/conch/insults/insults.py", line 77, in ?
            class ITerminalTransport(iinternet.ITransport):
          File "/eng/os/rhel-3/i386/python/lib/python2.4/site-packages/twisted/python/components.py", line 168, in __init__
            attrs[k] = interface.fromFunction(v, name, name=k, imlevel=1)
          File "/eng/os/rhel-3/i386/python/lib/python2.4/site-packages/zope/interface/interface.py", line 907, in fromFunction
            method.varargs = names[argno]
        exceptions.IndexError: tuple index out of range

Unfortunately I have been unable to trace back to the source of the error,
and our Python experts here are uncertain to the issue, so I'm hoping someone
here might be able to assist with this issue.  I searched the mailing list
archives first for anything like this but turned up nothing; has anyone seen
this before and possibly point me in the right direction to solving this
issue?  Given the complexity of our configuration I would find it really
useful to have this module enabled.

Thank you for your assistance.

Ken Lareau
Nominum, Inc.

More information about the devel mailing list