Although I activated this option I still receive error logs like this: Is this a bug or do I understand the setting wrong?Log -> If a file cannot be copied because it was deleted before it could be copied then make it a warning and not a failure
Before posting, and to avoid disappointment, please read the following:
- This forum is not for 2BrightSparks to provide technical support. It's primarily for users to help other users. Do not expect 2BrightSparks to answer any question posted to this forum.
- If you find a bug in any of our software, please submit a support ticket. It does not matter if you are using our freeware, a beta version or you haven't yet purchased the software. We want to know about any and all bugs so we can fix them as soon as possible. We usually need more information and details from you to reproduce bugs and that is better done via a support ticket and not this forum.
- If you are entitled to technical support then please submit a support ticket. Please do not post the same question to the forum and also via a support ticket. Once again, 2BrightSparks does not provide technical support via this forum.
Warning instead of failure for not copied deleted files does not work
-
- Knowledgeable
- Posts: 27
- Joined: Mon Nov 13, 2017 1:00 pm
Warning instead of failure for not copied deleted files does not work
In the settings, there is an option:
-
- Expert
- Posts: 606
- Joined: Tue May 31, 2011 5:59 pm
Re: Warning instead of failure for not copied deleted files does not work
Works for me (just tested with Pro x64 8.5.25.0). I think it's because the initial error returned by Windows in your case (when the APIs that SB tries to use to process the file in question are called) is not the expected trigger error. Your error states the file cannot be read, not that it cannot be found; I think the latter is what SB is programmed to detect/react to.
Easy test (takes less time to set up than to type...)
Why you're getting a different error when it first tries to copy that journal file I can't say (maybe an accident of timing: trying to read it while Thunderbird is deleting it, maybe?), but of course we don't know exactly what TBird is doing with that file, nor when. In any case, I think the fact it doesn't return the error SB is expecting sends SB down a different logical path. Issue may also be linked to TBird security (I seem to remember funny things sometimes happening access-control-wise when I used to use/back-up TBird some years ago).
Easy test (takes less time to set up than to type...)
- make a simple profile set to copy a file from a temp dummy Source folder on your C drive (or elsewhere if preferred) to >
- make another temp/dummy Destination likewise
- make sure the required logging option is on
- add a test file to the dummy Source (I called mine ghost_test.txt)
- Run the test profile manually (not Unattended; we need the Differences window to open/pause)
- when the Differences window opens, let it pause while you use Explorer to manually delete the file ghost_test.txt
- now click Continue in SB UI, let it finish & and check your log - you should see it recorded as a Warning
Code: Select all
16:23:48=LocationsNormal.TNormalLocation.CopyFromFile.524:\ghost_test.txt
16:23:48=[E]:FSWrapper.TFSWrapper.WideCopyFile.452:H:\ghost_test.txt: The system cannot find the file specified (2) [Z:\DATA\H_VERSIONED\SBSE____.X0X]
16:23:48=[E]:FSWrapper.TFSWrapper.NonShellCopyFile.1061:H:\ghost_test.txt: The system cannot find the file specified (2) [Z:\DATA\H_VERSIONED\SBSE____.X0X]
16:23:48=[E]:FSWrapper.TFSWrapper.NonShellCopyFile.1105:H:\ghost_test.txt: The system cannot find the file specified (2) [Z:\DATA\H_VERSIONED\SBSE____.X0X, Cannot copy file (2): The system cannot find the file specified The file may have been deleted between the time it was scanned and the attempt to copy it was made]
16:23:48=[E]:WindowsFS.TWindowsFS.FileExists.2298:Z:\DATA\H_VERSIONED\SBSE____.X0X: The system cannot find the file specified (2)
16:23:48=[E]:FSWrapper.TFSWrapper.NonShellDeleteFile.2253:Z:\DATA\H_VERSIONED\SBSE____.X0X [Does not exist]
16:23:48=[W]:ProfileEngine.pCopyFile.8487:\ghost_test.txt [File to copy missing]
16:23:48=[W]:ProfileEngine.TRunProfile.WarningMessage.14376:\ghost_test.txt [\ghost_test.txt:The file may have been deleted between the time it was scanned and the attempt to copy it was made]
16:23:48=[W]:Log.TLog.AddFileStatus.889:\ghost_test.txt [The file may have been deleted between the time it was scanned and the attempt to copy it was made]
-
- Knowledgeable
- Posts: 27
- Joined: Mon Nov 13, 2017 1:00 pm
Re: Warning instead of failure for not copied deleted files does not work
This is nothing specially related to TB. I needed to add several filters for different temp files like the cache files of Google Chrome, too. All throw errors if the file is not found anymore.
I will post my test results later.
I will post my test results later.
-
- 2BrightSparks Staff
- Posts: 480
- Joined: Mon Jan 05, 2004 6:51 pm
Re: Warning instead of failure for not copied deleted files does not work
Hi, could you submit a support ticket with a debug log? When using FTP the files are opened a different way (by the FTP component itself) so it's possible that it's not being noticed that the file doesn't exist. We'll also do some tests to see if we can reproduce it. Thanks.
-
- 2BrightSparks Staff
- Posts: 480
- Joined: Mon Jan 05, 2004 6:51 pm
Re: Warning instead of failure for not copied deleted files does not work
Hi, we've found and squashed the bug. A beta is available:
https://www.2brightsparks.com/assets/so ... _Setup.exe
https://www.2brightsparks.com/assets/so ... _Setup.exe
https://www.2brightsparks.com/assets/so ... _Setup.exe
https://www.2brightsparks.com/assets/so ... _Setup.exe
-
- Knowledgeable
- Posts: 27
- Joined: Mon Nov 13, 2017 1:00 pm
Re: Warning instead of failure for not copied deleted files does not work
Wow that was fast. I installed the beta, raised the log files to 50 (to check for warnings) and will give feedback in a few days.
-
- Knowledgeable
- Posts: 27
- Joined: Mon Nov 13, 2017 1:00 pm
Re: Warning instead of failure for not copied deleted files does not work
Final feedback: It works. Thanks!