Retry following "Error renaming folder. . ."

Want something added? Ask for it here.
Post Reply
aptalca
Newbie
Newbie
Posts: 8
Joined: January 24th, 2011, 9:12 am

Retry following "Error renaming folder. . ."

Post by aptalca »

Lately I have been getting a lot of errors for renaming the folder (removing the "_unpack_" tag) at the end of post-processing because I am on windows and it is paranoid about concurrent file access. Because of that, couch potato or sickbeard never process the file.

I think it would be great if sab retried that rename function a minute or two later, because then, it should be able to do it.

Thanks
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Retry following "Error renaming folder. . ."

Post by shypike »

It does: 10 times with 5 second intervals.
But even that isn't always enough.
For some platforms (like WHS) you need to disable it altogether.

Look here for more info: http://wiki.sabnzbd.org/configure-special
Item "folder_rename".
aptalca
Newbie
Newbie
Posts: 8
Joined: January 24th, 2011, 9:12 am

Re: Retry following "Error renaming folder. . ."

Post by aptalca »

hmm I see. So windows keeps it locked for over 50 seconds??

It must be the antivirus software.

I'd rather not turn off the rename feature as it would cause problems with cp and sickbeard.

But is there a way to extend the time between retries?

Thanks
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Retry following "Error renaming folder. . ."

Post by shypike »

Hack the source code :)
aptalca
Newbie
Newbie
Posts: 8
Joined: January 24th, 2011, 9:12 am

Re: Retry following "Error renaming folder. . ."

Post by aptalca »

:D I knew you were going to say that. Unfortunately I am just a highly curious end user and my coding abilities extend no further than basic html/css
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Retry following "Error renaming folder. . ."

Post by shypike »

It's pretty hopeless and with Windows Home Server, it's terminally insane.
I can increase attempts and interval, but where does it end?
It will hold up the post-processing queue.
Post Reply