MrMEEE / awx-build

144 stars 39 forks source link

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe7 in position 333: invalid continuation byte. #301

Closed gmanera closed 2 years ago

gmanera commented 3 years ago

Hello Guys,

Greetings from Brazil.

When I run the following task using Ansible / AWX-RPM, I'm facing the error message: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe7 in position 333: invalid continuation byte.

Task:

Output of the error message:

Jan 19 09:24:30 ansible-unj scl: 2021-01-19 12:24:30,209 ERROR awx.main.tasks job 915 (running) Exception occurred while running task Jan 19 09:24:30 ansible-unj scl: Traceback (most recent call last): Jan 19 09:24:30 ansible-unj scl: File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/awx/main/tasks.py", line 1404, in run Jan 19 09:24:30 ansible-unj scl: res = ansible_runner.interface.run(**params) Jan 19 09:24:30 ansible-unj scl: File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/ansible_runner/interface.py", line 178, in run Jan 19 09:24:30 ansible-unj scl: r.run() Jan 19 09:24:30 ansible-unj scl: File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/ansiblerunner/runner.py", line 205, in run Jan 19 09:24:30 ansible-unj scl: searchwindowsize=100) Jan 19 09:24:30 ansible-unj scl: File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pexpect/spawnbase.py", line 341, in expect Jan 19 09:24:30 ansible-unj scl: timeout, searchwindowsize, async) Jan 19 09:24:30 ansible-unj scl: File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pexpect/spawnbase.py", line 369, in expect_list Jan 19 09:24:30 ansible-unj scl: return exp.expect_loop(timeout) Jan 19 09:24:30 ansible-unj scl: File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pexpect/expect.py", line 111, in expect_loop Jan 19 09:24:30 ansible-unj scl: incoming = spawn.read_nonblocking(spawn.maxread, timeout) Jan 19 09:24:30 ansible-unj scl: File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pexpect/pty_spawn.py", line 500, in read_nonblocking Jan 19 09:24:30 ansible-unj scl: return super(spawn, self).read_nonblocking(size) Jan 19 09:24:30 ansible-unj scl: File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/pexpect/spawnbase.py", line 178, in read_nonblocking Jan 19 09:24:30 ansible-unj scl: s = self._decoder.decode(s, final=False) Jan 19 09:24:30 ansible-unj scl: File "/opt/rh/rh-python36/root/usr/lib64/python3.6/codecs.py", line 321, in decode Jan 19 09:24:30 ansible-unj scl: (result, consumed) = self._buffer_decode(data, self.errors, final) Jan 19 09:24:30 ansible-unj scl: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe7 in position 333: invalid continuation byte

image

AWX: ansible-awx-9.3.0.104-1.el7.x86_64 Ansible: rh-python36-ansible-2.9.6-1.noarch

MrMEEE commented 2 years ago

Project has been updated and moved...

Please move to the new version and report any issues

PROJECT MOVED: https://github.com/miracle-as/AWX-RPM

Issues at: https://github.com/miracle-as/AWX-RPM/issues

**Install guide, tools, utilities are located at: https://awx.wiki

LinkedIn group for Questions, support, talk and more: https://www.linkedin.com/groups/13694893/