Hi Katia, I can see from your traceback that you are running from the system python. This is usually not a good idea as there can be conflict between other installations of python software including buildbot eight. You should rather install from a virtualenv: http://trac.buildbot.net/wiki/RunningBuildbotWithVirtualEnv
>From your traceback it looks that there are indeed some conflicts python packaging conflicts. I realize that the plugin db is not providing too much meaningful indication. I will fix that for next release. Regards Pierre Le mar. 10 janv. 2017 à 22:29, Katia De Lu <katiad...@gmail.com> a écrit : Hi all, I’m having trouble getting GitLabStatusPush working, and I’m hoping someone can help. I’m using Buildbot 0.9.2. I’ve added the following lines to my master.cfg, copy-pasted from http://docs.buildbot.net/current/manual/cfg-reporters.html#gitlabstatuspush (I realise I need to change the arguments to my token, base URL, etc. - that’s not the problem): c['services'] = [] from buildbot.plugins import reporters gl = reporters.GitLabStatusPush('private-token', context='continuous-integration/buildbot', baseUrl='https://git.yourcompany.com') c['services'].append(gl) But it fails to pass ‘checkconfig’ with the following errors: $ buildbot checkconfig master.cfg error while parsing config file: Traceback (most recent call last): File "/usr/lib64/python2.7/site-packages/twisted/internet/defer.py", line 150, in maybeDeferred result = f(*args, **kw) File "/usr/lib/python2.7/site-packages/buildbot/scripts/checkconfig.py", line 58, in checkconfig return _loadConfig(basedir=basedir, configFile=configFile, quiet=quiet) File "/usr/lib/python2.7/site-packages/buildbot/scripts/checkconfig.py", line 28, in _loadConfig config.FileLoader(basedir, configFile).loadConfig() File "/usr/lib/python2.7/site-packages/buildbot/config.py", line 162, in loadConfig self.basedir, self.configFileName) --- <exception caught here> --- File "/usr/lib/python2.7/site-packages/buildbot/config.py", line 119, in loadConfigDict exec(f, localDict) File "/home/kdelu/Git/buildbot-0.9-research/master.cfg", line 207, in <module> gl = reporters.GitLabStatusPush('private-token', context='continuous-integration/buildbot', baseUrl='https://git.yourcompany.com') File "/usr/lib/python2.7/site-packages/buildbot/plugins/db.py", line 315, in __getattr__ raise AttributeError(str(err)) exceptions.AttributeError: Unable to load buildbot.reporters:GitLabStatusPush: No module named py Configuration Errors: error while parsing config file: Unable to load buildbot.reporters:GitLabStatusPush: No module named py (traceback in logfile) As you can see, I am importing reporters (in fact, the import line is redundant, as I import all the plugins at the top of my master.cfg file; I only added the extra import out of desperation). Why can’t it find the module? I’ve found this ticket http://trac.buildbot.net/ticket/3286 that seems to suggest the GitLabStatusPush plugin hasn’t been ported across, but it looks like the feature was restored in release 0.9.0b9 ( http://docs.buildbot.net/current/relnotes/0.9.0b9.html#features), and the release notes for 0.9.2 ( http://docs.buildbot.net/current/relnotes/index.html#bug-fixes mention a fix to GitLabStatusPush), which would suggest it should be working. What am I missing? Thanks, Kat _______________________________________________ users mailing list users@buildbot.net https://lists.buildbot.net/mailman/listinfo/users
_______________________________________________ users mailing list users@buildbot.net https://lists.buildbot.net/mailman/listinfo/users