[Buildbot] #3228: KeyError in github_buildbot.py on commits by non-Github users

Buildbot trac trac at buildbot.net
Thu Mar 12 05:39:41 UTC 2015


#3228: KeyError in github_buildbot.py on commits by non-Github users
-------------------------+----------------------------
Reporter:  The-Compiler  |      Owner:
    Type:  defect        |     Status:  new
Priority:  major         |  Milestone:  undecided
 Version:  0.8.10        |   Keywords:  github contrib
-------------------------+----------------------------
 When a commit by an user not known to github (e.g. [https://github.com
 /The-Compiler/qutebrowser/commit/4fa64350ca26a79569a000312740c57adc660e90
 this]) is pushed, github_buildbot.py has a KeyError when trying to get the
 username of the change:


 {{{
 Traceback (most recent call last):
 File "/usr/local/bin/github_buildbot.py", line 138, in render_POST
 self.process_change(payload, user, repo, repo_url, project, request)
 File "/usr/local/bin/github_buildbot.py", line 166, in process_change
 change['author']['username'], change['author']['email'])
 KeyError: 'username'
 }}}

--
Ticket URL: <http://trac.buildbot.net/ticket/3228>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the bugs mailing list