Description of problem: I have the following environment variables: LC_ADDRESS=C.UTF-8 LC_COLLATE=C.UTF-8 LC_CTYPE=C.UTF-8 LC_IDENTIFICATION=C.UTF-8 LC_MEASUREMENT=en_CA.UTF-8 LC_MESSAGES=C.UTF-8 LC_MONETARY=en_CA.UTF-8 LC_NAME=C.UTF-8 LC_NUMERIC=en_CA.UTF-8 LC_PAPER=en_CA.UTF-8 LC_TELEPHONE=C.UTF-8 LC_TIME=en_CA.UTF-8 After setting everything to C.UTF-8 it works. Version-Release number of selected component: python3-ansible-lint-1:6.10.0-1.fc37 Additional info: reporter: libreport-2.17.4 cgroup: 0::/user.slice/user-1000.slice/user/app.slice/app-pycharm-576c151c26be4743b9eead383c63e8c7.scope cmdline: /usr/bin/python3 -sP /usr/bin/ansible-lint -q --parseable --format json --config-file /home/dgunchev/git/Admin-repo/ansible/common/.config/ansible-lint.yml --project-dir /tmp/4402059753490065980 /tmp/4402059753490065980/.config/ansible-lint.yml crash_function: run exception_type: subprocess.CalledProcessError executable: /usr/bin/ansible-lint interpreter: python3-3.11.2-1.fc37.x86_64 kernel: 6.2.7-200.fc37.x86_64 runlevel: N 5 type: Python3 uid: 1000 Truncated backtrace: #1 [/usr/lib64/python3.11/subprocess.py:571] run #2 [/usr/lib64/python3.11/subprocess.py:466] check_output #3 [/usr/lib/python3.11/site-packages/ansible_compat/config.py:422] __init__ #4 [/usr/lib/python3.11/site-packages/ansible_compat/runtime.py:96] __init__ #5 [/usr/lib/python3.11/site-packages/ansiblelint/app.py:48] __init__ #6 [/usr/lib/python3.11/site-packages/ansiblelint/app.py:332] get_app #7 [/usr/lib/python3.11/site-packages/ansiblelint/__main__.py:239] main #8 [/usr/lib/python3.11/site-packages/ansiblelint/__main__.py:344] _run_cli_entrypoint #9 [/usr/bin/ansible-lint:8] <module>
Created attachment 1954677 [details] File: backtrace
Created attachment 1954678 [details] File: cpuinfo
Created attachment 1954679 [details] File: environ
Created attachment 1954680 [details] File: mountinfo
Created attachment 1954681 [details] File: namespaces
Created attachment 1954682 [details] File: open_fds
PS: This was run from within PyCharm. I am running PyCharm with LC_*=C.UTF-8 and it works fine.
To reproduce this issue, we need your file /home/dgunchev/git/Admin-repo/ansible/common/.config/ansible-lint.yml Can you attache it here?
Created attachment 1971834 [details] ansible-lint.yml Attaching, sorry for the delay.
Thanks. I checked config looks good. I now checked backtrace attached here. It appears this is the issue in python-ansible-compat package See File "/usr/lib/python3.11/site-packages/ansible_compat/config.py", line 422, in __init__ config_dump = subprocess.check_output( ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.11/subprocess.py", line 466, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
*** This bug has been marked as a duplicate of bug 2213747 ***