Bug 1086037 - the problems filter cannot handle unicode input
Summary: the problems filter cannot handle unicode input
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-abrt
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Filak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:f49c2ae4c682e05e9f926243cb8...
: 1101005 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-10 00:58 UTC by manfred.1980
Modified: 2016-12-01 00:47 UTC (History)
3 users (show)

Fixed In Version: gnome-abrt-0.3.7-1.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-15 01:52:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (854 bytes, text/plain)
2014-04-10 00:58 UTC, manfred.1980
no flags Details
File: environ (2.04 KB, text/plain)
2014-04-10 00:58 UTC, manfred.1980
no flags Details

Description manfred.1980 2014-04-10 00:58:52 UTC
Version-Release number of selected component:
gnome-abrt-0.3.6-1.fc20

Additional info:
reporter:       libreport-2.2.0
cmdline:        /usr/bin/python /usr/bin/gnome-abrt -p /var/tmp/abrt/ccpp-2014-04-10-08:01:14-4806
executable:     /usr/bin/gnome-abrt
kernel:         3.13.8-200.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
views.py:50:item_match:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 0: ordinal not in range(128)

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/views.py", line 67, in problems_filter
    return match_pattern(pattern, model[itrtr][2])
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/views.py", line 53, in match_pattern
    if item_match(pattern, problem) or pattern in problem.problem_id:
  File "/usr/lib64/python2.7/site-packages/gnome_abrt/views.py", line 50, in item_match
    if val and pattern in val:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 0: ordinal not in range(128)

Local variables in innermost frame:
i: 'reason'
pattern: '\xc3\xbc'
problem: <gnome_abrt.problems.Problem object at 0x265c650>
val: dbus.String(u'xkbcomp killed by SIGSEGV')

Comment 1 manfred.1980 2014-04-10 00:58:55 UTC
Created attachment 884699 [details]
File: backtrace

Comment 2 manfred.1980 2014-04-10 00:58:58 UTC
Created attachment 884700 [details]
File: environ

Comment 3 Jakub Filak 2014-04-10 08:27:04 UTC
I have opened a pull request for this bug report:

https://github.com/abrt/gnome-abrt/pull/52

Comment 4 Jakub Filak 2014-06-12 14:25:07 UTC
*** Bug 1101005 has been marked as a duplicate of this bug. ***

Comment 5 Fedora Update System 2014-06-12 15:57:11 UTC
gnome-abrt-0.3.7-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/gnome-abrt-0.3.7-1.fc20

Comment 6 Fedora Update System 2014-06-13 05:27:29 UTC
Package gnome-abrt-0.3.7-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 gnome-abrt-0.3.7-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-7316/gnome-abrt-0.3.7-1.fc20
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2014-06-15 01:52:14 UTC
gnome-abrt-0.3.7-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.