Bug 1046101 - [abrt] setroubleshoot-server: signature.py:557:format_text:UnicodeDecodeError: 'utf8' codec can't decode byte 0xd0 in position 0: unexpected end of data
Summary: [abrt] setroubleshoot-server: signature.py:557:format_text:UnicodeDecodeError...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: setroubleshoot
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:b8ad67a364cf274715b05831daa...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-23 16:50 UTC by Fedor Butikov
Modified: 2014-03-01 14:14 UTC (History)
5 users (show)

Fixed In Version: setroubleshoot-3.2.17-1.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-01 14:14:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.49 KB, text/plain)
2013-12-23 16:50 UTC, Fedor Butikov
no flags Details
File: environ (867 bytes, text/plain)
2013-12-23 16:50 UTC, Fedor Butikov
no flags Details

Description Fedor Butikov 2013-12-23 16:50:44 UTC
Version-Release number of selected component:
setroubleshoot-server-3.2.14-2.fc20

Additional info:
reporter:       libreport-2.1.10
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.5-302.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
signature.py:557:format_text:UnicodeDecodeError: 'utf8' codec can't decode byte 0xd0 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 557, in format_text
    text +=  _("\nIf ") + txt[0].lower() + txt[1:]
UnicodeDecodeError: 'utf8' codec can't decode byte 0xd0 in position 0: unexpected end of data

Local variables in innermost frame:
all: False
total_priority: 1
title: u'\n\n*****  Plugin catchall (100. confidence) suggests   '
i: 79
text: u'SELinux is preventing /usr/bin/composite from create access on the file magickv1ixdi.\n\n*****  Plugin catchall (100. confidence) suggests   **************************\n'
self: <setroubleshoot.signature.SEFaultSignatureInfo object at 0x5ef4590>
args: ('0', 'file')
replace: False
p: <plugins.catchall.plugin object at 0x6072a10>
plugins: [(<plugins.catchall.plugin object at 0x6072a10>, ('0', 'file'))]
txt: '\xd0\xb2\xd1\x8b \xd1\x81\xd1\x87\xd0\xb8\xd1\x82\xd0\xb0\xd0\xb5\xd1\x82\xd0\xb5, \xd1\x87\xd1\x82\xd0\xbe composite \xd1\x81\xd0\xbb\xd0\xb5\xd0\xb4\xd1\x83\xd0\xb5\xd1\x82 \xd1\x80\xd0\xb0\xd0\xb7\xd1\x80\xd0\xb5\xd1\x88\xd0\xb8\xd1\x82\xd1\x8c \xd0\xb4\xd0\xbe\xd1\x81\xd1\x82\xd1\x83\xd0\xbf create \xd0\xba magickv1ixdi file \xd0\xbf\xd0\xbe \xd1\x83\xd0\xbc\xd0\xbe\xd0\xbb\xd1\x87\xd0\xb0\xd0\xbd\xd0\xb8\xd1\x8e.'

Comment 1 Fedor Butikov 2013-12-23 16:50:49 UTC
Created attachment 840875 [details]
File: backtrace

Comment 2 Fedor Butikov 2013-12-23 16:50:51 UTC
Created attachment 840876 [details]
File: environ

Comment 3 Daniel Walsh 2014-01-02 21:10:29 UTC
Dave, I think we worked on something similar to this.  Basically I want to lowercase the first character in a unicode string.

            text +=  _("\nIf ") + txt[0].lower() + txt[1:]

Comment 4 garlp 2014-01-28 06:54:23 UTC
Another user experienced a similar problem:

launch "Wine"

reporter:       libreport-2.1.11
cmdline:        /usr/bin/python -Es /usr/bin/sealert -s
dso_list:       setroubleshoot-3.2.14-2.fc20.i686
executable:     /usr/bin/sealert
kernel:         3.12.8-300.fc20.i686+PAE
package:        setroubleshoot-server-3.2.14-2.fc20
reason:         signature.py:557:format_text:UnicodeDecodeError: 'utf8' codec can't decode byte 0xd0 in position 0: unexpected end of data
runlevel:       N 5
type:           Python
uid:            1000

Comment 5 Fedora Update System 2014-02-14 18:22:19 UTC
setroubleshoot-3.2.17-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/setroubleshoot-3.2.17-1.fc20

Comment 6 Fedora Update System 2014-02-15 07:06:59 UTC
Package setroubleshoot-3.2.17-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing setroubleshoot-3.2.17-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-2590/setroubleshoot-3.2.17-1.fc20
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2014-03-01 14:14:23 UTC
setroubleshoot-3.2.17-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


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