Page 1 of 1
[BUG] deluge autoadd torrent broken with systemd service
Posted: Mon Nov 28, 2016 11:52 pm
by graysky
I have deluged configured to "auto add .torrents from: /mnt/share/Downloads" but it does not seem to if deluged (systemd service) is already running. If I restart deluge.service however, it does pick up only 1.torrent file. If I run deluged as my user (not the deluge user) without the systemd service, it works as expected.
Re: what would cause deluged to not notice a torrent file
Posted: Tue Nov 29, 2016 8:32 am
by shamael
Is you system configured to use UTF8 ? Check with the
commands.
I faced it only with .torrent having specific character in the file name, a specific error was logged in the log of Deluged.
Re: what would cause deluged to not notice a torrent file
Posted: Tue Nov 29, 2016 11:58 am
by graysky
shamael wrote:Is you system configured to use UTF8 ? Check with the
commands.
I faced it only with .torrent having specific character in the file name, a specific error was logged in the log of Deluged.
Mine:
Code: Select all
% locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
Re: what would cause deluged to not notice a torrent file
Posted: Tue Nov 29, 2016 12:08 pm
by graysky
All I am seeing in the journalctl log (running as system deamon) is the following when I move a torrent to the watched directory:
There is nothing after that.
In this case, the torrent was successfully detected and that line was written to the log. A subsequent time, I copied a torrent to the watched directory, but it was not detected and nothing was written to the log. If I stop the service, put 4 torrents in the watched directory and then start it, only the 1st one is detected, and that "Unhandled error in Deferred:" line is printed to the log but the remaining 3 torrents are not added.
Re: [BUG] deluge autoadd torrent broken with systemd service
Posted: Tue Nov 29, 2016 12:31 pm
by graysky
Re: [BUG] deluge autoadd torrent broken with systemd service
Posted: Tue Nov 29, 2016 12:35 pm
by shamael
Depending of your OS you can set à log for Deluge. In the line starting the dameon of in the debug mode in Windows (see the wiki)
I guess it will be more useful than journalctl at this level
Re: [BUG] deluge autoadd torrent broken with systemd service
Posted: Tue Nov 29, 2016 2:23 pm
by graysky
I updated the ticket with debug logging enabled.