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 1206721

Summary: [abrt] gnome-abrt: views.py:99:match:TypeError: Type str doesn't support the buffer API
Product: [Fedora] Fedora Reporter: Guillaume Poirier-Morency <guillaumepoiriermorency>
Component: gnome-abrtAssignee: Jakub Filak <jfilak>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: debugger94, ezwen-redhatbugzilla, jberan, jfilak, jsmith.fedora, mhabrnal, vincentezw
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/f82f2a3d47ca415b50b82eb9517d64165cf41283
Whiteboard: abrt_hash:45ffd9accd4b38447cd4a13058386a459237f12f
Fixed In Version: gnome-abrt-1.1.1-1.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-04-21 18:48:18 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 Guillaume Poirier-Morency 2015-03-27 21:13:23 UTC
Version-Release number of selected component:
gnome-abrt-1.1.0-2.fc22

Additional info:
reporter:       libreport-2.5.0
cmdline:        /usr/bin/python3 /usr/bin/gnome-abrt -p /var/tmp/abrt/ccpp-2015-03-27-16:41:25-5082
executable:     /usr/bin/gnome-abrt
kernel:         4.0.0-0.rc4.git0.1.fc22.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
views.py:99:match:TypeError: Type str doesn't support the buffer API

Traceback (most recent call last):
  File "/usr/lib64/python3.4/site-packages/gnome_abrt/views.py", line 60, in <lambda>
    self._list_box.set_filter_func(lambda row, _: self.match(row), None)
  File "/usr/lib64/python3.4/site-packages/gnome_abrt/views.py", line 99, in match
    if val and self._pattern in val:
TypeError: Type str doesn't support the buffer API

Local variables in innermost frame:
list_box_row: <ListBoxRow object at 0x7f5df0487c18 (GtkListBoxRow at 0x2b06180)>
self: <gnome_abrt.views.ProblemsFilter object at 0x7f5df86d5b00>
i: 'component'
val: b'epiphany'
problem: <gnome_abrt.problems.Problem object at 0x7f5df86d5ba8>

Comment 1 Guillaume Poirier-Morency 2015-03-27 21:13:25 UTC
Created attachment 1007479 [details]
File: backtrace

Comment 2 Guillaume Poirier-Morency 2015-03-27 21:13:26 UTC
Created attachment 1007480 [details]
File: environ

Comment 3 Jakub Filak 2015-04-08 13:04:54 UTC
Thank you for the bug report. Upstream commit https://github.com/abrt/gnome-abrt/commit/c2e8bf4dc62f6cd8824e0908cc73e861c74c4062 fixes this bug.

Comment 4 Fedora Update System 2015-04-09 14:20:30 UTC
gnome-abrt-1.1.1-1.fc22,abrt-2.5.1-1.fc22,libreport-2.5.1-1.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/gnome-abrt-1.1.1-1.fc22,abrt-2.5.1-1.fc22,libreport-2.5.1-1.fc22

Comment 5 Fedora Update System 2015-04-10 18:20:51 UTC
Package gnome-abrt-1.1.1-1.fc22, abrt-2.5.1-1.fc22, libreport-2.5.1-1.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gnome-abrt-1.1.1-1.fc22 abrt-2.5.1-1.fc22 libreport-2.5.1-1.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-5936/gnome-abrt-1.1.1-1.fc22,abrt-2.5.1-1.fc22,libreport-2.5.1-1.fc22
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2015-04-21 18:48:18 UTC
gnome-abrt-1.1.1-1.fc22, libreport-2.5.1-1.fc22, abrt-2.5.1-2.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.