Opened 7 years ago

Last modified 2 years ago

#3018 new bug

error returned to web api wen adding a torrent with a label that has many torrents (500+)

Reported by: zpeleg Owned by:
Priority: major Milestone: Future
Component: Plugin Version: 1.3.14
Keywords: Cc:


I am using Sonarr to download tv shows, at some point it stopped working. After snooping around deluge logs, I found this:

RPCError Message Received!
RPCRequest: label.set_torrent(None, tv-sonarr)
  File "/usr/lib/python2.7/dist-packages/deluge/core/", line 301, in dispatch
    ret = self.factory.methods[method](*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/plugins/Label-0.2.egg/label/", line 317, in set_torrent
    CheckInput(torrent_id in self.torrents  , _("Unknown Torrent"))
  File "/usr/lib/python2.7/dist-packages/deluge/plugins/Label-0.2.egg/label/", line 88, in CheckInput
    raise Exception(message)

Exception: Unknown Torrent

More investigation revealed that the torrent is added, without the label, but error is returned to Sonarr (or maybe it times out, I'm not sure).

After reducing the amount of torrents in the label to around 300, the program resumed working correctly.

Change History (3)

comment:1 by shauder, 7 years ago

I am also seeing this issue. Mine was resolved by removing labels. Same version of Deluge and using Sonarr and Radarr.

Last edited 7 years ago by shauder (previous) (diff)

comment:2 by Calum, 7 years ago

Milestone: needs verified1.3.16

comment:3 by Calum, 2 years ago

Milestone: 1.3.16Future

Ticket retargeted after milestone deleted

Note: See TracTickets for help on using tickets.