Skip to content

Bibtex can not save file when Tex Studio is open on Windows 11 #11916

Open

Description

JabRef version

5.15 (latest release)

Operating system

Windows

Details on version and operating system

JabRef 5.15--2024-07-10--1eb3493; Windows 11 10.0 amd64; Java 21.0.2; JavaFX 22.0.1+7

Checked with the latest development build (copy version output from About dialog)

  • I made a backup of my libraries before testing the latest development version.
  • I have tested the latest development version and the problem persists

Steps to reproduce the behaviour

If Texstudio is open, Jabref can not save the file.

Sometimes if I compile the document and try to save the .bib file during the compile it will save.

The issue is the same as reported here https://tex.stackexchange.com/questions/727245/jabref-cannot-save-file-while-texstudio-is-running

The issue has to do with Windows holding access to the file. See the errors below.

org.jabref.logic.exporter.SaveException: Problems saving: java.nio.file.FileSystemException: C:\Users\adowney2\Downloads\Curriculum_vitae\publications.bib.tmp -> C:\Users\user2\Downloads\Curriculum_vitae\publications.bib: The process cannot access the file because it is being used by another process
at org.jabref@5.15.60000/org.jabref.gui.exporter.SaveDatabaseAction.saveDatabase(Unknown Source)
at org.jabref@5.15.60000/org.jabref.gui.exporter.SaveDatabaseAction.save(Unknown Source)
at org.jabref@5.15.60000/org.jabref.gui.exporter.SaveDatabaseAction.save(Unknown Source)
at org.jabref@5.15.60000/org.jabref.gui.exporter.SaveDatabaseAction.save(Unknown Source)

Appendix

...

Log File
Paste an excerpt of your log file here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

bugConfirmed bugs or reports that are very likely to be bugsexternal files

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions