Notifications on completed torrent not being sent

Suggest, post, or discuss plugins for Deluge
Post Reply
thunder2k
New User
New User
Posts: 5
Joined: Thu Apr 26, 2018 6:47 am

Notifications on completed torrent not being sent

Post by thunder2k »

Hi,
I've recently migrated from an older version to 2.0.3 and notifications are not working.
This is my config:
Snipaste_2025-02-03_11-17-41.png
Snipaste_2025-02-03_11-17-41.png (13.51 KiB) Viewed 5983 times
Snipaste_2025-02-03_11-20-43.png
Snipaste_2025-02-03_11-20-43.png (24.6 KiB) Viewed 5983 times
Logs says the following:

Code: Select all

11:39:22 [CRITICAL][twisted                       :147 ] Unhandled error in Deferred:
11:39:22 [CRITICAL][deluge.log                    :1622] twisted.internet.defer
[Failure instance: Traceback: <class 'KeyError'>: 'name'
/usr/lib/python3/dist-packages/deluge/core/torrentmanager.py:1409:on_alert_storage_moved
/usr/lib/python3/dist-packages/deluge/core/eventmanager.py:37:emit
/usr/lib/python3/dist-packages/deluge/plugins/Notifications-0.3.egg/deluge_notifications/common.py:70:wrapper
/usr/lib/python3/dist-packages/deluge/plugins/Notifications-0.3.egg/deluge_notifications/common.py:58:_handle_custom_providers
--- <exception caught here> ---
/usr/lib/python3/dist-packages/twisted/internet/defer.py:190:maybeDeferred
/usr/lib/python3/dist-packages/deluge/plugins/Notifications-0.3.egg/deluge_notifications/core.py:181:_on_torrent_finished_event]
Any hints?

Thanks!
thunder2k
New User
New User
Posts: 5
Joined: Thu Apr 26, 2018 6:47 am

Re: Notifications on completed torrent not being sent

Post by thunder2k »

For the benefits of other, applying this fix worked for me!

https://dev.deluge-torrent.org/changeset/e38f1173cf470
mhertz
Moderator
Moderator
Posts: 2331
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: Notifications on completed torrent not being sent

Post by mhertz »

Thank you :) I somehow forgot reading the thread through, after searching the error backtrack, and so build a version from develop where fix included as you found and posted, thanks. I build from develop as had to change entry-points anyway to fix taking precedense on dockers(possible path chronologically issue), but not different from 2.1.1 except linting fix, and btw also includes another fix from 2.1.1 with non-iso8811 char in title breaking it also, which might as well post when made, with same sentiment as you.

Notifications-0.5.egg
(Named 0.5 to take precedense, as also 0.4 in deluge 2.0.3, but this is same as 0.4 in 2.1.1)

Just drop into profile plugins dir, and not needed owerwrite the included version from deluge in install location.

Edit: Doh, apologies I came to think about I forgot something right now during breakfast lol, so quickly paused my scrambled eggs and fixed, rebuilt and uploaded - same link as before. Back to the egg whites and oatmeal again :)
Post Reply