Strange, since we should ignore the .tmp file in that case, until Photoshop renames it at the end.
But it may turn out to be the same issue as with Blender files on that network drive...
We could try adding .blend@
to our exclusions list like .tmp
but, after looking at the ProcMon logs you sent (many thanks!), I am not sure if it would fix the problem. I'm not sure Opus is really the cause.
I found the event where Blender failed to open a file for writing (Sharing Violation error, which makes sense so far). The name ended in ...Into and Outro.blend@
.
I filtered the log on all paths containing Into and Outro.blend
, with or without the @
.
Lines including the @
are highlighted in light blue.
The line where Blender can't open the file is selected in dark blue.
You mentioned that you saved everything twice, as the first run succeeded. I think most of the activity earlier on can be ignored in that case, and we can focus on what happens from 08:23:32 onwards.
(Also, the last two dopus.exe/QueryDirectory events just before that, at 08:24:20, indicate Opus looked for the .blend@
file but it did not exist at that point in time. I think that is Opus processing a backlog of change events and testing if a new file still exists, then finding it doesn't exist.)
Focusing on just the bottom, then:
This seems to show Opus only tries to open the file after Blender fails to open it. It's possible the real order of events is different to what shows up in the log, perhaps, but there is a good half a second between them so I'm not sure it could be out of order.
The thing that opens the file before Blender is MsMpEng.exe
, Microsoft's antivirus.
Having Opus monitoring the directory could be triggering the antivirus to scan the files, perhaps, but it ultimately looks like the antivirus is what's holding the lock.
There is also a mystery here, which may mean I've missed part of the picture: I can't see where the .blend@
file that gets locked is actually created. It may be created under another name and then renamed to .blend@
, but I wasn't able to find it that event, even with all filtering turned off in the log. It's possible I missed it in the other details, but could also indicate something unusual going on with the logging or the way the network server works.
In any case, though, it appears to be Microsoft's antivirus which is locking the file, not Opus, at least assuming the order of events in the log is correct.
There's a report of a similar issue with Microsoft's antivirus here, where adding the folder to the exclusions list fixed things:
That might be worth a try for both the Blender and Photoshop issues on that network drive.