Red Hat Bugzilla – Bug 361861
sos traceback.format_exc() not available in RHEL4 (python < 2.4)
Last modified: 2010-10-22 15:58:37 EDT
Description of problem:
When an exception occurs, this is trapped and handled behind the console via a
try.. except statement.
The traceback.format_exc() function used to do this is new in version 2.4, which
means that it is unavailable in RHEL4 - which means that if an exception occurs,
it will be printed to the foreground and not in the logs.
Exception in thread general-thread: ][00:16/06:28]
Traceback (most recent call last):
File "/usr/lib64/python2.3/threading.py", line 436, in __bootstrap
File "/usr/lib64/python2.3/threading.py", line 416, in run
File "/usr/lib/python2.3/site-packages/sos/plugintools.py", line 482,
AttributeError: 'module' object has no attribute 'format_exc'
Version-Release number of selected component (if applicable):
Steps to Reproduce:
This is merely a cosmetic bug, the problem is already fixed in upstream repository.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.