Page 1 of 1
Retry following "Error renaming folder. . ."
Posted: January 24th, 2011, 9:24 am
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
Re: Retry following "Error renaming folder. . ."
Posted: January 24th, 2011, 11:28 am
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".
Re: Retry following "Error renaming folder. . ."
Posted: January 24th, 2011, 3:43 pm
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
Re: Retry following "Error renaming folder. . ."
Posted: January 25th, 2011, 2:53 am
by shypike
Hack the source code

Re: Retry following "Error renaming folder. . ."
Posted: January 26th, 2011, 1:27 pm
by aptalca

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
Re: Retry following "Error renaming folder. . ."
Posted: January 26th, 2011, 6:08 pm
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.