Bug 1242080

Summary: [abrt] gnome-abrt: views.py:109:match:TypeError: 'str' does not support the buffer interface
Product: [Fedora] Fedora Reporter: Giulio 'juliuxpigface' <juliux.pigface>
Component: gnome-abrtAssignee: Jakub Filak <jfilak>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jberan, jfilak, mhabrnal
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/5e02d23e26c522fa61b69f593f766eb58bc84b39
Whiteboard: abrt_hash:673f3edc6b05d6178975fb686453e577eab454ba
Fixed In Version: gnome-abrt-1.2.0-4.fc23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-13 09:12:41 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:
Bug Depends On:    
Bug Blocks: 1211083    
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Giulio 'juliuxpigface' 2015-07-10 20:32:35 UTC
Description of problem:
Description of the problem:
Reproduced a crash that occurs while typing inside gnome-abrt's main menu.

Version-release number of selected component:
gnome-abrt-1.2.0-3.fc23.i686

How reproducible:
Always

Steps to reproduce:
1. Open gnome-abrt
2. Type something in the main menu (the one which lists problems, with the window titled 'Problem Reporting')

Actual results:
1. gnome-abrt crashes

Excepted results:
1. Perhaps gnome-abrt should not offer the possibility to type on the main menu since it might be not useful
2. gnome-abrt should not crash

Additional information:
I'm testing Fedora 20150704 Nightly Rawhide (Mate live spin) as part of QA Release Validation

Version-Release number of selected component:
gnome-abrt-1.2.0-3.fc23

Additional info:
reporter:       libreport-2.6.0
cmdline:        /usr/bin/python3 /usr/bin/gnome-abrt
executable:     /usr/bin/gnome-abrt
kernel:         4.2.0-0.rc0.git4.1.fc23.i686
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
views.py:109:match:TypeError: 'str' does not support the buffer interface

Traceback (most recent call last):
  File "/usr/lib/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/lib/python3.4/site-packages/gnome_abrt/views.py", line 109, in match
    rid = rid.rstrip('/').split('/')[-1].split('=')[-1]
TypeError: 'str' does not support the buffer interface

Local variables in innermost frame:
val: 'mate-panel-1.10.0-5.fc23'
sbm: <gnome_abrt.problems.Problem.Submission object at 0xb41c6fec>
list_box_row: <ListBoxRow object at 0xb41c27fc (GtkListBoxRow at 0x80d76e08)>
rid: b'https://retrace.fedoraproject.org/faf/reports/bthash/f05c1e5d443d1aacaef2a4d63a301576b4e48456'
i: 'package'
problem: <gnome_abrt.problems.Problem object at 0xb41dad6c>
self: <gnome_abrt.views.ProblemsFilter object at 0xb41c6e8c>

Comment 1 Giulio 'juliuxpigface' 2015-07-10 20:32:39 UTC
Created attachment 1050788 [details]
File: backtrace

Comment 2 Giulio 'juliuxpigface' 2015-07-10 20:32:42 UTC
Created attachment 1050789 [details]
File: environ

Comment 3 Jakub Filak 2015-07-13 08:52:29 UTC
Upstream commit https://github.com/abrt/gnome-abrt/commit/9ed78be49ce54a69b72af1bcd54f093218570e20 fixes the bug.