Bug 1242080 - [abrt] gnome-abrt: views.py:109:match:TypeError: 'str' does not support the buffer interface
Summary: [abrt] gnome-abrt: views.py:109:match:TypeError: 'str' does not support the b...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-abrt
Version: rawhide
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Filak
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:673f3edc6b05d6178975fb68645...
Depends On:
Blocks: 1211083
TreeView+ depends on / blocked
 
Reported: 2015-07-10 20:32 UTC by Giulio 'juliuxpigface'
Modified: 2016-12-01 00:48 UTC (History)
3 users (show)

Fixed In Version: gnome-abrt-1.2.0-4.fc23
Clone Of:
Environment:
Last Closed: 2015-07-13 09:12:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (910 bytes, text/plain)
2015-07-10 20:32 UTC, Giulio 'juliuxpigface'
no flags Details
File: environ (1.43 KB, text/plain)
2015-07-10 20:32 UTC, Giulio 'juliuxpigface'
no flags Details

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.


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