## #1997 Compiling a temporary version of the file, because of nonexistence of the TEX root

None
fixed
nobody
None
1
5 days ago
2016-12-14
Anonymous
No

I think I have founda bug which was hard for me to trace for a long time. I had this problem that occastionally when I compiled a file, texstudio would generate a temporary version and compile that one instead. This caused the files in the current directory not being seen, and I would get an error say that such and such file used in the \inpu{} command is not found.

Eventually, I realized that the problem goes back to have a line "% !TEX root = old_file.tex" leftover from a previous iteration. The file "old_file.tex" no longer exists and apparently is the cause of this strange behavior. Removing that line fixes the problem. The issue is present as of TeXstudio 2.11.2.

A more graceful behavior is to recognize that the file does not exist and give the approperite error.

## Discussion

• Jan Sundermeyer - 5 days ago

new versions of the tex file were produced by dropbox folders. This should be fixed with 2.12.0

• Jan Sundermeyer - 5 days ago
• status: open --> fixed
• Group: -->

No, thanks