[BUG] deluge autoadd torrent broken with systemd service
[BUG] deluge autoadd torrent broken with systemd service
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.
Last edited by graysky on Tue Nov 29, 2016 12:15 pm, edited 2 times in total.
Re: what would cause deluged to not notice a torrent file
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.
Code: Select all
locale
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
Mine:shamael wrote:Is you system configured to use UTF8 ? Check with thecommands.Code: Select all
locale
I faced it only with .torrent having specific character in the file name, a specific error was logged in the log of Deluged.
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
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.
Code: Select all
Unhandled error in Deferred:
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
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
I guess it will be more useful than journalctl at this level
Re: [BUG] deluge autoadd torrent broken with systemd service
I updated the ticket with debug logging enabled.