problems with "torrent complete" status

General support for problems installing or using Deluge
Post Reply
nagaram
New User
New User
Posts: 5
Joined: Wed Nov 26, 2014 11:56 am

problems with "torrent complete" status

Post by nagaram »

Hello, I am trying to run a simple "copy completed" shell script on a headless server that copies completed files from a download folder to a sync'd folder across my network. I was trying to do this using the Execute plugin and a few simple bash scripts, but these are failing because the "Torrent Complete" status seems to only trigger if upload ratio has been finished and the torrent has stopped seeding, not if the file download has completed. I tested them with the "Torrent Added" trigger and they work, but obviously the torrent needs to be completed to copy correctly. This is a problem since I seed torrents for months, and have my max ratio set so they won't stop. From searching the forums here, this seems to be a recurring problem for people running seedboxes.

So, my question--is there any way around Deluge not marking completed downloading as a completed torrent? I wasn't able to test the "CopyCompleted" plugin, as it won't load at all on my webui version (1.3.10). Thanks in advance.
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: problems with "torrent complete" status

Post by Cas »

Torrent complete is triggered when the torrent finishes downloading data, nothing to do with seeding, so you are misinterpreting what you are seeing. Note you will have a problems copying completed torrents in 1.3 if 'move completed' is enabled for torrents.

For problems installing plugins, make sure you have read the plugin install instructions: http://dev.deluge-torrent.org/wiki/Plug ... ingPlugins
nagaram
New User
New User
Posts: 5
Joined: Wed Nov 26, 2014 11:56 am

Re: problems with "torrent complete" status

Post by nagaram »

Thanks for the reply--I've read the plugin install instructions, and have successfully installed multiple plugins, but not CopyCompleted. Is there a way to copy completed torrents with move completed enabled? That must be the issue, then.
nagaram
New User
New User
Posts: 5
Joined: Wed Nov 26, 2014 11:56 am

Re: problems with "torrent complete" status

Post by nagaram »

Right now I have deluge set up to apply label specific 'move completed' settings, so that's definitely a conflict.
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: problems with "torrent complete" status

Post by Cas »

Did you read the plugin install notes and see that CopyCompleted is a python 2.6 egg?
nagaram
New User
New User
Posts: 5
Joined: Wed Nov 26, 2014 11:56 am

Re: problems with "torrent complete" status

Post by nagaram »

yes, i did
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: problems with "torrent complete" status

Post by Cas »

If you enable logging you can see why it's not loading.
nagaram
New User
New User
Posts: 5
Joined: Wed Nov 26, 2014 11:56 am

Re: problems with "torrent complete" status

Post by nagaram »

weirdly now with logging enabled i'm getting errors from the AutoAdd plugin, which has never given me problems before:

Code: Select all

web.Server Traceback (most recent call last):
exceptions.KeyError: 'autoadd/autoadd.js'
/usr/lib64/python2.7/site-packages/twisted/web/server.py:192 in process
191                    self._encoder = encoder
192            self.render(resrc)
193        except:
/usr/lib64/python2.7/site-packages/twisted/web/server.py:241 in render
240        try:
241            body = resrc.render(self)
242        except UnsupportedMethod as e:
/usr/lib64/python2.7/site-packages/deluge/ui/web/server.py:570 in render
569
570        scripts = component.get("Scripts").get_scripts(mode)
571        scripts.insert(0, "gettext.js")
/usr/lib64/python2.7/site-packages/deluge/ui/web/server.py:375 in get_scripts
374        for path in _order:
375            filepath = _scripts[path]
376
exceptions.KeyError: 'autoadd/autoadd.js'

Post Reply