Red Hat Bugzilla – Bug 74211
redhat-logviewer doesn't work
Last modified: 2008-05-01 11:38:03 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020809
Description of problem:
I tried to start System Logs from Gnome menu without success. Then I tried to
launch directly the binary /usr/bin/redhat-logviewer and I understood something
might be wrong, see below in additional info what I got on the terminal.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.try to start /usr/bin/redhat-logviewer
Traceback (most recent call last):
File "/usr/share/redhat-logviewer/redhat-logviewer.py", line 30, in ?
File "/usr/share/redhat-logviewer/LogViewerGui.py", line 123, in ?
sysClass = LogFileClass.LogFileClass("SYSLOG")
File "/usr/share/redhat-logviewer/LogFileClass.py", line 69, in __init__
File "/usr/share/redhat-logviewer/LogFileClass.py", line 119, in read_log
File "/usr/share/redhat-logviewer/LogBuffer.py", line 57, in
self.insert(iter, unicode(new_line,'utf-8'), -1)
UnicodeError: UTF-8 decoding error: unexpected code byte
The same for me. One possible reason are the timestamps in log messages. They
are for some reason localized and get munged along the way, at least for
This is fixed in the latest rawhide version.
*** This bug has been marked as a duplicate of 71876 ***