Bug 71876 - Crashes when trying to start.
Crashes when trying to start.
Status: CLOSED RAWHIDE
Product: Red Hat Public Beta
Classification: Retired
Component: redhat-logviewer (Show other bugs)
null
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tammy Fox
:
: 74211 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-08-19 18:24 EDT by Mikael Hallendal
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-09-18 17:05:34 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
XFree86.1.log (26.04 KB, patch)
2002-08-21 16:24 EDT, Mikael Hallendal
no flags Details | Diff
boot.log (13.83 KB, text/plain)
2002-08-21 16:25 EDT, Mikael Hallendal
no flags Details
cron (1.68 KB, text/plain)
2002-08-21 16:25 EDT, Mikael Hallendal
no flags Details
dmesg (7.65 KB, text/plain)
2002-08-21 16:26 EDT, Mikael Hallendal
no flags Details
So, I'm an idiot, here they all are package in a tar ball :) (24.14 KB, application/octet-stream)
2002-08-21 16:27 EDT, Mikael Hallendal
no flags Details

  None (edit)
Description Mikael Hallendal 2002-08-19 18:24:54 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.5 (X11; Linux i686; U;) Gecko/20020809

Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Start the program.

	

Actual Results:  Crashes

Additional info:

[micke@fluffy micke]$ redhat-logviewer
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__
    self.read_log(self.prefName)
  File "/usr/share/redhat-logviewer/LogFileClass.py", line 119, in read_log
    self.buffer.insert_into_buffer_at_offset(iter, line)
  File "/usr[micke@fluffy micke]$ redhat-logviewer
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__
    self.read_log(self.prefName)
  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
insert_into_buffer_at_offset
    self.insert(iter, unicode(new_line,'utf-8'), -1)
UnicodeError: UTF-8 decoding error: unexpected code byte
/share/redhat-logviewer/LogBuffer.py", line 57, in insert_into_buffer_at_offset
    self.insert(iter, unicode(new_line,'utf-8'), -1)
UnicodeError: UTF-8 decoding error: unexpected code byte
Comment 1 Tammy Fox 2002-08-19 18:48:19 EDT
Try version 0.8.2-1 from rawhide; it should work.
Comment 2 Tammy Fox 2002-08-19 18:58:05 EDT
I also put it here: http://people.redhat.com/tfox/
Comment 3 Tammy Fox 2002-08-20 12:02:18 EDT
Also, please attach your log files so QA can verify that it is fixed.
Comment 4 Mikael Hallendal 2002-08-20 14:24:26 EDT
I'll reboot into the beta and verify this later tonight.
Comment 5 Mikael Hallendal 2002-08-21 16:23:55 EDT
Sorry I didn't get around doing it last night. Did it now instead.
As you said, it works with 0.8.2. 

Attaching the log files below.
Comment 6 Mikael Hallendal 2002-08-21 16:24:41 EDT
Created attachment 72065 [details]
XFree86.1.log
Comment 7 Mikael Hallendal 2002-08-21 16:25:16 EDT
Created attachment 72067 [details]
boot.log
Comment 8 Mikael Hallendal 2002-08-21 16:25:42 EDT
Created attachment 72068 [details]
cron
Comment 9 Mikael Hallendal 2002-08-21 16:26:17 EDT
Created attachment 72069 [details]
dmesg
Comment 10 Mikael Hallendal 2002-08-21 16:27:37 EDT
Created attachment 72071 [details]
So, I'm an idiot, here they all are package in a tar ball :)
Comment 11 Mikael Hallendal 2002-08-21 16:50:34 EDT
ok, not only am I a complete idiot, I'm also a stupid idiot :)
The file should be named logs.tar.bz2 not logs.tar.gz

Sorry about this entire mess :/
Comment 12 Tammy Fox 2002-08-22 11:24:24 EDT
Great. I'm glad it worked for you.
Comment 13 Tammy Fox 2002-09-18 17:05:28 EDT
*** Bug 74211 has been marked as a duplicate of this bug. ***
Comment 14 Tammy Fox 2002-10-16 10:43:05 EDT
I'm closing this out since the fix was confirmed by the reporter.

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