Opened 6 years ago

Last modified 20 months 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 Changed 6 years ago by shauder

I am also seeing this issue. Mine was not resolved however when removing torrents from the label. Same version of Deluge and using Sonarr and Radarr.

Version 0, edited 6 years ago by shauder (next)

comment:2 Changed 6 years ago by Cas

  • Milestone changed from needs verified to 1.3.16

comment:3 Changed 20 months ago by Cas

  • Milestone changed from 1.3.16 to Future

Ticket retargeted after milestone deleted

Note: See TracTickets for help on using tickets.