Bug 1812790 - [abrt] deluge-gtk: cmp(): common.py:45:cmp:TypeError: '>' not supported between instances of 'NoneType' and 'NoneType'
Summary: [abrt] deluge-gtk: cmp(): common.py:45:cmp:TypeError: '>' not supported betwe...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: deluge
Version: 31
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michael Cronenworth
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:9ab287c738bf1449f3592578d99...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-12 07:59 UTC by saidterzi
Modified: 2020-09-25 16:49 UTC (History)
5 users (show)

Fixed In Version: deluge-2.0.3-12.fc32 deluge-2.0.3-12.fc33
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-15 16:16:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (646 bytes, text/plain)
2020-03-12 07:59 UTC, saidterzi
no flags Details
File: cgroup (423 bytes, text/plain)
2020-03-12 07:59 UTC, saidterzi
no flags Details
File: cpuinfo (2.48 KB, text/plain)
2020-03-12 07:59 UTC, saidterzi
no flags Details
File: environ (8.58 KB, text/plain)
2020-03-12 07:59 UTC, saidterzi
no flags Details
File: mountinfo (4.83 KB, text/plain)
2020-03-12 07:59 UTC, saidterzi
no flags Details
File: namespaces (129 bytes, text/plain)
2020-03-12 07:59 UTC, saidterzi
no flags Details

Description saidterzi 2020-03-12 07:59:28 UTC
Version-Release number of selected component:
deluge-gtk-2.0.3-5.fc31

Additional info:
reporter:       libreport-2.12.0
cmdline:        deluge-gtk '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' ''
crash_function: cmp
exception_type: TypeError
executable:     /usr/bin/deluge-gtk
interpreter:    deluge-gtk-2.0.3-5.fc31.noarch
kernel:         5.5.8-200.fc31.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
common.py:45:cmp:TypeError: '>' not supported between instances of 'NoneType' and 'NoneType'

Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/deluge/ui/gtk3/listview.py", line 233, in stabilized
    result = sort_func(model, iter1, iter2, data)
  File "/usr/lib/python3.7/site-packages/deluge/ui/gtk3/torrentview.py", line 106, in progress_sort
    return cmp(state1, state2)
  File "/usr/lib/python3.7/site-packages/deluge/ui/gtk3/common.py", line 45, in cmp
    return (x > y) - (x < y)
TypeError: '>' not supported between instances of 'NoneType' and 'NoneType'

Local variables in innermost frame:
x: None
y: None

Comment 1 saidterzi 2020-03-12 07:59:31 UTC
Created attachment 1669574 [details]
File: backtrace

Comment 2 saidterzi 2020-03-12 07:59:33 UTC
Created attachment 1669575 [details]
File: cgroup

Comment 3 saidterzi 2020-03-12 07:59:35 UTC
Created attachment 1669576 [details]
File: cpuinfo

Comment 4 saidterzi 2020-03-12 07:59:37 UTC
Created attachment 1669577 [details]
File: environ

Comment 5 saidterzi 2020-03-12 07:59:39 UTC
Created attachment 1669578 [details]
File: mountinfo

Comment 6 saidterzi 2020-03-12 07:59:41 UTC
Created attachment 1669579 [details]
File: namespaces

Comment 7 Jason Farrell 2020-04-14 19:27:22 UTC
Similar problem has been detected:

Deluge is randomly crashing on startup about 4 out of 5 times. Seems to happen more often when resuming incomplete torrents, and when my Socks5 VPN proxy is active. Eventually Deluge will startup without crashing *AND* successfully reconnect to the VPN.

reporter:       libreport-2.12.0
cgroup:         0::/user.slice/user-1000.slice/user/gnome-launched-deluge.desktop-112598.scope
cmdline:        deluge-gtk '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' '' ''
crash_function: cmp
exception_type: TypeError
executable:     /usr/bin/deluge-gtk
interpreter:    deluge-gtk-2.0.3-5.fc31.noarch
kernel:         5.5.13-200.fc31.x86_64
package:        deluge-gtk-2.0.3-5.fc31
reason:         common.py:45:cmp:TypeError: '>' not supported between instances of 'NoneType' and 'NoneType'
runlevel:       N 5
type:           Python3
uid:            1000

Comment 8 Michael Cronenworth 2020-04-14 20:13:06 UTC
@Calum, I have multiple reports of this issue but I do not see any code commits against this in your upstream git repo. It looks like something is not initialized or there is a race condition. Could you help?

Comment 9 Fedora Update System 2020-09-06 15:28:05 UTC
FEDORA-2020-696cdbd34c has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-696cdbd34c

Comment 10 Fedora Update System 2020-09-06 15:28:30 UTC
FEDORA-2020-f6bdb4d13a has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-f6bdb4d13a

Comment 11 Fedora Update System 2020-09-07 17:20:55 UTC
FEDORA-2020-f6bdb4d13a has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-f6bdb4d13a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-f6bdb4d13a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2020-09-07 21:44:28 UTC
FEDORA-2020-696cdbd34c has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-696cdbd34c`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-696cdbd34c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2020-09-15 16:16:11 UTC
FEDORA-2020-f6bdb4d13a has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Fedora Update System 2020-09-25 16:49:11 UTC
FEDORA-2020-696cdbd34c has been pushed to the Fedora 33 stable repository.
If problem still persists, 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.