Deluge not handling torrents from Sonarr - log inside

General support for problems installing or using Deluge
Post Reply
torr
New User
New User
Posts: 3
Joined: Mon Jun 05, 2017 4:12 am

Deluge not handling torrents from Sonarr - log inside

Post by torr »

Can someone help me understand this log from Deluge? trying to get torrents from Sonarr and this appears

https://pastebin.com/BhfjA1E9

Code: Select all

[ERROR   ] 23:05:43 core:253 There was an error adding the torrent file The Big Bang Theory S10E24 1080p WEB-DL DD5 1 H264-RARBG.torrent
[ERROR   ] 23:05:43 core:254 No registered converter was able to produce a C++ rvalue of type std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > from this Python object of type NoneType
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/core.py", line 251, in add_torrent_file
    torrent_id = self.torrentmanager.add(filedump=filedump, options=options, filename=filename)
  File "/usr/lib/python2.7/dist-packages/deluge/core/torrentmanager.py", line 477, in add
    handle = self.session.add_torrent(add_torrent_params)
TypeError: No registered converter was able to produce a C++ rvalue of type std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > from this Python object of type NoneType
[ERROR   ] 23:05:43 rpcserver:306 Exception calling RPC request: None
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/core/rpcserver.py", line 301, in dispatch
    ret = self.factory.methods[method](*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/deluge/core/core.py", line 561, in set_torrent_options
    self.torrentmanager[torrent_id].set_options(options)
  File "/usr/lib/python2.7/dist-packages/deluge/core/torrentmanager.py", line 287, in __getitem__
    return self.torrents[torrent_id]
KeyError: None
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Deluge not handling torrents from Sonarr - log inside

Post by Cas »

Looks like there is a problem with one of the add torrent options being set to None. What version of libtorrent?
torr
New User
New User
Posts: 3
Joined: Mon Jun 05, 2017 4:12 am

Re: Deluge not handling torrents from Sonarr - log inside

Post by torr »

looks like 1.0.7.0

here is the entire log file

https://pastebin.com/qjJe2Sbh
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Deluge not handling torrents from Sonarr - log inside

Post by Cas »

Code: Select all

'download_location': None
You need to set a download location ;)
torr
New User
New User
Posts: 3
Joined: Mon Jun 05, 2017 4:12 am

Re: Deluge not handling torrents from Sonarr - log inside

Post by torr »

looks like that fixed it, but I haven't fooled with the settings in months except to add the labels plug in. Regardless, you're a life saver lol.
Post Reply