FS#63799 - [ansible] 2.8.5-1 encode character issue with german ö
Attached to Project:
Community Packages
Opened by Christian (offlinehoster) - Tuesday, 17 September 2019, 09:34 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 10 November 2019, 11:49 GMT
Opened by Christian (offlinehoster) - Tuesday, 17 September 2019, 09:34 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 10 November 2019, 11:49 GMT
|
Details
Description: DeprecationWarning: the imp module is
deprecated in favour of importlib; see the module's
documentation for alternative uses\n import imp\nTraceback
Additional info: * 2.8.5-1 Steps to reproduce: current installed ansible is failin for the mail.py module address.encode('ascii')\nUnicodeEncodeError: 'ascii' codec can't encode character |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Sunday, 10 November 2019, 11:49 GMT
Reason for closing: No response
Sunday, 10 November 2019, 11:49 GMT
Reason for closing: No response
Comment by
Christian (offlinehoster) -
Tuesday, 17 September 2019, 09:42 GMT
Comment by
Sven-Hendrik Haase (Svenstaro) -
Sunday, 03 November 2019, 21:54 GMT
fatal: [127.0.0.1 -> localhost]: FAILED! => {"changed":
false, "module_stderr":
"/home/christians/.ansible/tmp/ansible-tmp-1568712399.4514673-7155446068166/AnsiballZ_mail.py:18:
DeprecationWarning: the imp module is deprecated in favour of
importlib; see the module's documentation for alternative uses\n
import imp\nTraceback (most recent call last):\n File
\"/home/christians/.ansible/tmp/ansible-tmp-1568712399.4514673-7155446068166/AnsiballZ_mail.py\",
line 114, in <module>\n _ansiballz_main()\n File
\"/home/christians/.ansible/tmp/ansible-tmp-1568712399.4514673-7155446068166/AnsiballZ_mail.py\",
line 106, in _ansiballz_main\n invoke_module(zipped_mod,
temp_path, ANSIBALLZ_PARAMS)\n File
\"/home/christians/.ansible/tmp/ansible-tmp-1568712399.4514673-7155446068166/AnsiballZ_mail.py\",
line 49, in invoke_module\n imp.load_module('__main__', mod,
module, MOD_DESC)\n File \"/usr/lib/python3.7/imp.py\", line 234,
in load_module\n return load_source(name, filename, file)\n File
\"/usr/lib/python3.7/imp.py\", line 169, in load_source\n module =
_exec(spec, sys.modules[name])\n File \"<frozen
importlib._bootstrap>\", line 630, in _exec\n File \"<frozen
importlib._bootstrap_external>\", line 728, in exec_module\n
File \"<frozen importlib._bootstrap>\", line 219, in
_call_with_frames_removed\n File
\"/tmp/ansible_mail_payload_7og_m5l_/__main__.py\", line 397, in
<module>\n File
\"/tmp/ansible_mail_payload_7og_m5l_/__main__.py\", line 351, in
main\n File \"/usr/lib/python3.7/email/utils.py\", line 91, in
formataddr\n address.encode('ascii')\nUnicodeEncodeError: 'ascii'
codec can't encode character '\\xf6' in position 8: ordinal not in
range(128)\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee
stdout/stderr for the exact error", "rc": 1}
Please test 2.9.0. Does this still occur? Is there an upstream
issue tracking this?