SyncTeX: Can't rename XXX.synctex(busy) to XXX.synctex.gz
Environment; TeXstudio 4.8.3 (git 4.8.3) Using Qt Version 6.7.2, compiled with Qt 6.7.2 R Windows11 Miktex
Expected behavior: XXX.synctex(busy) is renamed to XXX.synctex.gz
Actual behavior: A file called XXX.synctex(busy) remains, and XXX.synctex.gz is not created. As a result, some of texstudio's interactive features (like "Go to source" and "Go to PDF" do not (obviously) work).
How to reproduce Happens ALMOST every time I try to compile.
Details I have an older version of Texstudio (4.3.0) running on Windows11 on a different laptop with no issues.
I encountered a situation similar to yours during the programming process. The compiler reported: "SyncTeX: Can't rename main.synctex(busy) to main.synctex.gz". After comprehensive checks, I found that it was caused by special characters in the file path, such as spaces. Maybe you just need to check the file storage location. Another similar situation happened to my friend. He stored the .tex file on a mobile hard drive, but the compiler didn't have the permission to modify it, which led to this problem. My environment is Win 10 and XeLaTex. I hope this can be helpful to you.
I have the same problem on texstudio 4.8.4.
My problem is sporadic. Often if I compile again, the error goes away.