{"action":"opened","number":15008,"pull_request":{"url":"https://api.github.com/repos/ansible/ansible/pulls/15008","id":63134701,"html_url":"https://github.com/ansible/ansible/pull/15008","diff_url":"https://github.com/ansible/ansible/pull/15008.diff","patch_url":"https://github.com/ansible/ansible/pull/15008.patch","issue_url":"https://api.github.com/repos/ansible/ansible/issues/15008","number":15008,"state":"open","locked":false,"title":"fix TypeError: coercing to Unicode: need string or buffer, AnsiblePar…","user":{"login":"qqo","id":6430316,"avatar_url":"https://avatars.githubusercontent.com/u/6430316?v=3","gravatar_id":"","url":"https://api.github.com/users/qqo","html_url":"https://github.com/qqo","followers_url":"https://api.github.com/users/qqo/followers","following_url":"https://api.github.com/users/qqo/following{/other_user}","gists_url":"https://api.github.com/users/qqo/gists{/gist_id}","starred_url":"https://api.github.com/users/qqo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qqo/subscriptions","organizations_url":"https://api.github.com/users/qqo/orgs","repos_url":"https://api.github.com/users/qqo/repos","events_url":"https://api.github.com/users/qqo/events{/privacy}","received_events_url":"https://api.github.com/users/qqo/received_events","type":"User","site_admin":false},"body":"##### Issue Type:\r\n\r\n - Bugfix Pull Request\r\n\r\n##### Ansible Version:\r\n\r\nansible 2.0.1.0\r\n\r\n##### Summary:\r\n\r\nThis fixes exception that prevented to view the exact syntax error in playbook. My vim also catched the extra whitespace, sorry for that.\r\n\r\nFull trace:\r\n\r\nERROR! Unexpected Exception: coercing to Unicode: need string or buffer, AnsibleParserError found\r\nthe full traceback was:\r\n\r\nTraceback (most recent call last):\r\n  File \"/usr/bin/ansible-playbook\", line 86, in <module>\r\n    sys.exit(cli.run())\r\n  File \"/usr/lib/python2.7/dist-packages/ansible/cli/playbook.py\", line 150, in run\r\n    results = pbex.run()\r\n  File \"/usr/lib/python2.7/dist-packages/ansible/executor/playbook_executor.py\", line 140, in run\r\n    result = self._tqm.run(play=play)\r\n  File \"/usr/lib/python2.7/dist-packages/ansible/executor/task_queue_manager.py\", line 238, in run\r\n    play_return = strategy.run(iterator, play_context)\r\n  File \"/usr/lib/python2.7/dist-packages/ansible/plugins/strategy/linear.py\", line 334, in run\r\n    display.error(e, wrap_text=False)\r\n  File \"/usr/lib/python2.7/dist-packages/ansible/utils/display.py\", line 259, in error\r\n    new_msg = u\"ERROR! \" + msg\r\nTypeError: coercing to Unicode: need string or buffer, AnsibleParserError found\r\n\r\n\r\nA\r\n","created_at":"2016-03-16T20:58:12Z","updated_at":"2016-03-16T20:58:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ansible/ansible/pulls/15008/commits","review_comments_url":"https://api.github.com/repos/ansible/ansible/pulls/15008/comments","review_comment_url":"https://api.github.com/repos/ansible/ansible/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/15008/comments","statuses_url":"https://api.github.com/repos/ansible/ansible/statuses/d1e0719e4cd16fdd9d85dcf59a5c5c3741fa6583","head":{"label":"qqo:devel","ref":"devel","sha":"d1e0719e4cd16fdd9d85dcf59a5c5c3741fa6583","user":{"login":"qqo","id":6430316,"avatar_url":"https://avatars.githubusercontent.com/u/6430316?v=3","gravatar_id":"","url":"https://api.github.com/users/qqo","html_url":"https://github.com/qqo","followers_url":"https://api.github.com/users/qqo/followers","following_url":"https://api.github.com/users/qqo/following{/other_user}","gists_url":"https://api.github.com/users/qqo/gists{/gist_id}","starred_url":"https://api.github.com/users/qqo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qqo/subscriptions","organizations_url":"https://api.github.com/users/qqo/orgs","repos_url":"https://api.github.com/users/qqo/repos","events_url":"https://api.github.com/users/qqo/events{/privacy}","received_events_url":"https://api.github.com/users/qqo/received_events","type":"User","site_admin":false},"repo":{"id":54064704,"name":"ansible","full_name":"qqo/ansible","owner":{"login":"qqo","id":6430316,"avatar_url":"https://avatars.githubusercontent.com/u/6430316?v=3","gravatar_id":"","url":"https://api.github.com/users/qqo","html_url":"https://github.com/qqo","followers_url":"https://api.github.com/users/qqo/followers","following_url":"https://api.github.com/users/qqo/following{/other_user}","gists_url":"https://api.github.com/users/qqo/gists{/gist_id}","starred_url":"https://api.github.com/users/qqo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qqo/subscriptions","organizations_url":"https://api.github.com/users/qqo/orgs","repos_url":"https://api.github.com/users/qqo/repos","events_url":"https://api.github.com/users/qqo/events{/privacy}","received_events_url":"https://api.github.com/users/qqo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/qqo/ansible","description":"Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy. Avoid writing scripts or custom code to deploy and update your applications— automate in a language that approaches plain English, using SSH, with no agents to install on remote systems.","fork":true,"url":"https://api.github.com/repos/qqo/ansible","forks_url":"https://api.github.com/repos/qqo/ansible/forks","keys_url":"https://api.github.com/repos/qqo/ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/qqo/ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/qqo/ansible/teams","hooks_url":"https://api.github.com/repos/qqo/ansible/hooks","issue_events_url":"https://api.github.com/repos/qqo/ansible/issues/events{/number}","events_url":"https://api.github.com/repos/qqo/ansible/events","assignees_url":"https://api.github.com/repos/qqo/ansible/assignees{/user}","branches_url":"https://api.github.com/repos/qqo/ansible/branches{/branch}","tags_url":"https://api.github.com/repos/qqo/ansible/tags","blobs_url":"https://api.github.com/repos/qqo/ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/qqo/ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/qqo/ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/qqo/ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/qqo/ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/qqo/ansible/languages","stargazers_url":"https://api.github.com/repos/qqo/ansible/stargazers","contributors_url":"https://api.github.com/repos/qqo/ansible/contributors","subscribers_url":"https://api.github.com/repos/qqo/ansible/subscribers","subscription_url":"https://api.github.com/repos/qqo/ansible/subscription","commits_url":"https://api.github.com/repos/qqo/ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/qqo/ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/qqo/ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/qqo/ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/qqo/ansible/contents/{+path}","compare_url":"https://api.github.com/repos/qqo/ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/qqo/ansible/merges","archive_url":"https://api.github.com/repos/qqo/ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/qqo/ansible/downloads","issues_url":"https://api.github.com/repos/qqo/ansible/issues{/number}","pulls_url":"https://api.github.com/repos/qqo/ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/qqo/ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/qqo/ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/qqo/ansible/labels{/name}","releases_url":"https://api.github.com/repos/qqo/ansible/releases{/id}","deployments_url":"https://api.github.com/repos/qqo/ansible/deployments","created_at":"2016-03-16T20:37:33Z","updated_at":"2016-03-16T20:37:40Z","pushed_at":"2016-03-16T20:49:51Z","git_url":"git://github.com/qqo/ansible.git","ssh_url":"git@github.com:qqo/ansible.git","clone_url":"https://github.com/qqo/ansible.git","svn_url":"https://github.com/qqo/ansible","homepage":"http://ansible.com/","size":40288,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"devel"}},"base":{"label":"ansible:devel","ref":"devel","sha":"61f05c2e8d4055da4745c9b060c09beec3bb33c5","user":{"login":"ansible","id":1507452,"avatar_url":"https://avatars.githubusercontent.com/u/1507452?v=3","gravatar_id":"","url":"https://api.github.com/users/ansible","html_url":"https://github.com/ansible","followers_url":"https://api.github.com/users/ansible/followers","following_url":"https://api.github.com/users/ansible/following{/other_user}","gists_url":"https://api.github.com/users/ansible/gists{/gist_id}","starred_url":"https://api.github.com/users/ansible/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansible/subscriptions","organizations_url":"https://api.github.com/users/ansible/orgs","repos_url":"https://api.github.com/users/ansible/repos","events_url":"https://api.github.com/users/ansible/events{/privacy}","received_events_url":"https://api.github.com/users/ansible/received_events","type":"Organization","site_admin":false},"repo":{"id":3638964,"name":"ansible","full_name":"ansible/ansible","owner":{"login":"ansible","id":1507452,"avatar_url":"https://avatars.githubusercontent.com/u/1507452?v=3","gravatar_id":"","url":"https://api.github.com/users/ansible","html_url":"https://github.com/ansible","followers_url":"https://api.github.com/users/ansible/followers","following_url":"https://api.github.com/users/ansible/following{/other_user}","gists_url":"https://api.github.com/users/ansible/gists{/gist_id}","starred_url":"https://api.github.com/users/ansible/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ansible/subscriptions","organizations_url":"https://api.github.com/users/ansible/orgs","repos_url":"https://api.github.com/users/ansible/repos","events_url":"https://api.github.com/users/ansible/events{/privacy}","received_events_url":"https://api.github.com/users/ansible/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ansible/ansible","description":"Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy. Avoid writing scripts or custom code to deploy and update your applications— automate in a language that approaches plain English, using SSH, with no agents to install on remote systems.","fork":false,"url":"https://api.github.com/repos/ansible/ansible","forks_url":"https://api.github.com/repos/ansible/ansible/forks","keys_url":"https://api.github.com/repos/ansible/ansible/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ansible/ansible/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ansible/ansible/teams","hooks_url":"https://api.github.com/repos/ansible/ansible/hooks","issue_events_url":"https://api.github.com/repos/ansible/ansible/issues/events{/number}","events_url":"https://api.github.com/repos/ansible/ansible/events","assignees_url":"https://api.github.com/repos/ansible/ansible/assignees{/user}","branches_url":"https://api.github.com/repos/ansible/ansible/branches{/branch}","tags_url":"https://api.github.com/repos/ansible/ansible/tags","blobs_url":"https://api.github.com/repos/ansible/ansible/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ansible/ansible/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ansible/ansible/git/refs{/sha}","trees_url":"https://api.github.com/repos/ansible/ansible/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ansible/ansible/statuses/{sha}","languages_url":"https://api.github.com/repos/ansible/ansible/languages","stargazers_url":"https://api.github.com/repos/ansible/ansible/stargazers","contributors_url":"https://api.github.com/repos/ansible/ansible/contributors","subscribers_url":"https://api.github.com/repos/ansible/ansible/subscribers","subscription_url":"https://api.github.com/repos/ansible/ansible/subscription","commits_url":"https://api.github.com/repos/ansible/ansible/commits{/sha}","git_commits_url":"https://api.github.com/repos/ansible/ansible/git/commits{/sha}","comments_url":"https://api.github.com/repos/ansible/ansible/comments{/number}","issue_comment_url":"https://api.github.com/repos/ansible/ansible/issues/comments{/number}","contents_url":"https://api.github.com/repos/ansible/ansible/contents/{+path}","compare_url":"https://api.github.com/repos/ansible/ansible/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ansible/ansible/merges","archive_url":"https://api.github.com/repos/ansible/ansible/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ansible/ansible/downloads","issues_url":"https://api.github.com/repos/ansible/ansible/issues{/number}","pulls_url":"https://api.github.com/repos/ansible/ansible/pulls{/number}","milestones_url":"https://api.github.com/repos/ansible/ansible/milestones{/number}","notifications_url":"https://api.github.com/repos/ansible/ansible/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ansible/ansible/labels{/name}","releases_url":"https://api.github.com/repos/ansible/ansible/releases{/id}","deployments_url":"https://api.github.com/repos/ansible/ansible/deployments","created_at":"2012-03-06T14:58:02Z","updated_at":"2016-03-16T20:29:30Z","pushed_at":"2016-03-16T20:18:38Z","git_url":"git://github.com/ansible/ansible.git","ssh_url":"git@github.com:ansible/ansible.git","clone_url":"https://github.com/ansible/ansible.git","svn_url":"https://github.com/ansible/ansible","homepage":"http://ansible.com/","size":54008,"stargazers_count":15858,"watchers_count":15858,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4700,"mirror_url":null,"open_issues_count":1295,"forks":4700,"open_issues":1295,"watchers":15858,"default_branch":"devel"}},"_links":{"self":{"href":"https://api.github.com/repos/ansible/ansible/pulls/15008"},"html":{"href":"https://github.com/ansible/ansible/pull/15008"},"issue":{"href":"https://api.github.com/repos/ansible/ansible/issues/15008"},"comments":{"href":"https://api.github.com/repos/ansible/ansible/issues/15008/comments"},"review_comments":{"href":"https://api.github.com/repos/ansible/ansible/pulls/15008/comments"},"review_comment":{"href":"https://api.github.com/repos/ansible/ansible/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ansible/ansible/pulls/15008/commits"},"statuses":{"href":"https://api.github.com/repos/ansible/ansible/statuses/d1e0719e4cd16fdd9d85dcf59a5c5c3741fa6583"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}