runner.r" /> runner.r" /> runner.r"/>

Unable to run buildbot on python 2.7

120 Views Asked by At

buildbot upgrade-master master is throwing below error

Traceback (most recent call last):
  File "/usr/local/bin/buildbot", line 4, in <module>
    runner.run()
  File "/usr/local/lib/python2.7/dist-packages/buildbot/scripts/runner.py", line 762, in run
    subcommandFunction = reflect.namedObject(subconfig.subcommandFunction)
  File "/usr/local/lib/python2.7/dist-packages/twisted/python/reflect.py", line 173, in namedObject
    module = namedModule('.'.join(classSplit[:-1]))
  File "/usr/local/lib/python2.7/dist-packages/twisted/python/reflect.py", line 159, in namedModule
    topLevel = __import__(name)
  File "/usr/local/lib/python2.7/dist-packages/buildbot/scripts/upgrade_master.py", line 24, in <module>
    from buildbot.db import connector
  File "/usr/local/lib/python2.7/dist-packages/buildbot/db/connector.py", line 32, in <module>
    from twisted.application import internet
  File "/usr/local/lib/python2.7/dist-packages/twisted/application/internet.py", line 54, in <module>
    from automat import MethodicalMachine
  File "/usr/local/lib/python2.7/dist-packages/automat/__init__.py", line 2, in <module>
    from ._methodical import MethodicalMachine
  File "/usr/local/lib/python2.7/dist-packages/automat/_methodical.py", line 7, in <module>
    from inspect import getfullargspec as getArgsSpec
ImportError: cannot import name getfullargspec

Installed Packages: python2.7, python2.7-dev, buildbot=='0.8.12', buildbot-slave=='0.8.12', sqlalchemy=='0.7.10', sqlalchemy-migrate=='0.7.2', jinja2, python-dateutil, twisted==17.9.0

0

There are 0 best solutions below