Bug 1066746

Summary: [abrt] setroubleshoot-server: signature.py:559:format_text:UnicodeDecodeError: 'utf8' codec can't decode byte 0xe6 in position 0: unexpected end of data
Product: [Fedora] Fedora Reporter: Alick Zhao <alick9188>
Component: setroubleshootAssignee: Daniel Walsh <dwalsh>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: dwalsh, mgrepl, plautrba
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/45fd3113d1453cc87be6a8ee542803e5596bb468
Whiteboard: abrt_hash:285836f2f7428b8cb20fde34c3e9efa2242fbe7a
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-08 12:26:05 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:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Alick Zhao 2014-02-19 02:32:53 UTC
Description of problem:
It happened when I was looking at a sealert window about pure-ftpd.

Version-Release number of selected component:
setroubleshoot-server-3.2.14-2.fc20

Additional info:
reporter:       libreport-2.1.12
cmdline:        /usr/bin/python -Es /usr/bin/sealert -s
dso_list:       setroubleshoot-3.2.14-2.fc20.x86_64
executable:     /usr/bin/sealert
kernel:         3.12.10-300.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
signature.py:559:format_text:UnicodeDecodeError: 'utf8' codec can't decode byte 0xe6 in position 0: unexpected end of data

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/setroubleshoot/browser.py", line 679, in on_details_button_clicked
    message = alert.format_text()
  File "/usr/lib64/python2.7/site-packages/setroubleshoot/signature.py", line 559, in format_text
    text +=  _("\nThen ") + txt[0].lower() + txt[1:]
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe6 in position 0: unexpected end of data

Local variables in innermost frame:
all: False
total_priority: 9
title: u'\n\n*****  Plugin catchall_boolean (89.3 confidence) suggests   '
i: 79
text: u'SELinux is preventing /usr/sbin/pure-ftpd from write access on the file /var/log/pureftpd.log.\n\n*****  Plugin catchall_boolean (89.3 confidence) suggests   ******************\n\nIf \u60a8\u8981 \u51b3\u5b9a ftpd \u662f\u5426\u53ef\u4ee5\u767b\u5f55\u5230\u672c\u5730\u7528\u6237\u5e76\u8bfb\u53d6\u548c\u5199\u5165\u7531 DAC \u7ba1\u7406\u7684\u7cfb\u7edf\u4e2d\u7684\u6240\u6709\u6587\u4ef6\u3002'
self: <setroubleshoot.signature.SEFaultSignatureInfo object at 0x6854410>
args: ('ftpd_full_access', '1', 'ftpd_selinux')
replace: False
p: <plugins.catchall_boolean.plugin object at 0x6859c90>
plugins: [(<plugins.catchall_boolean.plugin object at 0x6859c90>, ('ftpd_full_access', '1', 'ftpd_selinux')), (<plugins.catchall.plugin object at 0x6859a50>, ('0', 'file'))]
txt: "\xe6\x82\xa8\xe5\xbf\x85\xe9\xa1\xbb\xe5\x90\xaf\xe7\x94\xa8 'ftpd_full_access' \xe5\xb8\x83\xe5\xb0\x94\xe5\x80\xbc\xe5\x91\x8a\xe7\x9f\xa5 SELinux \xe6\xad\xa4\xe6\x83\x85\xe5\x86\xb5\xe3\x80\x82\n\xe6\x82\xa8\xe5\x8f\xaf\xe4\xbb\xa5\xe9\x98\x85\xe8\xaf\xbb 'ftpd_selinux' \xe6\x89\x8b\xe5\x86\x8c\xe9\xa1\xb5\xe9\x9d\xa2\xe6\x9d\xa5\xe4\xba\x86\xe8\xa7\xa3\xe8\xaf\xa6\xe6\x83\x85\xe3\x80\x82"

Comment 1 Alick Zhao 2014-02-19 02:33:00 UTC
Created attachment 864906 [details]
File: backtrace

Comment 2 Alick Zhao 2014-02-19 02:33:02 UTC
Created attachment 864907 [details]
File: environ

Comment 3 Petr Lautrbach 2015-04-08 12:26:05 UTC
I believe this is already fixed in 3.2.17-1.fc20. If the problem persists for you, feel free to reopen.