Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyncTeX stays busy since 4.8.0 update #3655

Open
Ayio13 opened this issue May 18, 2024 · 2 comments
Open

SyncTeX stays busy since 4.8.0 update #3655

Ayio13 opened this issue May 18, 2024 · 2 comments

Comments

@Ayio13
Copy link

Ayio13 commented May 18, 2024

Environment

  • TeXstudio: 4.8.0
  • Qt: 6.7.0
  • OS: Windows 10
  • TeX distribution: miktex

Expected behavior

Synctex file switches from busy to gz, hence allowing jumping from pdf to source inside TeXstudio.

Actual behavior

Synctex file stays busy, error message is "SyncTeX: Can't rename file.synctex(busy) to file.synctex.gz"
The option of jumping to source doesn't appear in the right click menu.

I've read online that this can occur upon error in tex code or bad file name. However I never had this error before updating, miktex is up to date, it occurs on all tex files, with either pdflatex or lualatex, and the file name doesn't contain special characters. Since the exact same files don't have this issue on an older TeXstudio version (4.7.3), I suspect that it is caused by the update.

How to reproduce

Compiling generally yields the error. On rare instances syncTeX worked properly, but it never lasted more than 2 compilations.

@sunderme
Copy link
Member

as a starter: where do you see an error message ?

@Ayio13
Copy link
Author

Ayio13 commented May 18, 2024

Thanks for replying; the error is displayed in the "Messages" window below the editor (not in "log" window).

Upon more testing, I found out that the error occurs only for files that are on an external drive. I also tested with TeXmaker and a similar problem occurs: I can't jump from pdf to source. The main difference is that on TeXmaker the synctex file properly switches from busy to normal. TeXmaker also works fine on local files (not on drive).

So it seems like the main problem comes from my pc, yet I am curious to why both editors don't have the same error (even if it leads to the same practical issue). I'm unsure that this still classifies as a TeXstudio issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants