Red Hat Bugzilla – Bug 442739
unicode decode error causes traceback
Last modified: 2008-06-20 13:52:17 EDT
Description of problem:
Non-printing ascii characters in /var/log/messages cause HTS to
traceback when searching log for sections marked by tests.
Traceback (most recent call last):
File "/usr/bin/hts", line 55, in ?
success = hts.do(args)
File "/usr/share/hts/lib/hts/hardwaretest.py", line 172, in do
result = self.doCertify()
File "/usr/share/hts/lib/hts/hardwaretest.py", line 415, in doCertify
File "/usr/share/hts/lib/hts/hardwaretest.py", line 678, in saveSystemLog
contents = self.getSystemLog(test.getName())
File "/usr/share/hts/lib/hts/controller.py", line 78, in getSystemLog
UnicodeDecodeError: 'ascii' codec can't decode byte 0xa3 in position 54: ordinal
not in range(128)
Version-Release number of selected component (if applicable):
HTS 5.2 R10
Fixed HTS 5.2 R11
Would you please provide the steps to reproduce the bug? Thanks.
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.