Autoadd feature. Can't get it working

General support for problems installing or using Deluge
ross104
New User
New User
Posts: 4
Joined: Wed Jan 20, 2021 4:27 pm

Autoadd feature. Can't get it working

Postby ross104 » Wed Jan 20, 2021 4:40 pm

PC: Ubuntu 20.04 server
Deluged daemon: deluged 2.0.3-2
Daemon is running from user with admin privileges.
Im adding torrent files via SAMBA from Mac PC with the same username as deluged is running (torrent file owner is that user, file permissions are 0744).

In Autoadd setting watch folder is configured, but auto add feature not working neither owner is set to localclient, nor owner is set to my username.

What am I doing wrong? Or how to check auto add log?

benba
Member
Member
Posts: 21
Joined: Mon Oct 28, 2019 10:09 am

Re: Autoadd feature. Can't get it working

Postby benba » Wed Jan 20, 2021 10:32 pm

looks like;

21:14:05 [INFO ][deluge.core.torrentmanager :672 ] TorrentName from user "xy" added


inside the deluged logfile

Code: Select all

deluged -d --loglevel=info -l /logs/deluge/deluged.log


Available Log levels
none
critical
error
warning
info
debug

ross104
New User
New User
Posts: 4
Joined: Wed Jan 20, 2021 4:27 pm

Re: Autoadd feature. Can't get it working

Postby ross104 » Thu Jan 21, 2021 5:28 pm

Code: Select all

ross104@ubuntu:~$ deluged -d --loglevel=info -l /home/ross104/.config/deluge/deluged.log
Unhandled error in Deferred:
Temporarily disabling observer LegacyLogObserverWrapper(<bound method TwistedLoggingObserver.emit of <deluge.log.TwistedLoggingObserver object at 0x7f9839172520>>) due to exception: [Failure instance: Traceback: <class 'TypeError'>: _findCaller() takes from 1 to 2 positional arguments but 3 were given


Deluged not starting with logging enabled.

UPD 1:
Upgraded twisted via

Code: Select all

sudo pip3 install --upgrade twisted


Installed patch log.py

Deluge started and logging works!

When autoadd is enabled it loads first torrent file and disables watch directory

Code: Select all

17:47:49 [ERROR   ][deluge_autoadd.core           :355 ] Disabling "/opt/share/Downloads", error during update: [Failure instance: Traceback: <class 'RuntimeError'>: unexpected end of file in bencoded string
/usr/local/lib/python3.8/dist-packages/twisted/internet/base.py:1283:run
/usr/local/lib/python3.8/dist-packages/twisted/internet/base.py:1292:mainLoop
/usr/local/lib/python3.8/dist-packages/twisted/internet/base.py:913:runUntilCurrent
/usr/local/lib/python3.8/dist-packages/twisted/internet/task.py:239:__call__
--- <exception caught here> ---
/usr/local/lib/python3.8/dist-packages/twisted/internet/defer.py:151:maybeDeferred
/usr/lib/python3/dist-packages/deluge/plugins/AutoAdd-1.8.egg/deluge_autoadd/core.py:271:update_watchdir
/usr/lib/python3/dist-packages/deluge/plugins/AutoAdd-1.8.egg/deluge_autoadd/core.py:162:load_torrent
]
17:47:49 [INFO    ][deluge.core.torrentmanager    :668 ] Torrent ************************* from user "ross104" added


After I make watch dir active again it works untill first torrent autoadded and disables watch dir with same error.

ross104
New User
New User
Posts: 4
Joined: Wed Jan 20, 2021 4:27 pm

Re: Autoadd feature. Can't get it working

Postby ross104 » Mon Jan 25, 2021 7:37 am

Problem solved.
Moved to Transmission :D


Return to “Support”

Who is online

Users browsing this forum: No registered users and 14 guests