{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/awx/issues/400","repository_url":"https://api.github.com/repos/ansible/awx","labels_url":"https://api.github.com/repos/ansible/awx/issues/400/labels{/name}","comments_url":"https://api.github.com/repos/ansible/awx/issues/400/comments","events_url":"https://api.github.com/repos/ansible/awx/issues/400/events","html_url":"https://github.com/ansible/awx/issues/400","id":264578563,"number":400,"title":"ERROR! Unexpected Exception, this is probably a bug: 'ascii' codec can't decode byte","user":{"login":"orgito","id":4852822,"avatar_url":"https://avatars3.githubusercontent.com/u/4852822?v=4","gravatar_id":"","url":"https://api.github.com/users/orgito","html_url":"https://github.com/orgito","followers_url":"https://api.github.com/users/orgito/followers","following_url":"https://api.github.com/users/orgito/following{/other_user}","gists_url":"https://api.github.com/users/orgito/gists{/gist_id}","starred_url":"https://api.github.com/users/orgito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orgito/subscriptions","organizations_url":"https://api.github.com/users/orgito/orgs","repos_url":"https://api.github.com/users/orgito/repos","events_url":"https://api.github.com/users/orgito/events{/privacy}","received_events_url":"https://api.github.com/users/orgito/received_events","type":"User","site_admin":false},"labels":[{"id":687169246,"url":"https://api.github.com/repos/ansible/awx/labels/component:api","name":"component:api","color":"fbca04","default":false},{"id":687169295,"url":"https://api.github.com/repos/ansible/awx/labels/component:ui","name":"component:ui","color":"009800","default":false},{"id":687172858,"url":"https://api.github.com/repos/ansible/awx/labels/state:needs_triage","name":"state:needs_triage","color":"A0522D","default":false},{"id":607283748,"url":"https://api.github.com/repos/ansible/awx/labels/type:bug","name":"type:bug","color":"F79F81","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-10-11T13:04:17Z","updated_at":"2017-10-11T19:17:13Z","closed_at":null,"author_association":"NONE","body":"##### ISSUE TYPE\r\n<!--- Pick one below and delete the rest: -->\r\n - Bug Report\r\n\r\n##### COMPONENT NAME\r\n<!-- Pick the area of AWX for this issue, you can have multiple, delete the rest: -->\r\n - API\r\n - UI\r\n\r\n##### SUMMARY\r\nAfter upgrading from 1.0.561 I started getting this error running any of my job templates:\r\n\r\n`ERROR! Unexpected Exception, this is probably a bug: 'ascii' codec can't decode byte 0xc3 in position 1551: ordinal not in range(128)`\r\n\r\nI tried to upgrade from every new tag since 1.0.0.588 with the same results\r\n\r\n##### ENVIRONMENT\r\n* AWX version: 1.0.1.8\r\n* AWX install method: docker on linux (official builds)\r\n* Ansible version:  X.Y.Z\r\n* Operating System: Centos 7.4\r\n* Web Browser: Chrome 60\r\n\r\n\r\n##### STEPS TO REPRODUCE\r\n\r\n1. Upgrade AWX\r\n2. Run a job template\r\n\r\n##### EXPECTED RESULTS\r\n\r\nThe job template should run as before the upgrade\r\n\r\n##### ACTUAL RESULTS\r\n\r\nThe playbook fails with the error message:\r\n\r\n`ERROR! Unexpected Exception, this is probably a bug: 'ascii' codec can't decode byte 0xc3 in position 1382: ordinal not in range(128)\r\n`\r\n\r\nThe position varies from one template to another\r\n\r\n##### ADDITIONAL INFORMATION\r\n\r\ndebug output:\r\n`\r\nIdentity added: /tmp/awx_427_Qd0YLs/credential_2 (/tmp/awx_427_Qd0YLs/credential_2)\r\n2\r\nansible-playbook 2.4.0.0\r\n3\r\n  config file = /etc/ansible/ansible.cfg\r\n4\r\n  configured module search path = [u'/var/lib/awx/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']\r\n5\r\n  ansible python module location = /usr/lib/python2.7/site-packages/ansible\r\n6\r\n  executable location = /usr/bin/ansible-playbook\r\n7\r\n  python version = 2.7.5 (default, Aug  4 2017, 00:39:18) [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)]\r\n8\r\nUsing /etc/ansible/ansible.cfg as config file\r\n9\r\nERROR! Unexpected Exception, this is probably a bug: 'ascii' codec can't decode byte 0xc3 in position 1382: ordinal not in range(128)\r\n10\r\nthe full traceback was:\r\n12\r\nTraceback (most recent call last):\r\n13\r\n  File \"/usr/bin/ansible-playbook\", line 106, in <module>\r\n14\r\n    exit_code = cli.run()\r\n15\r\n  File \"/usr/lib/python2.7/site-packages/ansible/cli/playbook.py\", line 104, in run\r\n16\r\n    loader, inventory, variable_manager = self._play_prereqs(self.options)\r\n17\r\n  File \"/usr/lib/python2.7/site-packages/ansible/cli/__init__.py\", line 784, in _play_prereqs\r\n18\r\n    inventory = InventoryManager(loader=loader, sources=options.inventory)\r\n19\r\n  File \"/usr/lib/python2.7/site-packages/ansible/inventory/manager.py\", line 144, in __init__\r\n20\r\n    self.parse_sources()\r\n21\r\n  File \"/usr/lib/python2.7/site-packages/ansible/inventory/manager.py\", line 205, in parse_sources\r\n22\r\n    parse = self.parse_source(source, cache=cache)\r\n23\r\n  File \"/usr/lib/python2.7/site-packages/ansible/inventory/manager.py\", line 280, in parse_source\r\n24\r\n    display.warning('\\n* Failed to parse %s with %s plugin: %s' % (to_native(fail['src']), fail['plugin'], to_native(fail['exc'])))\r\n25\r\n  File \"/usr/lib/python2.7/site-packages/ansible/utils/display.py\", line 220, in warning\r\n26\r\n    self.display(new_msg, color=C.COLOR_WARN, stderr=True)\r\n27\r\n  File \"/usr/lib/python2.7/site-packages/ansible/utils/display.py\", line 114, in display\r\n28\r\n    msg = stringc(msg, color)\r\n29\r\n  File \"/usr/lib/python2.7/site-packages/ansible/utils/color.py\", line 93, in stringc\r\n30\r\n    return u\"\\n\".join([u\"\\033[%sm%s\\033\" % (color_code, t) for t in text.split(u'\\n')])\r\n31\r\nUnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1382: ordinal not in range(128)\r\n`"},"comment":{"url":"https://api.github.com/repos/ansible/awx/issues/comments/335918379","html_url":"https://github.com/ansible/awx/issues/400#issuecomment-335918379","issue_url":"https://api.github.com/repos/ansible/awx/issues/400","id":335918379,"user":{"login":"jangsutsr","id":14990293,"avatar_url":"https://avatars1.githubusercontent.com/u/14990293?v=4","gravatar_id":"","url":"https://api.github.com/users/jangsutsr","html_url":"https://github.com/jangsutsr","followers_url":"https://api.github.com/users/jangsutsr/followers","following_url":"https://api.github.com/users/jangsutsr/following{/other_user}","gists_url":"https://api.github.com/users/jangsutsr/gists{/gist_id}","starred_url":"https://api.github.com/users/jangsutsr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jangsutsr/subscriptions","organizations_url":"https://api.github.com/users/jangsutsr/orgs","repos_url":"https://api.github.com/users/jangsutsr/repos","events_url":"https://api.github.com/users/jangsutsr/events{/privacy}","received_events_url":"https://api.github.com/users/jangsutsr/received_events","type":"User","site_admin":false},"created_at":"2017-10-11T19:17:13Z","updated_at":"2017-10-11T19:17:13Z","author_association":"MEMBER","body":"Could not replicate via devel environment. Probably an installer issue."}}
{"actor":{"display_login":"jangsutsr"}}