[Buildbot-devel] Github hook, exception 'bool' object has no attribute 'get'

Mikhail Sobolev mss at mawhrin.net
Tue Jul 14 16:00:23 UTC 2015

Hi Raphael,

On Sat, Jul 11, 2015 at 09:44:13PM -0700, Raphael Merx wrote:
>    Hello,
>    I have a buildbot master set up to trigger builds when a pull request (PR)
>    is opened, when we commit to a branch that has an open PR, and when a
>    branch is merged. My current config worked when we were on 0.8.8, but ever
>    since I upgraded to 0.8.12, I’m seeing the following exception in the
>    master logs when I open a PR:
>  2015-07-11 21:07:03-0700 [HTTPChannel,15,] Attempting to load module buildbot.status.web.hooks.github
>  2015-07-11 21:07:03-0700 [HTTPChannel,15,] processing changes from web hook
>          Traceback (most recent call last):
>          Failure: exceptions.AttributeError: 'bool' object has no attribute 'get'

> [ snip ]
>  c['status'] = [
>      html.WebStatus(
>              http_port=8010,
>              authz=authz_cfg,
>              change_hook_dialects={'github':True}
>      )
>  ]
> [ snip ]

There was a ticket[1] that raised the issued of breaking backward
compatibility.  It was fixed for eight (0.8.x), however it was not released
yet.  If you are in a position to use the HEAD of the eight branch, you should
be fine.  Please also check the documentation for the GitHub change hook.


[1] http://trac.buildbot.net/ticket/3271

More information about the devel mailing list