--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3303>
Deluge <https://deluge-torrent.org/>
Deluge Project
* cc: mail@… (added)
Comment:
I've run into the same problem. For reference, here are my version
numbers:
{{{
deluged 2.0.3
libtorrent: 1.1.12.0
Python: 3.7.3
OS: Linux Arch Linux
}}}
I believe I've managed to isolate where the bug is coming from and will be
working on a patch to address it. Will update with my findings once I know
more.
--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3303#comment:1>
Comment (by kevindd992002):
Any updates to this?
@arcticslush, have you got any progress?
--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3303#comment:2>
Comment (by dakkar):
My Python is very rusty, but my best guess is:
[[https://git.deluge-
torrent.org/deluge/tree/deluge/plugins/Notifications/deluge_notifications/core.py#n179|CoreNotifications._on_torrent_finished_event]]
calls `torrent.get_status({})` but the `Torrent.get_status` method expects
a //list// of field names to return, not a dictionary. Therefore, the
dictionary `torrent_status` is empty, and causes that `KeyError`.
--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3303#comment:3>
Comment (by kevindd992002):
I don't get it. Why is notifications not a priority? It's been more than a
year! My God.
--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3303#comment:4>
Comment (by mhertz):
Thanks alot dakkar for your hints, much appreciated! I have workaround'ed
the issue, though currently doesn't report num_files anymore and only
torrent-name in sent mail. Plugin is uploaded with more info at this forum
thread by kevindd992002: https://forum.deluge-
torrent.org/viewtopic.php?f=7&t=55458
--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3303#comment:5>
* milestone: needs verified => 2.0.4
--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3303#comment:6>
* status: new => closed
* resolution: => Fixed
Comment:
Deployed fix to develop: [e38f1173cf470]
--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3303#comment:7>