AutoAdd plugin disabling watched folders by itself

Specific support for Deluge on Microsoft Windows OS
Post Reply
maxwolfie
New User
New User
Posts: 9
Joined: Sun Jun 28, 2015 9:06 am

AutoAdd plugin disabling watched folders by itself

Post by maxwolfie »

I am getting closer to figuring this out, see below error report:

Code: Select all

[ERROR   ] 19:51:40 core:323 Disabling 'Z:\abcd\Watch\abcd', error during update: [Failure instance: Traceback: <type 'exceptions.WindowsError'>: [Error 32] The process cannot access the file because it is being used by another process: u'Z:\\abcd\\Watch\\abcd\\abcd.torrent'
twisted/internet/base.py:1192:run
twisted/internet/base.py:1201:mainLoop
twisted/internet/base.py:824:runUntilCurrent
twisted/internet/task.py:218:__call__
--- <exception caught here> ---
twisted/internet/defer.py:139:maybeDeferred
c:\program files\deluge\deluge-1.3.11-py2.6.egg\deluge\plugins\autoadd-1.04-py2.6.egg\autoadd\core.py:318:update_watchdir
]
The above happens when I cut and paste a *.torrent file into any watched folder.

The file does import into Deluge but then the watch folder in question unchecks itself, so any future *.torrent files placed in the directory just sit there, until I forcefully check the relevant box again. If multiple files have built up in the directory, they all import without a hitch. This happens at least when I have the "Delete .torrent after adding" option checked.

It almost seems that Deluge is trying to delete the file before it has finished copying to the watch folder, or at least before Windows "unlocks" the file for other processes to modify.

Any ideas on what is happening?

N.B. - I am trying the "Append extension after adding" function to see if it fixes the issue. I assume I will get the same result though, as if the file is being used by another process and can't delete it then Deluge won't be able to rename it either. UPDATE: Yes, same issue as I suspected.
maxwolfie
New User
New User
Posts: 9
Joined: Sun Jun 28, 2015 9:06 am

Re: AutoAdd plugin disabling watched folders by itself

Post by maxwolfie »

Bump - anyone?
maxwolfie
New User
New User
Posts: 9
Joined: Sun Jun 28, 2015 9:06 am

Re: AutoAdd plugin disabling watched folders by itself

Post by maxwolfie »

Bump again, still an issue.
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: AutoAdd plugin disabling watched folders by itself

Post by Cas »

It does indeed look like it's an issue, thanks for bump I did forget I was going to create a ticket: http://dev.deluge-torrent.org/ticket/2779#ticket
maxwolfie
New User
New User
Posts: 9
Joined: Sun Jun 28, 2015 9:06 am

Re: AutoAdd plugin disabling watched folders by itself

Post by maxwolfie »

I should note that I am running the daemon on a separate PC and within a VM on that PC. The actual drive that it is saving to is a network drive on the VM (the drive is physically in the VM host PC). I can add/delete files from the network drive from within the VM, so I am not sure if it's a permission issue or not.

I am accessing Deluge from my main desktop using the Thin Client.
Post Reply