Bug 74211 - redhat-logviewer doesn't work
Summary: redhat-logviewer doesn't work
Status: CLOSED DUPLICATE of bug 71876
Alias: None
Product: Red Hat Public Beta
Classification: Retired
Component: redhat-logviewer
Version: null
Hardware: i686
OS: Linux
Target Milestone: ---
Assignee: Tammy Fox
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2002-09-17 21:54 UTC by Stiphane Lozada
Modified: 2008-05-01 15:38 UTC (History)
0 users

Clone Of:
Last Closed: 2002-09-18 01:40:21 UTC

Attachments (Terms of Use)

Description Stiphane Lozada 2002-09-17 21:54:35 UTC
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):

How reproducible:

Steps to Reproduce:
1.try to start /usr/bin/redhat-logviewer

Additional info:

Traceback (most recent call last):
  File "/usr/share/redhat-logviewer/redhat-logviewer.py", line 30, in ?
    import LogViewerGui
  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
    self.buffer.insert_into_buffer_at_offset(iter, line)
  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

Comment 1 Miloslav Trmac 2002-09-18 01:40:10 UTC
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

Comment 2 Tammy Fox 2002-09-18 21:05:35 UTC
This is fixed in the latest rawhide version. 

*** This bug has been marked as a duplicate of 71876 ***

Note You need to log in before you can comment on or make changes to this bug.