Page 1 of 1

Notification Plugin (Not Sending Emails)

Posted: Tue Mar 12, 2019 7:18 pm
by jonesc2
Hello

Can anyone help me isolate whats wrong....

In a nutshell I have tested my mail settings here: https://www.smtper.net/

I can connect on port 587 and 25 with the credentials I am giving Deluge.

I have enabled the notifcation and entered the email address but no emails are getting pushed out when a torrent is completed.

I am running Deluge in Debug mode but am not seeing any meaninfll info to narrow it down.

I am using deluge-1.3.15-win32-py2.7.exe and Have Python 2.7 also installed in the OS.

Anyone have any wisdom to help isolate the root cause?

Thanks

Re: Notification Plugin (Not Sending Emails)

Posted: Tue Mar 12, 2019 10:15 pm
by Shryp
I can't help with your actual problem, but the Windows installers include their own version of python so you don't need it installed in Windows unless you are using it for something else.

Re: Notification Plugin (Not Sending Emails)

Posted: Mon Jan 13, 2020 5:16 pm
by sleeper
I am having the same issue it stopped working when I upgraded to 2.0.3. I am on Debian and using python 3.
I did get this error from my console:
Unhandled error in Deferred:
17:55:37 [CRITICAL][twisted :154 ] Unhandled error in Deferred:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/deluge/core/torrentmanager.py", line 1409, in on_alert_storage_moved
component.get('EventManager').emit(TorrentFinishedEvent(torrent_id))
File "/usr/lib/python3/dist-packages/deluge/core/eventmanager.py", line 37, in emit
handler(*event.args)
File "/usr/lib/python3/dist-packages/deluge/plugins/Notifications-0.3.egg/deluge_notifications/common.py", line 70, in wrapper
return self._handle_custom_providers(kind, eventtype, *args, **kwargs)
File "/usr/lib/python3/dist-packages/deluge/plugins/Notifications-0.3.egg/deluge_notifications/common.py", line 58, in _handle_custom_providers
d = defer.maybeDeferred(handler, *args, **kwargs)
--- <exception caught here> ---
File "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 151, in maybeDeferred
result = f(*args, **kw)
File "/usr/lib/python3/dist-packages/deluge/plugins/Notifications-0.3.egg/deluge_notifications/core.py", line 181, in _on_torrent_finished_event
subject = _('Finished Torrent "%(name)s"') % torrent_status
builtins.KeyError: 'name'

17:55:37 [CRITICAL][deluge.log :93 ] 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:151:maybeDeferred
/usr/lib/python3/dist-packages/deluge/plugins/Notifications-0.3.egg/deluge_notifications/core.py:181:_on_torrent_finished_event


It looks like it does not know the name of the torrent so it is not sending the email.

Re: Notification Plugin (Not Sending Emails)

Posted: Fri Mar 06, 2020 3:56 pm
by kevindd992002
Any updates here?

Re: Notification Plugin (Not Sending Emails)

Posted: Sun May 03, 2020 1:37 pm
by jsw10471
I would like to get an update on this as well. Email notifications have never worked for me on version 2.0.x. Basically been broken since i moved from version 1.x. Is there any update on getting this fixed???????????????????????????????????????????????????????????????????????????

Re: Notification Plugin (Not Sending Emails)

Posted: Sun May 03, 2020 2:19 pm
by kevindd992002
Yeah. I'm not sure why no one cares to update this plugin. This sucks.

Re: Notification Plugin (Not Sending Emails)

Posted: Mon May 11, 2020 3:44 pm
by dazzsser
there is a ticket here, but it seems that there is no progress
https://dev.deluge-torrent.org/ticket/3303#ticket

Re: Notification Plugin (Not Sending Emails)

Posted: Mon May 11, 2020 4:07 pm
by kevindd992002
Yes, that is a plugin as a result of my complaint. I don't know why they don't think this is an important plugin.