

# Run the twisted main loop to make everything goĪll this client script will do is try to connect to a daemon running on localhost and then disconnect from it right away. # We add the callback (in this case it's an errback, for error)

# We create another callback function to be called when an error is encountered # We add the callback to the Deferred object we got from connect() # Disconnect from the daemon once we successfully connect # We create a callback function to be called upon a successful connection # We get a Deferred object from this method and we use this to know if and when # Connect to a daemon running on the localhost "plugins_location": "/home/testuser/.# Import the reactor module from Twisted - this is for our mainloop "path_chooser_show_chooser_button_on_localhost": true, "path_chooser_auto_complete_enabled": true, "move_completed_path": "/home/testuser/torrents/finished", "geoip_db_location": "/usr/share/GeoIP/GeoIP.dat",

"download_location": "/home/testuser/torrents/dl", "autoadd_location": "/home/testuser/torrents/import", TypeError: join() argument must be str, bytes, or os.PathLike object, not 'NoneType' Raise TypeError(f'() argument must be str, bytes, or ' Join() argument must be str, bytes, or os.PathLike object, not 'NoneType': Traceback (most recent call last):įile "/usr/lib/python3.8/site-packages/deluge/core/rpcserver.py", line 347, in on_failįile "/usr/lib/python3.8/site-packages/twisted/python/failure.py", line 488, in raiseExceptionįile "/usr/lib/python3.8/site-packages/twisted/internet/defer.py", line 654, in _runCallbacksįile "/usr/lib/python3.8/site-packages/twisted/internet/task.py", line 866, in įile "/usr/lib/python3.8/site-packages/deluge/core/core.py", line 613, in do_remove_torrentsįile "/usr/lib/python3.8/site-packages/deluge/core/torrentmanager.py", line 745, in removeįile "/usr/lib/python3.8/site-packages/deluge/core/torrent.py", line 1321, in delete_torrentfileįile "/usr/lib/python3.8/posixpath.py", line 90, in joinįile "/usr/lib/python3.8/genericpath.py", line 152, in _check_arg_types RPCRequest: core.remove_torrents(, False) TypeError: join() argument must be str or bytes, not 'NoneType'ġ6:51:03 Unhandled error in Deferred:ġ6:51:03 Genericpath._check_arg_types('join', a, *p)įile "/usr/lib/python3.6/genericpath.py", line 149, in _check_arg_types Os.path.join(nfig, self.filename)įile "/usr/lib/python3.6/posixpath.py", line 94, in join

lete_torrentfile(delete_copies)įile "/usr/lib/python3/dist-packages/deluge/core/torrent.py", line 1317, in delete_torrentfile Torrent_id, remove_data=remove_data, save_state=Falseįile "/usr/lib/python3/dist-packages/deluge/core/torrentmanager.py", line 745, in remove Join() argument must be str or bytes, not 'NoneType': Traceback (most recent call last):įile "/usr/lib/python3/dist-packages/deluge/core/rpcserver.py", line 347, in on_failįile "/usr/lib/python3/dist-packages/twisted/python/failure.py", line 385, in raiseExceptionįile "/usr/lib/python3/dist-packages/twisted/internet/defer.py", line 653, in _runCallbacksĬurrent.result = callback(current.result, *args, **kw)įile "/usr/lib/python3/dist-packages/twisted/internet/task.py", line 865, in ĭ.addCallback(lambda ignored: callable(*args, **kw))įile "/usr/lib/python3/dist-packages/deluge/core/core.py", line 613, in do_remove_torrents I get this error on console:ġ6:51:03 RPCError Message Received! When trying to remove non downloading torrents, no matter how added (via file or magnet).
