sosreport command returns UnicodeDecodeError
Issue
-
When I launch
sosreportcommand, I get an error similar to the following:UnicodeDecodeError: 'ascii' codec can't decode byte 0xa3 in position 23: ordinal not in range(128) -
The complete traceback is:
Running plugins. Please wait ... Running 1/84: abrt... ... Running 84/84: yum... Traceback (most recent call last): File "/usr/sbin/sosreport", line 25, in <module> main(sys.argv[1:]) File "/usr/lib/python2.6/site-packages/sos/sosreport.py", line 1520, in main sos.execute() File "/usr/lib/python2.6/site-packages/sos/sosreport.py", line 1495, in execute self.plain_report() File "/usr/lib/python2.6/site-packages/sos/sosreport.py", line 1242, in plain_report fd.write(str(PlainTextReport(report))) File "/usr/lib/python2.6/site-packages/sos/reporting.py", line 146, in __str__ return "\n".join(buf) UnicodeDecodeError: 'ascii' codec can't decode byte 0xa3 in position 23: ordinal not in range(128)
Environment
- Red Hat Enterprise Linux 6
- sos-3.2-x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
