Page 1 of 1

Very Minor bug: Failed to rename 'log.txt'

Posted: Tue Apr 28, 2020 3:28 pm
by arachnaut
Using version 7.6.9 and see a few nits like this in the Windows 10 Application Error log:

C:\Program Files (x86)\FAHClient\FAHClient.exe
Exception: Failed to rename 'log.txt' to 'logs\log-20200428-131910.txt': The process cannot access the file because it is being used by another process.

C:\Program Files (x86)\FAHClient\FAHClient.exe
Exception: Failed to rename 'log.txt' to 'logs\log-20200428-131911.txt': The process cannot access the file because it is being used by another process.

C:\Program Files (x86)\FAHClient\FAHClient.exe
Exception: Failed to rename 'log.txt' to 'logs\log-20200428-132012.txt': The process cannot access the file because it is being used by another process.

Re: Very Minor bug: Failed to rename 'log.txt'

Posted: Mon May 04, 2020 2:41 pm
by muziqaz
These appear during the WU clean up process. WU is still being sent (or failing to be sent), and fahclient is trying to clean up the slot, and since WU files are attempting to upload, they are still in use.
This happens very often when you delete the slot in the middle of the running WU, and create new slot next to it. Fahclient just tries to clean deleted slot data, but it is still attempting to send the data to overloaded servers, thus cannot delete file which is being used.
Eventually that all clears up :)

Re: Very Minor bug: Failed to rename 'log.txt'

Posted: Mon May 04, 2020 5:02 pm
by Joe_H
Do you have an anti-virus or anti-malware application running on the system? These errors may be from the file being locked by being accessed from such software. If you running these, we recommend excluding the data directory from scans.