Hi,
Being a loong time paying user of VDH I have run into this EPERM rename problem many times. As I understand it, the developer cannot recreate the problem. Unfortunately, so can MANY of us users.
It appears to be unpredictable. Suggestions and possible fixes run in all directions, including that there are something wrong with the disks, the file (which is only used by VDH, when you download for the first time) is in use, etc.
So, my understanding is that no one really has any idea of what it is.
Numerous users report that changing disk etc. cannot be the problem. Why would VDH work on one video but not on another, when the download directory is unchanged for years.
It must be a specific coding bug, since this type of problem does not occur in other programs, but must then be a subtle one, since it cannot be recreated by the developer.
So, I am wondering about what the difference is btw the developers system and the annoyed user's.
One thing can be is VDH is using more than one thread. This is sometimes difficult to know, if you are not very familiar with the structure of the underlying APIs. On a loaded machine, one thread may accidentally lock out another, due to slowness in the OS.
It seems to appear more often in larger downloads than in shorter ones. So, one place to look is if the close operation of one file has really terminated or the corresponding API just returns after having started the thread, instead of after the closure of the file and release of the lock. There are many other setups also.
So, my suggestion is that the part of the code where the rename operation is performed is rewritten slightly - and e.g. put in a 1 sec delay somewhere, to see if that makes a difference.
Furthermore, I suggest that the developer, after not having been able to solve this problem for years, try to use one of us users, in trying to debug the problem, and perhaps install a test version, to see if that cures the problem. Mind you though, this can be triggy, since if it has to do with a race condition, any tweaking with the system may seem to alleviate the problem, whereas it may pop up at other users.
The users I know having switched from VDH all did it because of this problem. Sp, it is worth looking more into, that just stating that it cannot be recreated. The earth is round - even though you may not be able to see it from where you stand :-)