Bug 1395063

Summary: [abrt] deluge-gtk: torrentview.py:180:str_nocase_sort:AttributeError: 'NoneType' object has no attribute 'lower'
Product: [Fedora] Fedora Reporter: Dawid Zamirski <dzrudy>
Component: delugeAssignee: Michael Cronenworth <mike>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: fabrice, mike
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/62695ee760ab6f09d00ae57d9d61354d255cdd0a
Whiteboard: abrt_hash:65e84984e346e4984c81d9c316af5348594def8a;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-25 23:19:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Dawid Zamirski 2016-11-15 03:52:32 UTC
Description of problem:
Added a torrent to deluge and shortly after this traceback popped up. 

Version-Release number of selected component:
deluge-gtk-1.3.13-1.fc25

Additional info:
reporter:       libreport-2.8.0
cmdline:        deluge-gtk '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' ''
executable:     /usr/bin/deluge-gtk
kernel:         4.8.6-300.fc25.x86_64
pkg_fingerprint: 4089 D8F2 FDB1 9C98
pkg_vendor:     Fedora Project
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
torrentview.py:180:str_nocase_sort:AttributeError: 'NoneType' object has no attribute 'lower'

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/listview.py", line 261, in stabilized
    result = sort_func(model, iter1, iter2, data)
  File "/usr/lib/python2.7/site-packages/deluge/ui/gtkui/torrentview.py", line 180, in str_nocase_sort
    v2 = model[iter2][data].lower()
AttributeError: 'NoneType' object has no attribute 'lower'

Local variables in innermost frame:
v1: 'mr.robot.s02e09.ep2.7_init_5.fve.720p.web-dl.dd5.1.h.264-ntb.mkv'
iter1: <GtkTreeIter at 0x558e34b86040>
data: 5
model: <gtk.TreeModelFilter object at 0x7ff10097a050 (GtkTreeModelFilter at 0x558e34b585e0)>
iter2: <GtkTreeIter at 0x558e34ac3eb0>

Comment 1 Dawid Zamirski 2016-11-15 03:52:36 UTC
Created attachment 1220671 [details]
File: backtrace

Comment 2 Dawid Zamirski 2016-11-15 03:52:37 UTC
Created attachment 1220672 [details]
File: environ

Comment 3 Michael Cronenworth 2017-03-06 17:12:06 UTC
Please try 1.3.14 and report.

https://bodhi.fedoraproject.org/updates/FEDORA-2017-884de1e698

Comment 4 Michael Cronenworth 2017-07-25 23:19:00 UTC
Closing as fixed in 1.3.14/1.3.15.