From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4b) Gecko/20030509 Description of problem: redhat-logviewer-0.9.0-2 fails to load with the following error message: unable to translate from iso-8859-1 utf-8 Traceback (most recent call last): File "/usr/share/redhat-logviewer/redhat-logviewer.py", line 75, in ? LogViewerGui.LogViewerGui(width,height, allowConfigChanges, configFile) File "/usr/share/redhat-logviewer/LogViewerGui.py", line 162, in __init__ self.initial_read_of_file() File "/usr/share/redhat-logviewer/LogViewerGui.py", line 329, in initial_read_of_file logClassInstance = LogFileClass.LogFileClass(key) File "/usr/share/redhat-logviewer/LogFileClass.py", line 74, in __init__ self.read_log(self.prefName) File "/usr/share/redhat-logviewer/LogFileClass.py", line 140, in read_log self.buffer.insert_into_buffer_at_offset(iter, line) File "/usr/share/redhat-logviewer/LogBuffer.py", line 122, in insert_into_buffer_at_offset errorMessage = _("Unable to read log file with proper encoding.") NameError: global name '_' is not defined Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.start redhat-logviewer 2.redhat-logviewer fails to load 3. Actual Results: redhat-logviewer failed to load. Expected Results: redhat-logviewer would have loaded successfully. Additional info: I suspect that pygtk2-1.99.16-1/2 is causing the failure, as redhat-logviewer successfully loaded before I upgraded pygtk2.
Yep. It looks like the number of arguments expected by GtkTextBuffer.insert() has changed.
A fix has been added to pygtk2-1.99.16-3 so it doesn't traceback. Instead, it says that the length argument has been deprecated. It will appear in rawhide soon. I'll remove the length argument in redhat-logviewer the next time I rebuild it.
*** Bug 97158 has been marked as a duplicate of this bug. ***