AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Mail call torrent4/14/2023 I know you're using a docker setup, LSIO, but have never messed with such myself(and just now it's ubuntu-based if not mistaken). I just tested also on latest ubuntu regular(20.10) and LTS(20.04.1), from there livecds I quickly downbloaded and ran in VMs, both working fine with my fixed version, so now have verified it on arch-linux, win10 and ubuntu latest regular and LTS. I'm sorry, I cannot reproduce your issue, so cannot troubleshoot further unfortunetly. Line 8917: 11:16:06 DISABLING CORE NOTIFICATIONS Line 6014: /usr/lib/python3/dist-packages/deluge/plugins/Notifications-0.3.egg/deluge_notifications/core.py:181:_on_torrent_finished_event Line 6011: /usr/lib/python3/dist-packages/deluge/plugins/Notifications-0.3.egg/deluge_notifications/common.py:58:_handle_custom_providers Line 6010: /usr/lib/python3/dist-packages/deluge/plugins/Notifications-0.3.egg/deluge_notifications/common.py:70:wrapper Line 6003: /usr/lib/python3/dist-packages/deluge/plugins/Notifications-0.3.egg/deluge_notifications/core.py:181:_on_torrent_finished_event Line 6000: /usr/lib/python3/dist-packages/deluge/plugins/Notifications-0.3.egg/deluge_notifications/common.py:58:_handle_custom_providers Line 5999: /usr/lib/python3/dist-packages/deluge/plugins/Notifications-0.3.egg/deluge_notifications/common.py:70:wrapper Line 5996: 11:11:34 Notification failure using email: [Failure instance: Traceback: : 'name' Line 5995: 11:11:34 Handler for TorrentFinishedEvent called for CORE Line 5994: 11:11:34 Found handler for kind email: > To stop receiving these alerts, simply turn off email notification in Deluge's preferences.ġ8:00:43.856 Calling CORE custom blink providers for TorrentFinishedEvent: ('cb6ecbc1853e57124937757967abad3fd136fe57',) I tested this with a gmail account, selecting ssl with port 587, and got a mail first from google about an unsecure app trying to access my google account, and then after enabling access to unsecure apps in google account settings, then I got the proper mail upon finished download.Ĭode: Select all 18:00:43.856 Handler for TorrentFinishedEvent called for COREġ8:00:43.856 Spawning new thread to send email with subject: Finished Torrent "debian-10.7.0-amd64-netinst.iso": This email is to inform you that Deluge has finished downloading "debian-10.7.0-amd64-netinst.iso". It can be either placed just in the 'plugins' folder of your deluge-profile folder, which takes precedense over the included version, or can also be directly overwritten old file with the new if wanted. Thanks again dakkar for giving the clues to fixing(well, workarounding) it Recently dakkar posted in my submitted ticket about this, that he suspected it was because one of the function-calls expected a list instead of dict, so I took a look and experimented some, but however always have problems personally with said function-call referenced when having played with it for other reasons before myself, as always returns deferred object, a twisted object like a pointer/handle I guess, instead of the right value, and so I guess I have to add a callback or whatever(sorry being noob at this ), and reason for me changing the function-call to other one from api which doesn't use deferred objects, and so I decided to do the same here, and so I used another function call that only returns name and changed the mail template to not try output the missing value(number of files in torrent, though probably another call could be added for that too, presumably, but personally don't really see that as important, though also not using this plugin myself even either), so now it works but only output's name of torrent as torrent info in mail and not number of files.
0 Comments
Read More
Leave a Reply. |