The following MWE does not compile a proper bibliography using biblatex with either biber
or bibtex
backends in TeXstudio (version info below) – but only on Windows 10; none of the following give any errors on my Ubuntu boot:
\documentclass{article}
\usepackage[backend=bibtex]{biblatex} % also tried backend=biber
\bibliography{tmp}
\begin{filecontents}{tmp.bib}
@Article{Ashburner2005,
author = {Ashburner, John and Friston, Karl J},
title = {{Unified segmentation.}},
journal = {NeuroImage},
year = {2005}
}
\end{filecontents}
\begin{document}
\cite{Ashburner2005}
\printbibliography
\end{document}
The error messages I receive are
bibtex:
Process started: bibtex.exe "tmp"
I couldn't open file name `tmp.blg'
Process exited normally
biber:
Can't open tmp.blg (Permission denied) at C:\Users\Jesse\AppData\Local\Temp\par-4a65737365\cache-02947398048c143181ebb9c4e483433d2665ac35\inc\lib/Log/Log4perl/Appender/File.pm line 151.
and in both cases the PDF is the unformatted [Ashburner2005], nothing else.
Every time I compile, I clean all files except the .tex
files from this directory. I've tried compiling from the command line and via TeXstudio.
Some other possibly useful info from the .log
file
...
file 'biblatex-dm.cfg' not found.
...
Package biblatex Info: ... file 'tmp.bbl' not found.
...
This seems to be a recent issue. I haven't used Windows in a while … I'm completely stumped. I suspect it is from a MikTeX update? Questions:
-
Why is this behavior different with OS?
-
Can you compile my MWE without issue?
-
What is the problem / how can I fix it?
Seems to be related to this one.
Versions:
TeXstudio 2.12.6 (hg 6632:7777b2b8a906) Using Qt Version 5.9.1, compiled with Qt 5.9.1 R
MiKTeX-pdfTeX 2.9.6499 (1.40.18) (MiKTeX 2.9.6500 64-bit)
Best Answer
Turns out Bitdefender was silently blocking
biber.exe
andbibtex.exe
. What an obnoxious "feature".Sorry for wasting everybody's time.