#851 Compilation doesn't wait for termination of biber

None
fixed
nobody
None
1
2013-12-01
2013-11-09
Uwe Ryssel
No

I use TeXstudio 2.6.6 with BibLaTeX and the biber tool (I selected txs:///biber as standard bibliography tool in the options) in Windows XP and 7. BibLaTeX and biber are from MikteX 2.9 (latest update).

When I compile a LaTeX file (using F6), in which the bibliography has changed, I get following compilation steps:

Process started: pdflatex ...
(some seconds delay)
Process started: biber ...
(no delay!!!)
Process started: pdflatex ...
(some seconds)
(log output from biber with errors)
...
(the same again many times, until TeXstudio will give up)

It seems to me, that TeXstudio doesn't wait for the termination of biber. Instead biber and pdflatex will be started in parallel, resulting in conflicts reading/writing from/to the same files.

When I start biber independently (using F11) and thereafter start pdflatex again (F6) there are no errors.

Discussion

  • Marcel

    Marcel - 2013-11-11

    Hey!

    Can you make a screenshot from Options -> Configure TXS -> Commands and Options -> Configure TXS -> Build ?

    Thanks!

     
  • Uwe Ryssel

    Uwe Ryssel - 2013-11-11

    I've made the screenshots. Be aware that I use the german version.

     
  • Denis Bitouzé

    Denis Bitouzé - 2013-11-11

    Le lundi 11/11/13 à 18h07,
    "Uwe Ryssel" uweryssel@users.sf.net a écrit :

    Be aware that I use the german version.

    You could just go to Optionen -> TeXstudio Konfigurieren and choose "en"
    in "Sprache" combo list.
    --
    Denis

     
  • Marcel

    Marcel - 2013-11-11

    Thank you. I use the german version, too. So it is no problem for me.

    What is the Command for txs:///pdflatex? Maybe you can make also a screenshot of
    Options -> Configure TXS -> Commands

    My txs:///pdflatex is pdflatex -synctex=1 -interaction=nonstopmode %.tex and i have no problems with that.

    On the screenshots of "Options -> Configure TXS -> Build" i see no bug. Maybe it is a latex+biblatex+biber problem, because it is strange, that TeXstudio doesn't wait for the termination of biber, but F6 after F6 works. So a minimal working example will be helpfull.

    Marcel

     
  • Uwe Ryssel

    Uwe Ryssel - 2013-11-14

    Yes, txs:///pdflatex is also pdflatex -synctex=1 -interaction=nonstopmode %.tex in my case.

    I have analysed it a bit more. The wrong behaviour depends on the cause, which needs biber to run:

    If I change the bib file, biber will be called properly, i.e., the second pdflatex is called right after the termination of biber.

    But if I add a \cite command with a key, which I haven't used already in my text (and the bib file is not changed), the behavior I have described in the bug report will occur.

     
  • Uwe Ryssel

    Uwe Ryssel - 2013-11-19

    I've attached a minimal example to reproduce the bug. The zip file contains two tex files for both biber and bibtex, since the bug occurs with both tools, and a bib file.

    1) Load one of the examples into TeXstudio.
    2) Compile with F6 -> perhaps bug occurs already at this point.
    3) Change bibliography.bib.
    4) F6 -> all OK
    5) Remove % in line %\cite{bib:entry2}.
    6) F6 -> bug occurs, i.e., pdflatex starts without waiting for termination of biber/bibtex.

    I've compiled TeXstudio myself and added some debug outputs in buildmanager.cpp's method
    BuildManager::runCommandInternal.

    In step (4) the flag RCF_WAITFORFINISHED is set for both pdflatex and biber. But in step (6) the flag is not set, which results in the described bug.

     
  • Jaroslav Fait

    Jaroslav Fait - 2013-11-19

    I have exactly same problem. I use updated Miktex 2.9 - XELATEX - TeXstudio 2.6.6. Similar behavior has also editor Eclipse/Texlipse. I think, that this is a strange bug.

     
  • Marcel

    Marcel - 2013-11-20

    This is a really strange behavior. The minimal example produced the errors on my system. I use miktex 64bit, Biber 1.8 and biblatex v2.8.

    In earlier versions, biber+miktex 64bit produce some bugs (http://www.golatex.de/biblatex-erstellt-nix-assertion-failed-t10861.html). so maybe this is not a texstudio bug.

    Do you use miktex 32bit or 64bit?

     
  • Jaroslav Fait

    Jaroslav Fait - 2013-11-20

    I use 32bit version of tte Miktex (exactly XeTeX, Version 3.1415926-2.5-0.9999.3 (MiKTeX 2.9)), windows 7 64bit, biber 1.8, Texstudio 2.6.6. When I tried to use biber via command line, I got strange warning:

    WARN - Warning: Found biblatex control file version 2.4, expected version 2.5.

    I do not know if this is important.

     
  • Benito van der Zander

    • status: open --> fixed
    • Group: -->
     
  • Benito van der Zander

    Fixed in 4164:d5d5cd15640d

    (I think, could not reproduce it)

     
  • Marcel

    Marcel - 2013-12-01

    With the new snapshot there are no errors and TeXstudio does wait for the termination of biber.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks