Version-Release number of selected component: yum-3.4.3-155.fc22 Additional info: reporter: libreport-2.5.0 cmdline: /usr/bin/python /bin/yum reinstall abrt-* executable: /bin/yum kernel: 4.0.0-0.rc5.git4.1.fc22.x86_64 runlevel: N 5 type: Python uid: 0 Truncated backtrace: #1 <module> in /usr/lib/python2.7/site-packages/yum/config.py:27 #2 <module> in /usr/lib/python2.7/site-packages/yum/__init__.py:59 #3 <module> in /bin/yum:4
Created attachment 1008887 [details] File: backtrace
Created attachment 1008888 [details] File: environ
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.
A similar situation in Fedora 31. After loading the OS, python applications do not start. # dnf Traceback (most recent call last): File "/bin/dnf", line 57, in <module> from dnf.cli import main File "/usr/lib/python3.7/site-packages/dnf/__init__.py", line 30, in <module> import dnf.base File "/usr/lib/python3.7/site-packages/dnf/base.py", line 45, in <module> import dnf.conf.read File "/usr/lib/python3.7/site-packages/dnf/conf/read.py", line 27, in <module> import dnf.repo File "/usr/lib/python3.7/site-packages/dnf/repo.py", line 32, in <module> import dnf.logging File "/usr/lib/python3.7/site-packages/dnf/logging.py", line 29, in <module> import logging.handlers File "/usr/lib64/python3.7/logging/handlers.py", line 26, in <module> import logging, socket, os, pickle, struct, time, re File "<frozen importlib._bootstrap>", line 983, in _find_and_load File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 677, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 724, in exec_module File "<frozen importlib._bootstrap_external>", line 857, in get_code File "<frozen importlib._bootstrap_external>", line 525, in _compile_bytecode ValueError: bad marshal data (unknown type code) Fixed by deleting all files in directory "/usr/lib64/python3.7/__pycache__"