<div dir="ltr"><div><br></div><div>Hi,<br></div><div><br></div><div>I'm trying to setup the GitHub_buildbot.py script, it's triggering but it throws an exception, and warns about (unexpected) missing files.</div><div><br></div><div>I can create a pull request and apply it and in both cases see the webhook script is invoked and then the master runs, but the master complains about missing data: it says there are no files and errors with '<span style="font-family:monospace,monospace">keywords must be strings'</span>.</div><div><br></div><div>I've gave my GitHup app read/write everything (apart from single file access), just in case.</div><div><br></div><div>Versions:</div><div><br></div><div><div>Buildbot version: 0.9.13</div><div>Twisted version: 17.9.0</div></div><div><br></div><div>Below are the logs for the master and the web hook script on the initial PR creation:</div><div><br></div><div><br></div><div>master log:</div><div><br></div><div><div><font face="monospace, monospace">2017-11-28 18:03:33+0000 [Broker,2,192.168.2.11] perspective_addChange called</font></div><div><font face="monospace, monospace">2017-11-28 18:03:33+0000 [Broker,2,192.168.2.11] No files listed in change... bit strange, but not fatal.</font></div><div><font face="monospace, monospace">2017-11-28 18:03:33+0000 [Broker,2,192.168.2.11] <bound method ChangePerspective.perspective_addChange of <buildbot.changes.pb.ChangePerspective object at 0x729a8c10>> didn't accept ({b'project': 'WayneKeenan/python-bleson', b'comments': 'test', b'branch': 'test16', b'files': ['tox.ini'], b'revlink': '<a href="https://github.com/WayneKeenan/python-bleson/commit/affde813ee952817f383e4d47334f3492cd8cce6">https://github.com/WayneKeenan/python-bleson/commit/affde813ee952817f383e4d47334f3492cd8cce6</a>', b'src': 'git', 'files': [], b'revision': 'affde813ee952817f383e4d47334f3492cd8cce6', b'repository': '<a href="https://github.com/WayneKeenan/python-bleson">https://github.com/WayneKeenan/python-bleson</a>', b'who': 'WayneKeenan <<a href="mailto:wayne.keenan@gmail.com">wayne.keenan@gmail.com</a>>'},) and {}</font></div><div><font face="monospace, monospace">2017-11-28 18:03:33+0000 [Broker,2,192.168.2.11] Peer will receive following PB traceback:</font></div><div><font face="monospace, monospace">2017-11-28 18:03:33+0000 [Broker,2,192.168.2.11] Unhandled Error</font></div><div><font face="monospace, monospace"><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>Traceback (most recent call last):</font></div><div><font face="monospace, monospace"><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>  File "/opt/thebubbleworks/rogue1/pyenv/rogue1_buildbot_master_env/lib/python3.5/site-packages/twisted/spread/banana.py", line 173, in gotItem</font></div><div><font face="monospace, monospace"><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>    self.callExpressionReceived(item)</font></div><div><font face="monospace, monospace"><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>  File "/opt/thebubbleworks/rogue1/pyenv/rogue1_buildbot_master_env/lib/python3.5/site-packages/twisted/spread/banana.py", line 136, in callExpressionReceived</font></div><div><font face="monospace, monospace"><span class="gmail-Apple-tab-span" style="white-space:pre">       </span>    self.expressionReceived(obj)</font></div><div><font face="monospace, monospace"><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>  File "/opt/thebubbleworks/rogue1/pyenv/rogue1_buildbot_master_env/lib/python3.5/site-packages/twisted/spread/pb.py", line 621, in expressionReceived</font></div><div><font face="monospace, monospace"><span class="gmail-Apple-tab-span" style="white-space:pre">       </span>    method(*sexp[1:])</font></div><div><font face="monospace, monospace"><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>  File "/opt/thebubbleworks/rogue1/pyenv/rogue1_buildbot_master_env/lib/python3.5/site-packages/twisted/spread/pb.py", line 1025, in proto_message</font></div><div><font face="monospace, monospace"><span class="gmail-Apple-tab-span" style="white-space:pre">   </span>    self._recvMessage(self.localObjectForID, requestID, objectID, message, answerRequired, netArgs, netKw)</font></div><div><font face="monospace, monospace"><span class="gmail-Apple-tab-span" style="white-space:pre">    </span>--- <exception caught here> ---</font></div><div><font face="monospace, monospace"><span class="gmail-Apple-tab-span" style="white-space:pre">   </span>  File "/opt/thebubbleworks/rogue1/pyenv/rogue1_buildbot_master_env/lib/python3.5/site-packages/twisted/spread/pb.py", line 1054, in _recvMessage</font></div><div><font face="monospace, monospace"><span class="gmail-Apple-tab-span" style="white-space:pre">    </span>    netResult = object.remoteMessageReceived(self, message, netArgs, netKw)</font></div><div><font face="monospace, monospace"><span class="gmail-Apple-tab-span" style="white-space:pre">   </span>  File "/opt/thebubbleworks/rogue1/pyenv/rogue1_buildbot_master_env/lib/python3.5/site-packages/twisted/spread/pb.py", line 245, in perspectiveMessageReceived</font></div><div><font face="monospace, monospace"><span class="gmail-Apple-tab-span" style="white-space:pre">       </span>    state = method(*args, **kw)</font></div><div><font face="monospace, monospace"><span class="gmail-Apple-tab-span" style="white-space:pre">       </span>  File "/opt/thebubbleworks/rogue1/pyenv/rogue1_buildbot_master_env/lib/python3.5/site-packages/buildbot/changes/pb.py", line 94, in perspective_addChange</font></div><div><font face="monospace, monospace"><span class="gmail-Apple-tab-span" style="white-space:pre">   </span>    d = self.master.data.updates.addChange(**changedict)</font></div><div><font face="monospace, monospace"><span class="gmail-Apple-tab-span" style="white-space:pre">      </span>builtins.TypeError: unwindGenerator() keywords must be strings</font></div></div><div><br></div><div><br></div><div><br></div><div><div>github_buildbot script output:</div></div><div><br></div><div><br></div><div><div><font face="monospace, monospace">2017-11-28 18:03:32,738 - DEBUG - X-GitHub-Event: 'push'</font></div><div><font face="monospace, monospace">2017-11-28 18:03:32,738 - DEBUG - Payload: {u'forced': False, u'compare': u'<a href="https://github.com/WayneKeenan/python-bleson/commit/affde813ee95">https://github.com/WayneKeenan/python-bleson/commit/affde813ee95</a>', u'pusher': {u'name': u'WayneKeenan', u'email': <a href="mailto:u%27WayneKeenan@users.noreply.github.com">u'WayneKeenan@users.noreply.github.com</a>'}, u'sender': {u'following_url': u'<a href="https://api.github.com/users/WayneKeenan/following{/other_user}">https://api.github.com/users/WayneKeenan/following{/other_user}</a>', u'events_url': u'<a href="https://api.github.com/users/WayneKeenan/events{/privacy}">https://api.github.com/users/WayneKeenan/events{/privacy}</a>', u'organizations_url': u'<a href="https://api.github.com/users/WayneKeenan/orgs">https://api.github.com/users/WayneKeenan/orgs</a>', u'url': u'<a href="https://api.github.com/users/WayneKeenan">https://api.github.com/users/WayneKeenan</a>', u'gists_url': u'<a href="https://api.github.com/users/WayneKeenan/gists{/gist_id}">https://api.github.com/users/WayneKeenan/gists{/gist_id}</a>', u'html_url': u'<a href="https://github.com/WayneKeenan">https://github.com/WayneKeenan</a>', u'subscriptions_url': u'<a href="https://api.github.com/users/WayneKeenan/subscriptions">https://api.github.com/users/WayneKeenan/subscriptions</a>', u'avatar_url': u'<a href="https://avatars3.githubusercontent.com/u/8313142?v=4">https://avatars3.githubusercontent.com/u/8313142?v=4</a>', u'repos_url': u'<a href="https://api.github.com/users/WayneKeenan/repos">https://api.github.com/users/WayneKeenan/repos</a>', u'received_events_url': u'<a href="https://api.github.com/users/WayneKeenan/received_events">https://api.github.com/users/WayneKeenan/received_events</a>', u'gravatar_id': u'', u'starred_url': u'<a href="https://api.github.com/users/WayneKeenan/starred{/owner}{/repo}">https://api.github.com/users/WayneKeenan/starred{/owner}{/repo}</a>', u'site_admin': False, u'login': u'WayneKeenan', u'type': u'User', u'id': 8313142, u'followers_url': u'<a href="https://api.github.com/users/WayneKeenan/followers'">https://api.github.com/users/WayneKeenan/followers'</a>}, u'repository': {u'issues_url': u'<a href="https://api.github.com/repos/WayneKeenan/python-bleson/issues{/number}">https://api.github.com/repos/WayneKeenan/python-bleson/issues{/number}</a>', u'deployments_url': u'<a href="https://api.github.com/repos/WayneKeenan/python-bleson/deployments">https://api.github.com/repos/WayneKeenan/python-bleson/deployments</a>', u'stargazers_count': 0, u'forks_url': u'<a href="https://api.github.com/repos/WayneKeenan/python-bleson/forks">https://api.github.com/repos/WayneKeenan/python-bleson/forks</a>', u'mirror_url': None, u'subscription_url': u'<a href="https://api.github.com/repos/WayneKeenan/python-bleson/subscription">https://api.github.com/repos/WayneKeenan/python-bleson/subscription</a>', u'notifications_url': u'<a href="https://api.github.com/repos/WayneKeenan/python-bleson/notifications{?since,all,participating}">https://api.github.com/repos/WayneKeenan/python-bleson/notifications{?since,all,participating}</a>', u'collaborators_url': u'<a href="https://api.github.com/repos/WayneKeenan/python-bleson/collaborators{/collaborator}">https://api.github.com/repos/WayneKeenan/python-bleson/collaborators{/collaborator}</a>', u'updated_at': u'2017-11-27T12:39:22Z', u'private': False, u'pulls_url': u'<a href="https://api.github.com/repos/WayneKeenan/python-bleson/pulls{/number}">https://api.github.com/repos/WayneKeenan/python-bleson/pulls{/number}</a>', u'issue_comment_url': u'<a href="https://api.github.com/repos/WayneKeenan/python-bleson/issues/comments{/number}">https://api.github.com/repos/WayneKeenan/python-bleson/issues/comments{/number}</a>', u'labels_url': u'<a href="https://api.github.com/repos/WayneKeenan/python-bleson/labels{/name}">https://api.github.com/repos/WayneKeenan/python-bleson/labels{/name}</a>', u'has_wiki': True, u'full_name': u'WayneKeenan/python-bleson', u'owner': {u'following_url': u'<a href="https://api.github.com/users/WayneKeenan/following{/other_user}">https://api.github.com/users/WayneKeenan/following{/other_user}</a>', u'events_url': u'<a href="https://api.github.com/users/WayneKeenan/events{/privacy}">https://api.github.com/users/WayneKeenan/events{/privacy}</a>', u'name': u'WayneKeenan', u'organizations_url': u'<a href="https://api.github.com/users/WayneKeenan/orgs">https://api.github.com/users/WayneKeenan/orgs</a>', u'url': u'<a href="https://api.github.com/users/WayneKeenan">https://api.github.com/users/WayneKeenan</a>', u'gists_url': u'<a href="https://api.github.com/users/WayneKeenan/gists{/gist_id}">https://api.github.com/users/WayneKeenan/gists{/gist_id}</a>', u'subscriptions_url': u'<a href="https://api.github.com/users/WayneKeenan/subscriptions">https://api.github.com/users/WayneKeenan/subscriptions</a>', u'html_url': u'<a href="https://github.com/WayneKeenan">https://github.com/WayneKeenan</a>', u'email': <a href="mailto:u%27WayneKeenan@users.noreply.github.com">u'WayneKeenan@users.noreply.github.com</a>', u'avatar_url': u'<a href="https://avatars3.githubusercontent.com/u/8313142?v=4">https://avatars3.githubusercontent.com/u/8313142?v=4</a>', u'repos_url': u'<a href="https://api.github.com/users/WayneKeenan/repos">https://api.github.com/users/WayneKeenan/repos</a>', u'received_events_url': u'<a href="https://api.github.com/users/WayneKeenan/received_events">https://api.github.com/users/WayneKeenan/received_events</a>', u'gravatar_id': u'', u'starred_url': u'<a href="https://api.github.com/users/WayneKeenan/starred{/owner}{/repo}">https://api.github.com/users/WayneKeenan/starred{/owner}{/repo}</a>', u'site_admin': False, u'login': u'WayneKeenan', u'type': u'User', u'id': 8313142, u'followers_url': u'<a href="https://api.github.com/users/WayneKeenan/followers'">https://api.github.com/users/WayneKeenan/followers'</a>}, u'statuses_url': u'<a href="https://api.github.com/repos/WayneKeenan/python-bleson/statuses/{sha}">https://api.github.com/repos/WayneKeenan/python-bleson/statuses/{sha}</a>', u'id': 112194649, u'keys_url': u'<a href="https://api.github.com/repos/WayneKeenan/python-bleson/keys{/key_id}">https://api.github.com/repos/WayneKeenan/python-bleson/keys{/key_id}</a>', u'description': u'Python Bluetooth LE Module', u'tags_url': u'<a href="https://api.github.com/repos/WayneKeenan/python-bleson/tags">https://api.github.com/repos/WayneKeenan/python-bleson/tags</a>', u'archived': False, u'downloads_url': u'<a href="https://api.github.com/repos/WayneKeenan/python-bleson/downloads">https://api.github.com/repos/WayneKeenan/python-bleson/downloads</a>', u'assignees_url': u'<a href="https://api.github.com/repos/WayneKeenan/python-bleson/assignees{/user}">https://api.github.com/repos/WayneKeenan/python-bleson/assignees{/user}</a>', u'contents_url': u'<a href="https://api.github.com/repos/WayneKeenan/python-bleson/contents/{+path}">https://api.github.com/repos/WayneKeenan/python-bleson/contents/{+path}</a>', u'has_pages': False, u'git_refs_url': u'<a href="https://api.github.com/repos/WayneKeenan/python-bleson/git/refs{/sha}">https://api.github.com/repos/WayneKeenan/python-bleson/git/refs{/sha}</a>', u'open_issues_count': 1, u'has_projects': True, u'clone_url': u'<a href="https://github.com/WayneKeenan/python-bleson.git">https://github.com/WayneKeenan/python-bleson.git</a>', u'watchers_count': 0, u'git_tags_url': u'<a href="https://api.github.com/repos/WayneKeenan/python-bleson/git/tags{/sha}">https://api.github.com/repos/WayneKeenan/python-bleson/git/tags{/sha}</a>', u'milestones_url': u'<a href="https://api.github.com/repos/WayneKeenan/python-bleson/milestones{/number}">https://api.github.com/repos/WayneKeenan/python-bleson/milestones{/number}</a>', u'languages_url': u'<a href="https://api.github.com/repos/WayneKeenan/python-bleson/languages">https://api.github.com/repos/WayneKeenan/python-bleson/languages</a>', u'size': 91, u'homepage': u'<a href="https://groups.google.com/group/python-bleson">https://groups.google.com/group/python-bleson</a>', u'fork': True, u'commits_url': u'<a href="https://api.github.com/repos/WayneKeenan/python-bleson/commits{/sha}">https://api.github.com/repos/WayneKeenan/python-bleson/commits{/sha}</a>', u'releases_url': u'<a href="https://api.github.com/repos/WayneKeenan/python-bleson/releases{/id}">https://api.github.com/repos/WayneKeenan/python-bleson/releases{/id}</a>', u'issue_events_url': u'<a href="https://api.github.com/repos/WayneKeenan/python-bleson/issues/events{/number}">https://api.github.com/repos/WayneKeenan/python-bleson/issues/events{/number}</a>', u'archive_url': u'<a href="https://api.github.com/repos/WayneKeenan/python-bleson/{archive_format}{/ref}">https://api.github.com/repos/WayneKeenan/python-bleson/{archive_format}{/ref}</a>', u'comments_url': u'<a href="https://api.github.com/repos/WayneKeenan/python-bleson/comments{/number}">https://api.github.com/repos/WayneKeenan/python-bleson/comments{/number}</a>', u'events_url': u'<a href="https://api.github.com/repos/WayneKeenan/python-bleson/events">https://api.github.com/repos/WayneKeenan/python-bleson/events</a>', u'contributors_url': u'<a href="https://api.github.com/repos/WayneKeenan/python-bleson/contributors">https://api.github.com/repos/WayneKeenan/python-bleson/contributors</a>', u'html_url': u'<a href="https://github.com/WayneKeenan/python-bleson">https://github.com/WayneKeenan/python-bleson</a>', u'forks': 0, u'compare_url': u'<a href="https://api.github.com/repos/WayneKeenan/python-bleson/compare/{base}...{head}">https://api.github.com/repos/WayneKeenan/python-bleson/compare/{base}...{head}</a>', u'open_issues': 1, u'git_url': u'git://<a href="http://github.com/WayneKeenan/python-bleson.git">github.com/WayneKeenan/python-bleson.git</a>', u'svn_url': u'<a href="https://github.com/WayneKeenan/python-bleson">https://github.com/WayneKeenan/python-bleson</a>', u'merges_url': u'<a href="https://api.github.com/repos/WayneKeenan/python-bleson/merges">https://api.github.com/repos/WayneKeenan/python-bleson/merges</a>', u'has_issues': False, u'ssh_url': u'git@github.com:WayneKeenan/python-bleson.git', u'blobs_url': u'<a href="https://api.github.com/repos/WayneKeenan/python-bleson/git/blobs{/sha}">https://api.github.com/repos/WayneKeenan/python-bleson/git/blobs{/sha}</a>', u'master_branch': u'master', u'git_commits_url': u'<a href="https://api.github.com/repos/WayneKeenan/python-bleson/git/commits{/sha}">https://api.github.com/repos/WayneKeenan/python-bleson/git/commits{/sha}</a>', u'hooks_url': u'<a href="https://api.github.com/repos/WayneKeenan/python-bleson/hooks">https://api.github.com/repos/WayneKeenan/python-bleson/hooks</a>', u'has_downloads': True, u'watchers': 0, u'name': u'python-bleson', u'language': u'Python', u'url': u'<a href="https://github.com/WayneKeenan/python-bleson">https://github.com/WayneKeenan/python-bleson</a>', u'stargazers': 0, u'created_at': 1511786360, u'pushed_at': 1511892212, u'forks_count': 0, u'default_branch': u'master', u'teams_url': u'<a href="https://api.github.com/repos/WayneKeenan/python-bleson/teams">https://api.github.com/repos/WayneKeenan/python-bleson/teams</a>', u'trees_url': u'<a href="https://api.github.com/repos/WayneKeenan/python-bleson/git/trees{/sha}">https://api.github.com/repos/WayneKeenan/python-bleson/git/trees{/sha}</a>', u'branches_url': u'<a href="https://api.github.com/repos/WayneKeenan/python-bleson/branches{/branch}">https://api.github.com/repos/WayneKeenan/python-bleson/branches{/branch}</a>', u'subscribers_url': u'<a href="https://api.github.com/repos/WayneKeenan/python-bleson/subscribers">https://api.github.com/repos/WayneKeenan/python-bleson/subscribers</a>', u'stargazers_url': u'<a href="https://api.github.com/repos/WayneKeenan/python-bleson/stargazers'">https://api.github.com/repos/WayneKeenan/python-bleson/stargazers'</a>}, u'created': True, u'deleted': False, u'commits': [{u'committer': {u'username': u'WayneKeenan', u'name': u'Wayne Keenan', u'email': <a href="mailto:u%27wayne.keenan@gmail.com">u'wayne.keenan@gmail.com</a>'}, u'added': [], u'author': {u'username': u'WayneKeenan', u'name': u'Wayne Keenan', u'email': <a href="mailto:u%27wayne.keenan@gmail.com">u'wayne.keenan@gmail.com</a>'}, u'distinct': True, u'timestamp': u'2017-11-28T18:03:25Z', u'modified': [u'tox.ini'], u'url': u'<a href="https://github.com/WayneKeenan/python-bleson/commit/affde813ee952817f383e4d47334f3492cd8cce6">https://github.com/WayneKeenan/python-bleson/commit/affde813ee952817f383e4d47334f3492cd8cce6</a>', u'tree_id': u'be4c150b4ef8b3cc7e35dc191f45d35ffe118b29', u'message': u'test', u'removed': [], u'id': u'affde813ee952817f383e4d47334f3492cd8cce6'}], u'after': u'affde813ee952817f383e4d47334f3492cd8cce6', u'head_commit': {u'committer': {u'username': u'WayneKeenan', u'name': u'Wayne Keenan', u'email': <a href="mailto:u%27wayne.keenan@gmail.com">u'wayne.keenan@gmail.com</a>'}, u'added': [], u'author': {u'username': u'WayneKeenan', u'name': u'Wayne Keenan', u'email': <a href="mailto:u%27wayne.keenan@gmail.com">u'wayne.keenan@gmail.com</a>'}, u'distinct': True, u'timestamp': u'2017-11-28T18:03:25Z', u'modified': [u'tox.ini'], u'url': u'<a href="https://github.com/WayneKeenan/python-bleson/commit/affde813ee952817f383e4d47334f3492cd8cce6">https://github.com/WayneKeenan/python-bleson/commit/affde813ee952817f383e4d47334f3492cd8cce6</a>', u'tree_id': u'be4c150b4ef8b3cc7e35dc191f45d35ffe118b29', u'message': u'test', u'removed': [], u'id': u'affde813ee952817f383e4d47334f3492cd8cce6'}, u'installation': {u'id': 70175}, u'ref': u'refs/heads/test16', u'base_ref': None, u'before': u'0000000000000000000000000000000000000000'}</font></div><div><font face="monospace, monospace">2017-11-28 18:03:33,070 - DEBUG - addChange <twisted.spread.pb.RemoteReference instance at 0x10cb64908>, <listiterator object at 0x10cb09f10></font></div><div><font face="monospace, monospace">2017-11-28 18:03:33,070 - INFO - New revision: affde813</font></div><div><font face="monospace, monospace">2017-11-28 18:03:33,071 - DEBUG -   files: [u'tox.ini']</font></div><div><font face="monospace, monospace">2017-11-28 18:03:33,071 - DEBUG -   project: WayneKeenan/python-bleson</font></div><div><font face="monospace, monospace">2017-11-28 18:03:33,071 - DEBUG -   branch: test16</font></div><div><font face="monospace, monospace">2017-11-28 18:03:33,071 - DEBUG -   repository: <a href="https://github.com/WayneKeenan/python-bleson">https://github.com/WayneKeenan/python-bleson</a></font></div><div><font face="monospace, monospace">2017-11-28 18:03:33,071 - DEBUG -   who: WayneKeenan <<a href="mailto:wayne.keenan@gmail.com">wayne.keenan@gmail.com</a>></font></div><div><font face="monospace, monospace">2017-11-28 18:03:33,071 - DEBUG -   revlink: <a href="https://github.com/WayneKeenan/python-bleson/commit/affde813ee952817f383e4d47334f3492cd8cce6">https://github.com/WayneKeenan/python-bleson/commit/affde813ee952817f383e4d47334f3492cd8cce6</a></font></div><div><font face="monospace, monospace">2017-11-28 18:03:33,071 - DEBUG -   comments: test</font></div><div><font face="monospace, monospace">2017-11-28 18:03:33,071 - DEBUG -   revision: affde813ee952817f383e4d47334f3492cd8cce6</font></div><div><font face="monospace, monospace">Unhandled error in Deferred:</font></div></div><div><font face="monospace, monospace"><br></font></div><div><br></div><div>Has something changed or am I missing a config step?</div><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Thanks,</div><div>Wayne <br></div><div><br></div><div style="text-align:center"><br></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>