Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 103360
Summary: | redhat-logviewer fails to start without WARNINGWORDS in config file | ||
---|---|---|---|
Product: | [Retired] Red Hat Raw Hide | Reporter: | Daniel Malmgren <dm> |
Component: | redhat-logviewer | Assignee: | Tammy Fox <tammy.c.fox> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 1.0 | CC: | brian |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 0.9.3 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-09-11 02:28:27 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 100643 |
Description
Daniel Malmgren
2003-08-29 10:39:15 UTC
I get nearly the same bug - my error output from the cmdline: redhat-logviewer unable to translate from iso-8859-1 utf-8 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 122, 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 117, in insert_into_buffer_at_offset self.insert(iter, line, -1) TypeError: GtkTextBuffer.insert() argument 2 must be string without null bytes, not str The second traceback is not the same as the first. Brian, please file a different bug and attached your /etc/sysconfig/redhat-logviewer file. Daniel, please attach your /etc/sysconfig/redhat-logviewer file to this bug. Hmmm... When I was about to attach the /etc/sysconfig/redhat-logviewer I discovered that I also had a /etc/sysconfig/redhat-logviewer.rpmnew. Renamed that one to redhat-logviewer and now it works. Seems the difference between the files is that the line with WARNINGWORDS doesn't exist in the old file. So now you know what was wrong. Maybe the program should be able to operate without that line though? Yes. It should start without that line. I will fix it and get back to you. Thanks for the report. Version 0.9.3-2 should appear in Rawhide shortly to fix this. I also fixed it so it does not traceback of ALERTWORDS= doesn't exist in the prefs file. |