[Tex/LaTex] Sorry, but “MiKTeX Compiler Driver” did not succeed. FATAL texify – BibTeX failed for some reason

miktex

I am trying to run some latex files on a new computer. I am using an external hard drive that is a direct copy of my previous computer so the files all should be fine, however I am getting the error:

Sorry, but "MiKTeX Compiler Driver" did not succeed.
The log file hopefully contains the information to get MiKTeX going again:
  C:/Users/******/AppData/Local/MiKTeX/2.9/miktex/log/texify.log
You may want to visit the MiKTeX project page, if you need help.

I have found lots of threads on this, but none of the solutions given have worked for me. I have tried deleting aux files and re-running, I have tried running from command prompt, I have tried uninstalling and reinstalling MiKTeX, I have tried running initexmf –mkmaps –verbose from the command prompt. The log file it directs me too reads as follows:

2018-03-15 11:36:30,425Z INFO  texify - starting with command line: 
"C:\Program Files\MiKTeX 2.9\miktex\bin\x64\texify.exe" --pdf --synctex=1 --clean warwickthesis.tex
2018-03-15 11:36:49,382Z FATAL texify - BibTeX failed for some reason.
2018-03-15 11:36:49,382Z FATAL texify - Info: 
2018-03-15 11:36:49,382Z FATAL texify - Source: 
Programs\MiKTeX\texify\mcd.cpp
2018-03-15 11:36:49,382Z FATAL texify - Line: 1286

I have since tried running just pdflatex – this works but obviously does not create references etc. Running just bibtex does not work and returns this in the blg file:

This is BibTeX, Version 0.99dThe top-level auxiliary file: warwickthesis.aux
The style file: unsrt.bst
Database file #1: library.bib
Repeated entry---line 1242 of file library.bib
 : @article{Takishita2015
 :                       ,
I'm skipping whatever remains of this entry
Repeated entry---line 1396 of file library.bib
 : @article{Grassie2005
 :                     ,
I'm skipping whatever remains of this entry
Warning--I didn't find a database entry for "Haidemenopoulos2016"
Warning--I didn't find a database entry for "Hughes2015"
Warning--I didn't find a database entry for "Blitz1997"
Warning--I didn't find a database entry for "Bieber1998"
Warning--I didn't find a database entry for "Tian2005"
Warning--I didn't find a database entry for "Mina1997"
Warning--I didn't find a database entry for "Drinkwater2006"
Warning--I didn't find a database entry for "Grimberg2006"
Warning--I didn't find a database entry for "Edwards2008a"
Warning--I didn't find a database entry for "Gros1999"
Warning--I didn't find a database entry for "Hughes2014"
Warning--I didn't find a database entry for "Honarvar2013"
Warning--I didn't find a database entry for "Alvarez-Arenas2013"
Warning--I didn't find a database entry for "Kang2017"
... etc (few more of these)
Warning--empty journal in Ewert2013
Warning--can't use both author and editor fields in Achenbach1999
Warning--empty journal in Blake1990
Warning--empty note in Thring2018
(There were 2 error messages)

This is odd as the references are in my library created by Mendeley and the referencing works fine on a different computer.

Any suggestions?

Best Answer

I also encounter a similar problem. I.E. MiKTeX compiler driver did not succeed.

The problem is that I give the LaTeX file a name that with spaces. When I deleted all the spaces in the file name, then everything was fine.