Autoadd gets uncheck automatically in deluge 2.0

General support for problems installing or using Deluge
Post Reply
merlincool
New User
New User
Posts: 8
Joined: Wed Apr 28, 2021 3:52 am

Autoadd gets uncheck automatically in deluge 2.0

Post by merlincool »

I have deluge on seedbox provider, Its Deluge 2.**.

I use autoadd plugin, whenever there is restart or reboot on server (from providers end) which is not under my control, autoadd gets uncheck. And my autodl-irssi setup on rtorrent keeps adding to watch directory for deluge but deluge fails to add torrents due to above issue.

Is there an alternative if I can overcome this? like by making ~/.config/deluge/auto_add.conf unchangeable? or atleast have autoadd checked even after server is rebooted.

There is no point creating ticket towards provider, they keep saying it's shared slots and high load causes frequent reboots.
rainydaydriver
New User
New User
Posts: 1
Joined: Tue May 03, 2022 12:39 am

Re: Autoadd gets uncheck automatically in deluge 2.0

Post by rainydaydriver »

Edit: Looks like there is a report in bugtracker for this already https://dev.deluge-torrent.org/ticket/3515

Been having this same issue with deluge 2 and AutoAdd. I went as far as redoing the entire deluge setup on my server to try to fix the issue. It has happened twice to me in a couple months now, the second time around I had logging enabled. Thin client became laggy so I exited the program, took 5-10seconds before it actually closed. re-opened and connected thin client and checked autoadd(habit now to check every time I connect), and watchthree was disabled, only watchthree though, not the other two. Here is all errors logs from when it happened. Anyone have any idea?

20:35 is when I exited the client.


20:09:26 [ERROR ][deluge_autoadd.core :362 ] Disabling "/home/**/watchthree/", error during update: [Failure instance: Traceback: <class 'RuntimeError'>: no files in torrent
/usr/lib/python3/dist-packages/twisted/internet/base.py:1267:run
/usr/lib/python3/dist-packages/twisted/internet/base.py:1276:mainLoop
/usr/lib/python3/dist-packages/twisted/internet/base.py:902:runUntilCurrent
/usr/lib/python3/dist-packages/twisted/internet/task.py:239:__call__
--- <exception caught here> ---
/usr/lib/python3/dist-packages/twisted/internet/defer.py:151:maybeDeferred
/usr/lib/python3/dist-packages/deluge/plugins/AutoAdd-1.8.egg/deluge_autoadd/core.py:273:update_watchdir
/usr/lib/python3/dist-packages/deluge/plugins/AutoAdd-1.8.egg/deluge_autoadd/core.py:164:load_torrent
20:26:42 [WARNING ][deluge.core.rpcserver :238 ] An exception occurred while sending RPC_ERROR to client. Wrapping it and resending. Error to send(causing exception goes next):
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/deluge/core/core.py", line 743, in create_torrent_status
status = self.torrentmanager[torrent_id].get_status(
File "/usr/lib/python3/dist-packages/deluge/core/torrentmanager.py", line 309, in __getitem__
return self.torrents[torrent_id]
KeyError: 'eec811eb1747d5af532949ea8e7cd9235b7361c0'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/deluge/core/rpcserver.py", line 326, in dispatch
ret = self.factory.methods[method](*args, **kwargs)
File "/usr/lib/python3/dist-packages/deluge/core/core.py", line 763, in get_torrent_status
return self.create_torrent_status(
File "/usr/lib/python3/dist-packages/deluge/core/core.py", line 749, in create_torrent_status
traceback.print_exc()
File "/usr/lib/python3.8/traceback.py", line 163, in print_exc
print_exception(*sys.exc_info(), limit=limit, file=file, chain=chain)
File "/usr/lib/python3.8/traceback.py", line 105, in print_exception
print(line, file=file, end="")
OSError: [Errno 5] Input/output error

20:26:42 [ERROR ][deluge.core.rpcserver :1481] Exception calling RPC request: [Errno 5] Input/output error
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/deluge/core/core.py", line 743, in create_torrent_status
status = self.torrentmanager[torrent_id].get_status(
File "/usr/lib/python3/dist-packages/deluge/core/torrentmanager.py", line 309, in __getitem__
return self.torrents[torrent_id]
KeyError: 'eec811eb1747d5af532949ea8e7cd9235b7361c0'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/deluge/core/rpcserver.py", line 326, in dispatch
ret = self.factory.methods[method](*args, **kwargs)
File "/usr/lib/python3/dist-packages/deluge/core/core.py", line 763, in get_torrent_status
return self.create_torrent_status(
File "/usr/lib/python3/dist-packages/deluge/core/core.py", line 749, in create_torrent_status
traceback.print_exc()
File "/usr/lib/python3.8/traceback.py", line 163, in print_exc
print_exception(*sys.exc_info(), limit=limit, file=file, chain=chain)
File "/usr/lib/python3.8/traceback.py", line 105, in print_exception
print(line, file=file, end="")
OSError: [Errno 5] Input/output error

20:35:49 [INFO ][deluge.core.rpcserver :197 ] Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.
20:36:17 [INFO ][deluge.core.rpcserver :171 ] Deluge Client connection made from: IP:PORT
20:36:17 [INFO ][deluge.core.rpcserver :171 ] Deluge Client connection made from: IP:PORT
20:36:17 [INFO ][deluge.core.rpcserver :197 ] Deluge client disconnected: Connection to the other side was lost in a non-clean fashion: Connection lost.

20:36:55 [ERROR ][deluge_autoadd.core :362 ] Disabling "/home/**/watch/", error during update: [Failure instance: Traceback: <class 'RuntimeError'>: no files in torrent
/usr/lib/python3/dist-packages/deluge/plugins/AutoAdd-1.8.egg/deluge_autoadd/core.py:145:set_options
/usr/lib/python3/dist-packages/deluge/plugins/AutoAdd-1.8.egg/deluge_autoadd/core.py:374:enable_watchdir
/usr/lib/python3/dist-packages/twisted/internet/task.py:194:start
/usr/lib/python3/dist-packages/twisted/internet/task.py:239:__call__
--- <exception caught here> ---
/usr/lib/python3/dist-packages/twisted/internet/defer.py:151:maybeDeferred
/usr/lib/python3/dist-packages/deluge/plugins/AutoAdd-1.8.egg/deluge_autoadd/core.py:273:update_watchdir
/usr/lib/python3/dist-packages/deluge/plugins/AutoAdd-1.8.egg/deluge_autoadd/core.py:164:load_torrent
]
20:36:55 [ERROR ][deluge_autoadd.core :362 ] Disabling "/home/**/watchthree/", error during update: [Failure instance: Traceback: <class 'RuntimeError'>: no files in torrent
/usr/lib/python3/dist-packages/deluge/plugins/AutoAdd-1.8.egg/deluge_autoadd/core.py:145:set_options
/usr/lib/python3/dist-packages/deluge/plugins/AutoAdd-1.8.egg/deluge_autoadd/core.py:374:enable_watchdir
/usr/lib/python3/dist-packages/twisted/internet/task.py:194:start
/usr/lib/python3/dist-packages/twisted/internet/task.py:239:__call__
--- <exception caught here> ---
/usr/lib/python3/dist-packages/twisted/internet/defer.py:151:maybeDeferred
/usr/lib/python3/dist-packages/deluge/plugins/AutoAdd-1.8.egg/deluge_autoadd/core.py:273:update_watchdir
/usr/lib/python3/dist-packages/deluge/plugins/AutoAdd-1.8.egg/deluge_autoadd/core.py:164:load_torrent
Post Reply