James-Yu / LaTeX-Workshop

Boost LaTeX typesetting efficiency with preview, compile, autocomplete, colorize, and more.
MIT License
10.74k stars 535 forks source link

Unable to get the citations working properly #4453

Closed Alex2134556 closed 2 weeks ago

Alex2134556 commented 2 weeks ago

Please fill the following fields with a star (*) and provide as much related information as possible.

Pre-checks*

Please change the following [ ] to [x] for confirmation.

  • [x] The issue has not been reported in this repository.
  • [x] The issue remains after disabling all other extensions and restarting Visual Studio Code.
  • [x] The FAQ cannot address the issue.
  • [ ] The issue is not related to compiling a document, or the document can be successfully compiled in the OS terminal but not in Visual Studio Code with this extension.

Environment*

Please write exact version numbers instead of descriptors such as latest.

  • Operating System: Mac Latest
  • Visual Studio Code Version: Latest
  • LaTeX Workshop Version: Latest
  • The Issue*

    Please briefly describe the issue you come across.

I am unable to get the citations working properly. Everything besides that work properly on VSCode. The pdf file compiles perfectly on Overleaf as well, however the moment I add citations in my Latex file and compile on VSCode it doesn't work. I have reran the building process multiple times as well, and previously it would at most need one extra compilation to work.

Reproduction Steps

Please list out the steps to reproduce your bug. Include relevant environmental variables or any other configuration. For me, running the code

\documentclass{article}
\usepackage[backend=biber,style=numeric,sortcites,natbib=true]{biblatex}
\addbibresource{MHDCitations.bib}  
\begin{document}  
\cite{Aarach2023} 
\printbibliography    
\end{document}

Expected Behavior

What were you expecting to see? Include any relevant examples or documentation links.

Logs

LaTeX Workshop Output*

Please paste the whole log messages below, not parts of ones. The log should start with New log placeholder %WS1% registered.


This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023) (preloaded format=pdflatex 2024.2.21)  4 NOV 2024 10:22
entering extended mode
restricted \write18 enabled.
file:line:error style messages enabled.
%&-line parsing enabled.
**"/Users/HydrostaticNSM/Hydrostatic NSM.tex"
(/Users/HydrostaticNSM/Hydrostatic NSM.tex
LaTeX2e <2023-11-01> patch level 1
L3 programming layer <2024-02-20>
(/usr/local/texlive/2023/texmf-dist/tex/latex/base/article.cls
Document Class: article 2023/05/17 v1.4n Standard LaTeX document class
(/usr/local/texlive/2023/texmf-dist/tex/latex/base/size10.clo
File: size10.clo 2023/05/17 v1.4n Standard LaTeX file (size option)
)
\c@part=\count188
\c@section=\count189
\c@subsection=\count190
\c@subsubsection=\count191
\c@paragraph=\count192
\c@subparagraph=\count193
\c@figure=\count194
\c@table=\count195
\abovecaptionskip=\skip48
\belowcaptionskip=\skip49
\bibindent=\dimen140
) (/usr/local/texlive/2023/texmf-dist/tex/latex/biblatex/biblatex.sty
Package: biblatex 2023/03/05 v3.19 programmable bibliographies (PK/MW)
(/usr/local/texlive/2023/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty
Package: pdftexcmds 2020-06-27 v0.33 Utility functions of pdfTeX for LuaTeX (HO)
(/usr/local/texlive/2023/texmf-dist/tex/generic/infwarerr/infwarerr.sty
Package: infwarerr 2019/12/03 v1.5 Providing info/warning/error messages (HO)
) (/usr/local/texlive/2023/texmf-dist/tex/generic/iftex/iftex.sty
Package: iftex 2022/02/03 v1.0f TeX engine tests
) (/usr/local/texlive/2023/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty
Package: ltxcmds 2023-12-04 v1.26 LaTeX kernel commands for general use (HO)
)
Package pdftexcmds Info: \pdf@primitive is available.
Package pdftexcmds Info: \pdf@ifprimitive is available.
Package pdftexcmds Info: \pdfdraftmode found.
) (/usr/local/texlive/2023/texmf-dist/tex/latex/etoolbox/etoolbox.sty
Package: etoolbox 2020/10/05 v2.5k e-TeX tools for LaTeX (JAW)
\etb@tempcnta=\count196
) (/usr/local/texlive/2023/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 2022/05/29 v1.15 key=value parser (DPC)
\KV@toks@=\toks17
) (/usr/local/texlive/2023/texmf-dist/tex/latex/kvoptions/kvoptions.sty
Package: kvoptions 2022-06-15 v3.15 Key value format for package options (HO)
(/usr/local/texlive/2023/texmf-dist/tex/latex/kvsetkeys/kvsetkeys.sty
Package: kvsetkeys 2022-10-05 v1.19 Key value parser (HO)
)) (/usr/local/texlive/2023/texmf-dist/tex/latex/logreq/logreq.sty
Package: logreq 2010/08/04 v1.0 xml request logger
\lrq@indent=\count197
(/usr/local/texlive/2023/texmf-dist/tex/latex/logreq/logreq.def
File: logreq.def 2010/08/04 v1.0 logreq spec v1.0
)) (/usr/local/texlive/2023/texmf-dist/tex/latex/base/ifthen.sty
Package: ifthen 2022/04/13 v1.1d Standard LaTeX ifthen package (DPC)
) (/usr/local/texlive/2023/texmf-dist/tex/latex/url/url.sty
\Urlmuskip=\muskip16
Package: url 2013/09/16  ver 3.4  Verb mode for urls, etc.
)
\c@tabx@nest=\count198
\c@listtotal=\count199
\c@listcount=\count266
\c@liststart=\count267
\c@liststop=\count268
\c@citecount=\count269
\c@citetotal=\count270
\c@multicitecount=\count271
\c@multicitetotal=\count272
\c@instcount=\count273
\c@maxnames=\count274
\c@minnames=\count275
\c@maxitems=\count276
\c@minitems=\count277
\c@citecounter=\count278
\c@maxcitecounter=\count279
\c@savedcitecounter=\count280
\c@uniquelist=\count281
\c@uniquename=\count282
\c@refsection=\count283
\c@refsegment=\count284
\c@maxextratitle=\count285
\c@maxextratitleyear=\count286
\c@maxextraname=\count287
\c@maxextradate=\count288
\c@maxextraalpha=\count289
\c@abbrvpenalty=\count290
\c@highnamepenalty=\count291
\c@lownamepenalty=\count292
\c@maxparens=\count293
\c@parenlevel=\count294
\blx@tempcnta=\count295
\blx@tempcntb=\count296
\blx@tempcntc=\count297
\c@blx@maxsection=\count298
\blx@maxsegment@0=\count299
\blx@notetype=\count300
\blx@parenlevel@text=\count301
\blx@parenlevel@foot=\count302
\blx@sectionciteorder@0=\count303
\blx@sectionciteorderinternal@0=\count304
\blx@entrysetcounter=\count305
\blx@biblioinstance=\count306
\labelnumberwidth=\skip50
\labelalphawidth=\skip51
\biblabelsep=\skip52
\bibitemsep=\skip53
\bibnamesep=\skip54
\bibinitsep=\skip55
\bibparsep=\skip56
\bibhang=\skip57
\blx@bcfin=\read2
\blx@bcfout=\write3
\blx@langwohyphens=\language87
\c@mincomprange=\count307
\c@maxcomprange=\count308
\c@mincompwidth=\count309
Package biblatex Info: Trying to load biblatex default data model...
Package biblatex Info: ... file 'blx-dm.def' found.
(/usr/local/texlive/2023/texmf-dist/tex/latex/biblatex/blx-dm.def
File: blx-dm.def 2023/03/05 v3.19 biblatex localization (PK/MW)
)
Package biblatex Info: Trying to load biblatex style data model...
Package biblatex Info: ... file 'numeric.dbx' not found.
Package biblatex Info: Trying to load biblatex custom data model...
Package biblatex Info: ... file 'biblatex-dm.cfg' not found.
\c@afterword=\count310
\c@savedafterword=\count311
\c@annotator=\count312
\c@savedannotator=\count313
\c@author=\count314
\c@savedauthor=\count315
\c@bookauthor=\count316
\c@savedbookauthor=\count317
\c@commentator=\count318
\c@savedcommentator=\count319
\c@editor=\count320
\c@savededitor=\count321
\c@editora=\count322
\c@savededitora=\count323
\c@editorb=\count324
\c@savededitorb=\count325
\c@editorc=\count326
\c@savededitorc=\count327
\c@foreword=\count328
\c@savedforeword=\count329
\c@holder=\count330
\c@savedholder=\count331
\c@introduction=\count332
\c@savedintroduction=\count333
\c@namea=\count334
\c@savednamea=\count335
\c@nameb=\count336
\c@savednameb=\count337
\c@namec=\count338
\c@savednamec=\count339
\c@translator=\count340
\c@savedtranslator=\count341
\c@shortauthor=\count342
\c@savedshortauthor=\count343
\c@shorteditor=\count344
\c@savedshorteditor=\count345
\c@labelname=\count346
\c@savedlabelname=\count347
\c@institution=\count348
\c@savedinstitution=\count349
\c@lista=\count350
\c@savedlista=\count351
\c@listb=\count352
\c@savedlistb=\count353
\c@listc=\count354
\c@savedlistc=\count355
\c@listd=\count356
\c@savedlistd=\count357
\c@liste=\count358
\c@savedliste=\count359
\c@listf=\count360
\c@savedlistf=\count361
\c@location=\count362
\c@savedlocation=\count363
\c@organization=\count364
\c@savedorganization=\count365
\c@origlocation=\count366
\c@savedoriglocation=\count367
\c@origpublisher=\count368
\c@savedorigpublisher=\count369
\c@publisher=\count370
\c@savedpublisher=\count371
\c@language=\count372
\c@savedlanguage=\count373
\c@origlanguage=\count374
\c@savedoriglanguage=\count375
\c@pageref=\count376
\c@savedpageref=\count377
\shorthandwidth=\skip58
\shortjournalwidth=\skip59
\shortserieswidth=\skip60
\shorttitlewidth=\skip61
\shortauthorwidth=\skip62
\shorteditorwidth=\skip63
\locallabelnumberwidth=\skip64
\locallabelalphawidth=\skip65
\localshorthandwidth=\skip66
\localshortjournalwidth=\skip67
\localshortserieswidth=\skip68
\localshorttitlewidth=\skip69
\localshortauthorwidth=\skip70
\localshorteditorwidth=\skip71
Package biblatex Info: Trying to load compatibility code...
Package biblatex Info: ... file 'blx-compat.def' found.
(/usr/local/texlive/2023/texmf-dist/tex/latex/biblatex/blx-compat.def
File: blx-compat.def 2023/03/05 v3.19 biblatex compatibility (PK/MW)
)
Package biblatex Info: Trying to load generic definitions...
Package biblatex Info: ... file 'biblatex.def' found.
(/usr/local/texlive/2023/texmf-dist/tex/latex/biblatex/biblatex.def
File: biblatex.def 2023/03/05 v3.19 biblatex compatibility (PK/MW)
\c@textcitecount=\count378
\c@textcitetotal=\count379
\c@textcitemaxnames=\count380
\c@biburlbigbreakpenalty=\count381
\c@biburlbreakpenalty=\count382
\c@biburlnumpenalty=\count383
\c@biburlucpenalty=\count384
\c@biburllcpenalty=\count385
\biburlbigskip=\muskip17
\biburlnumskip=\muskip18
\biburlucskip=\muskip19
\biburllcskip=\muskip20
\c@smartand=\count386
)
Package biblatex Info: Trying to load natbib compatibility...
Package biblatex Info: ... file 'blx-natbib.def' found.
(/usr/local/texlive/2023/texmf-dist/tex/latex/biblatex/blx-natbib.def
File: blx-natbib.def 2023/03/05 v3.19 biblatex compatibility (PK/MW)
Package biblatex Info: Delimiter 'nameyeardelim' in context '' already defined, overwriting.
)
Package biblatex Info: Trying to load bibliography style 'numeric'...
Package biblatex Info: ... file 'numeric.bbx' found.
(/usr/local/texlive/2023/texmf-dist/tex/latex/biblatex/bbx/numeric.bbx
File: numeric.bbx 2023/03/05 v3.19 biblatex bibliography style (PK/MW)
Package biblatex Info: Trying to load bibliography style 'standard'...
Package biblatex Info: ... file 'standard.bbx' found.
(/usr/local/texlive/2023/texmf-dist/tex/latex/biblatex/bbx/standard.bbx
File: standard.bbx 2023/03/05 v3.19 biblatex bibliography style (PK/MW)
\c@bbx:relatedcount=\count387
\c@bbx:relatedtotal=\count388
))
Package biblatex Info: Trying to load citation style 'numeric'...
Package biblatex Info: ... file 'numeric.cbx' found.
(/usr/local/texlive/2023/texmf-dist/tex/latex/biblatex/cbx/numeric.cbx
File: numeric.cbx 2023/03/05 v3.19 biblatex citation style (PK/MW)
Package biblatex Info: Redefining '\cite'.
Package biblatex Info: Redefining '\parencite'.
Package biblatex Info: Redefining '\footcite'.
Package biblatex Info: Redefining '\footcitetext'.
Package biblatex Info: Redefining '\smartcite'.
Package biblatex Info: Redefining '\supercite'.
Package biblatex Info: Redefining '\textcite'.
Package biblatex Info: Redefining '\textcites'.
Package biblatex Info: Redefining '\cites'.
Package biblatex Info: Redefining '\parencites'.
Package biblatex Info: Redefining '\smartcites'.
)
Package biblatex Info: Trying to load configuration file...
Package biblatex Info: ... file 'biblatex.cfg' found.
(/usr/local/texlive/2023/texmf-dist/tex/latex/biblatex/biblatex.cfg
File: biblatex.cfg 
)
Package biblatex Info: Input encoding 'utf8' detected.
Package biblatex Info: Document encoding is UTF8 ....
(/usr/local/texlive/2023/texmf-dist/tex/latex/l3kernel/expl3.sty
Package: expl3 2024-02-20 L3 programming layer (loader) 
(/usr/local/texlive/2023/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def
File: l3backend-pdftex.def 2024-02-20 L3 backend support: PDF output (pdfTeX)
\l__color_backend_stack_int=\count389
\l__pdf_internal_box=\box51
))
Package biblatex Info: ... and expl3
(biblatex)             2024-02-20 L3 programming layer (loader) 
(biblatex)             is new enough (at least 2020/04/06),
(biblatex)             setting 'casechanger=expl3'.
(/usr/local/texlive/2023/texmf-dist/tex/latex/biblatex/blx-case-expl3.sty (/usr/local/texlive/2023/texmf-dist/tex/latex/l3packages/xparse/xparse.sty
Package: xparse 2024-02-18 L3 Experimental document command parser
)
Package: blx-case-expl3 2023/03/05 v3.19 expl3 case changing code for biblatex
))
\@quotelevel=\count390
\@quotereset=\count391
(./Hydrostatic NSM.aux)
\openout1 = `"Hydrostatic NSM.aux"'.

LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: Checking defaults for TS1/cmr/m/n on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 4. LaTeX Font Info: ... okay on input line 4. LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 4. LaTeX Font Info: ... okay on input line 4. Package biblatex Info: Trying to load language 'english'... Package biblatex Info: ... file 'english.lbx' found. (/usr/local/texlive/2023/texmf-dist/tex/latex/biblatex/lbx/english.lbx File: english.lbx 2023/03/05 v3.19 biblatex localization (PK/MW) ) Package biblatex Info: Input encoding 'utf8' detected. Package biblatex Info: Automatic encoding selection. (biblatex) Assuming data encoding 'utf8'. \openout3 = `"Hydrostatic NSM.bcf"'.

Package biblatex Info: Trying to load bibliographic data... Package biblatex Info: ... file '"Hydrostatic NSM".bbl' found. (./Hydrostatic NSM.bbl) Package biblatex Info: Reference section=0 on input line 4. Package biblatex Info: Reference segment=0 on input line 4.

LaTeX Warning: Citation 'Aarach2023' on page 1 undefined on input line 5.

LaTeX Warning: Empty bibliography on input line 6.

[1

{/usr/local/texlive/2023/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] (./Hydrostatic NSM.aux)


LaTeX2e <2023-11-01> patch level 1 L3 programming layer <2024-02-20>


LaTeX Warning: There were undefined references.

Package biblatex Warning: Please (re)run Biber on the file: (biblatex) "Hydrostatic NSM" (biblatex) and rerun LaTeX afterwards.

Package logreq Info: Writing requests to '"Hydrostatic NSM".run.xml'. \openout1 = `"Hydrostatic NSM.run.xml"'.

) Here is how much of TeX's memory you used: 8548 strings out of 474143 168225 string characters out of 5744766 1926187 words of memory out of 5000000 30870 multiletter control sequences out of 15000+600000 558377 words of font info for 37 fonts, out of 8000000 for 9000 1141 hyphenation exceptions out of 8191 66i,5n,81p,754b,1149s stack positions out of 10000i,1000n,20000p,200000b,200000s </usr/local/texlive/2023/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx10.pfb></usr/local/texlive/2023/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb> Output written on "Hydrostatic NSM.pdf" (1 page, 20225 bytes). PDF statistics: 18 PDF objects out of 1000 (max. 8388607) 10 compressed objects within 1 object stream 0 named destinations out of 1000 (max. 500000) 1 words of extra memory for PDF output out of 10000 (max. 10000000)

James-Yu commented 2 weeks ago

Please provide full extension log.

Alex2134556 commented 2 weeks ago
Latexmk: Couldn't find bcf file 'Hydrostatic NSM.bcf'
readline() on closed filehandle $bcf_fh at /Library/TeX/texbin/latexmk line 7179.
Rc files read:
  NONE
Latexmk: This is Latexmk, John Collins, 31 Jan. 2024. Version 4.83.
Latexmk: Getting log file 'Hydrostatic NSM.log'
Latexmk: Examining 'Hydrostatic NSM.log'
Latexmk: Found input bbl file 'Hydrostatic NSM.bbl'
Latexmk: Log file says output to 'Hydrostatic NSM.pdf'
Latexmk: Bibliography file(s) from .bcf file:
  NONE
No existing .aux file, so I'll make a simple one, and require run of *latex.
Latexmk: applying rule 'pdflatex'...
Rule 'pdflatex':  Reasons for rerun
Category 'other':
  Rerun of 'pdflatex' forced or previously required:
    Reason or flag: 'Initial setup'

------------
Run number 1 of rule 'pdflatex'
------------
------------
Running 'pdflatex  -synctex=1 -interaction=nonstopmode -file-line-error -recorder  "/Users/HydrostaticNSM/Hydrostatic NSM.tex"'
------------
This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023) (preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(/Users/HydrostaticNSM/Hydrostatic NSM.tex
LaTeX2e <2023-11-01> patch level 1
L3 programming layer <2024-02-20>
(/usr/local/texlive/2023/texmf-dist/tex/latex/base/article.cls
Document Class: article 2023/05/17 v1.4n Standard LaTeX document class
(/usr/local/texlive/2023/texmf-dist/tex/latex/base/size10.clo)) (/usr/local/texlive/2023/texmf-dist/tex/latex/biblatex/biblatex.sty (/usr/local/texlive/2023/texmf-dist/tex/generic/pdftexcmds/pdftexcmds.sty (/usr/local/texlive/2023/texmf-dist/tex/generic/infwarerr/infwarerr.sty) (/usr/local/texlive/2023/texmf-dist/tex/generic/iftex/iftex.sty) (/usr/local/texlive/2023/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty)) (/usr/local/texlive/2023/texmf-dist/tex/latex/etoolbox/etoolbox.sty) (/usr/local/texlive/2023/texmf-dist/tex/latex/graphics/keyval.sty) (/usr/local/texlive/2023/texmf-dist/tex/latex/kvoptions/kvoptions.sty (/usr/local/texlive/2023/texmf-dist/tex/latex/kvsetkeys/kvsetkeys.sty)) (/usr/local/texlive/2023/texmf-dist/tex/latex/logreq/logreq.sty (/usr/local/texlive/2023/texmf-dist/tex/latex/logreq/logreq.def)) (/usr/local/texlive/2023/texmf-dist/tex/latex/base/ifthen.sty) (/usr/local/texlive/2023/texmf-dist/tex/latex/url/url.sty) (/usr/local/texlive/2023/texmf-dist/tex/latex/biblatex/blx-dm.def) (/usr/local/texlive/2023/texmf-dist/tex/latex/biblatex/blx-compat.def) (/usr/local/texlive/2023/texmf-dist/tex/latex/biblatex/biblatex.def) (/usr/local/texlive/2023/texmf-dist/tex/latex/biblatex/blx-natbib.def) (/usr/local/texlive/2023/texmf-dist/tex/latex/biblatex/bbx/numeric.bbx (/usr/local/texlive/2023/texmf-dist/tex/latex/biblatex/bbx/standard.bbx)) (/usr/local/texlive/2023/texmf-dist/tex/latex/biblatex/cbx/numeric.cbx) (/usr/local/texlive/2023/texmf-dist/tex/latex/biblatex/biblatex.cfg) (/usr/local/texlive/2023/texmf-dist/tex/latex/l3kernel/expl3.sty (/usr/local/texlive/2023/texmf-dist/tex/latex/l3backend/l3backend-pdftex.def)) (/usr/local/texlive/2023/texmf-dist/tex/latex/biblatex/blx-case-expl3.sty (/usr/local/texlive/2023/texmf-dist/tex/latex/l3packages/xparse/xparse.sty))) (./Hydrostatic NSM.aux) (/usr/local/texlive/2023/texmf-dist/tex/latex/biblatex/lbx/english.lbx) (./Hydrostatic NSM.bbl)

LaTeX Warning: Citation 'Aarach2023' on page 1 undefined on input line 5.

LaTeX Warning: Empty bibliography on input line 6.

[1{/usr/local/texlive/2023/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] (./Hydrostatic NSM.aux)

LaTeX Warning: There were undefined references.

Package biblatex Warning: Please (re)run Biber on the file:
(biblatex)                "Hydrostatic NSM"
(biblatex)                and rerun LaTeX afterwards.

 )</usr/local/texlive/2023/texmf-dist/fonts/type1/public/amsfonts/cm/cmbx10.pfb></usr/local/texlive/2023/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb>
Output written on "Hydrostatic NSM.pdf" (1 page, 20225 bytes).
SyncTeX written on "Hydrostatic NSM.synctex.gz"
Transcript written on "Hydrostatic NSM.log".
Latexmk: Getting log file 'Hydrostatic NSM.log'
Latexmk: Examining 'Hydrostatic NSM.fls'
Latexmk: Examining 'Hydrostatic NSM.log'
Latexmk: Found input bbl file 'Hydrostatic NSM.bbl'
Latexmk: Log file says output to 'Hydrostatic NSM.pdf'
Latexmk: Bibliography file(s) from .bcf file:
  MHDCitations.bib
Latexmk: applying rule 'biber Hydrostatic NSM'...
Rule 'biber Hydrostatic NSM':  Reasons for rerun
Category 'other':
  Rerun of 'biber Hydrostatic NSM' forced or previously required:
    Reason or flag: 'Initial set up of rule'

------------
Run number 1 of rule 'biber Hydrostatic NSM'
------------
------------
Running 'biber  "Hydrostatic NSM.bcf"'
------------
INFO - This is Biber 2.19
INFO - Logfile is 'Hydrostatic NSM.blg'
INFO - Reading 'Hydrostatic NSM.bcf'
INFO - Found 1 citekeys in bib section 0
INFO - Processing section 0
INFO - Looking for bibtex file 'MHDCitations.bib' for section 0
INFO - LaTeX decoding ...
INFO - Found BibTeX data source 'MHDCitations.bib'
Latexmk: ====Undefined refs and citations with line #s in .tex file:
  Citation 'Aarach2023' on page 1 undefined on input line 5
Latexmk: Sometimes, the -f option can be used to get latexmk
  to try to force complete processing.
  But normally, you will need to correct the file(s) that caused the
  error, and then rerun latexmk.
  In some cases, it is best to clean out generated files before rerunning
  latexmk after you've corrected the files.
Latexmk: Found biber source file(s) [Hydrostatic NSM.bcf, MHDCitations.bib]
Latexmk: Error return from 'biber Hydrostatic NSM'
I will add to its source list, anything cached from analysis of bcf file.
Latexmk: Summary of warnings from last run of *latex:
  Latex failed to resolve 1 citation(s)
Latexmk: Errors, so I did not complete making targets
Collected error summary (may duplicate other messages):
  biber Hydrostatic NSM: Command for 'biber Hydrostatic NSM' gave return code 2
James-Yu commented 2 weeks ago

This is compiler log, not extension log.

Alex2134556 commented 2 weeks ago

@James-Yu I am sorry, I am not sure how to access those. Can you please instruct me on how to obtain it? Perhaps you mean this

[10:44:38.704][Extension] onDidSaveTextDocument triggered: file:///Users/HydrostaticNSM/Hydrostatic NSM.tex
[10:44:38.705][Build] Auto build started on saving file: /Users/HydrostaticNSM/Hydrostatic NSM.tex .
[10:44:38.705][Event] AUTO_BUILD_INITIATED: {"type":"onSave","file":"/Users/HydrostaticNSM/Hydrostatic NSM.tex"}
[10:44:38.705][Build] The document of the active editor: file:///Users/HydrostaticNSM/Hydrostatic NSM.tex
[10:44:38.705][Build] The languageId of the document: latex
[10:44:38.705][Build] Building root file: /Users/HydrostaticNSM/Hydrostatic NSM.tex
[10:44:38.705][Build][Recipe] Build root file /Users/HydrostaticNSM/Hydrostatic NSM.tex
[10:44:38.706][Build][Recipe] Preparing to run recipe: latexmk.
[10:44:38.706][Build][Recipe] Prepared 1 tools.
[10:44:38.707][Build][Recipe] outDir: /Users/HydrostaticNSM .
[10:44:38.708][Build] Another build loop is already running.
[10:44:38.777][Cacher][Watcher] "change" emitted on file:///Users/HydrostaticNSM/Hydrostatic NSM.tex.
[10:44:38.778][Cacher] Caching /Users/HydrostaticNSM/Hydrostatic NSM.tex .
[10:44:38.778][Event] FILE_CHANGED: "file:///Users/HydrostaticNSM/Hydrostatic NSM.tex"
[10:44:38.779][Cacher] Updated inputs of /Users/HydrostaticNSM/Hydrostatic NSM.tex .
[10:44:38.779][Cacher] Parse LaTeX AST: /Users/HydrostaticNSM/Hydrostatic NSM.tex .
[10:44:38.779][Cacher] Parsed LaTeX AST in 0.58 ms: /Users/HydrostaticNSM/Hydrostatic NSM.tex .
[10:44:38.780][File] kpsewhich cache hit on article.cls: /usr/local/texlive/2023/texmf-dist/tex/latex/base/article.cls .
[10:44:38.782][Cacher] Bib /Users/HydrostaticNSM/MHDCitations.bib from /Users/HydrostaticNSM/Hydrostatic NSM.tex .
[10:44:38.782][Cacher] Updated elements in 2.16 ms: /Users/HydrostaticNSM/Hydrostatic NSM.tex .
[10:44:38.782][Event] FILE_PARSED: "/Users/HydrostaticNSM/Hydrostatic NSM.tex"
[10:44:38.782][Structure] Structure force updated with 0 root sections for /Users/HydrostaticNSM/Hydrostatic NSM.tex .
[10:44:38.782][Event] STRUCTURE_UPDATED
[10:44:38.786][Cacher][Watcher] "change" emitted on file:///Users/HydrostaticNSM/Hydrostatic NSM.tex.
[10:44:38.786][Cacher] Caching /Users/HydrostaticNSM/Hydrostatic NSM.tex .
[10:44:38.787][Event] FILE_CHANGED: "file:///Users/HydrostaticNSM/Hydrostatic NSM.tex"
[10:44:38.787][Cacher] Updated inputs of /Users/HydrostaticNSM/Hydrostatic NSM.tex .
[10:44:38.787][Cacher] Parse LaTeX AST: /Users/HydrostaticNSM/Hydrostatic NSM.tex .
[10:44:38.788][Cacher] Parsed LaTeX AST in 0.96 ms: /Users/HydrostaticNSM/Hydrostatic NSM.tex .
[10:44:38.789][File] kpsewhich cache hit on article.cls: /usr/local/texlive/2023/texmf-dist/tex/latex/base/article.cls .
[10:44:38.791][Cacher] Bib /Users/HydrostaticNSM/MHDCitations.bib from /Users/HydrostaticNSM/Hydrostatic NSM.tex .
[10:44:38.791][Cacher] Updated elements in 2.43 ms: /Users/HydrostaticNSM/Hydrostatic NSM.tex .
[10:44:38.791][Event] FILE_PARSED: "/Users/HydrostaticNSM/Hydrostatic NSM.tex"
[10:44:38.791][Structure] Structure force updated with 0 root sections for /Users/HydrostaticNSM/Hydrostatic NSM.tex .
[10:44:38.792][Event] STRUCTURE_UPDATED
[10:44:39.035][Cacher][Watcher] "change" emitted on file:///Users/HydrostaticNSM/Hydrostatic NSM.tex.
[10:44:39.035][Cacher] Caching /Users/HydrostaticNSM/Hydrostatic NSM.tex .
[10:44:39.035][Event] FILE_CHANGED: "file:///Users/HydrostaticNSM/Hydrostatic NSM.tex"
[10:44:39.042][Cacher] Updated inputs of /Users/HydrostaticNSM/Hydrostatic NSM.tex .
[10:44:39.042][Cacher] Parse LaTeX AST: /Users/HydrostaticNSM/Hydrostatic NSM.tex .
[10:44:39.043][Cacher] Parsed LaTeX AST in 0.71 ms: /Users/HydrostaticNSM/Hydrostatic NSM.tex .
[10:44:39.044][File] kpsewhich cache hit on article.cls: /usr/local/texlive/2023/texmf-dist/tex/latex/base/article.cls .
[10:44:39.049][Cacher] Bib /Users/HydrostaticNSM/MHDCitations.bib from /Users/HydrostaticNSM/Hydrostatic NSM.tex .
[10:44:39.049][Cacher] Updated elements in 5.34 ms: /Users/HydrostaticNSM/Hydrostatic NSM.tex .
[10:44:39.049][Event] FILE_PARSED: "/Users/HydrostaticNSM/Hydrostatic NSM.tex"
[10:44:39.049][Structure] Structure force updated with 0 root sections for /Users/HydrostaticNSM/Hydrostatic NSM.tex .
[10:44:39.049][Event] STRUCTURE_UPDATED
[10:44:39.415][Parser][BiberLog] Found BibTeX file /Users/HydrostaticNSM/MHDCitations.bib
[10:44:39.415][Parser][BiberLog] Logged 0 messages.
[10:44:39.416][Parser][TexLog] Logged 3 messages.
[10:44:39.416][Build] Recipe returns with error code 12/null on PID 43696.
[10:44:39.416][Build] Does the executable exist? $PATH: /opt/homebrew/opt/node@20/bin:/usr/local/opt/openssl/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/TeX/texbin, $Path: undefined, $SHELL: /bin/zsh
[10:44:39.416][Build] Latexmk: Couldn't find bcf file 'Hydrostatic NSM.bcf'
readline() on closed filehandle $bcf_fh at /Library/TeX/texbin/latexmk line 7179.
Latexmk: ====Undefined refs and citations with line #s in .tex file:
  Citation 'Aarach2023' on page 1 undefined on input line 5
Latexmk: Sometimes, the -f option can be used to get latexmk
  to try to force complete processing.
  But normally, you will need to correct the file(s) that caused the
  error, and then rerun latexmk.
  In some cases, it is best to clean out generated files before rerunning
  latexmk after you've corrected the files.

[10:44:39.417][Cleaner] Clean glob matched files {"globs":["./**/Hydrostatic NSM.bcf","./**/Hydrostatic NSM.blg","./**/Hydrostatic NSM.idx","./**/Hydrostatic NSM.ind","./**/Hydrostatic NSM.lof","./**/Hydrostatic NSM.lot","./**/Hydrostatic NSM.out","./**/Hydrostatic NSM.toc","./**/Hydrostatic NSM.acn","./**/Hydrostatic NSM.aux","./**/*.aux","./**/*.bcf","./**/*.blg","./**/*.fls","./**/*.run.xml","./**/Hydrostatic NSM.acr","./**/Hydrostatic NSM.run.xml","./**/Hydrostatic NSM-blx.bib","./**/Hydrostatic NSM.alg","./**/Hydrostatic NSM.glg","./**/Hydrostatic NSM.glo","./**/Hydrostatic NSM.gls","./**/Hydrostatic NSM.fls","./**/Hydrostatic NSM.fdb_latexmk","./**/Hydrostatic NSM.snm","./**/Hydrostatic NSM.synctex(busy)","./**/Hydrostatic NSM.synctex.gz(busy)","./**/Hydrostatic NSM.nav","./**/Hydrostatic NSM.vrb"],"outdir":"/Users/HydrostaticNSM"} .
[10:44:39.417][Cleaner] Ignore folder glob patterns with globstar:  .
[10:44:39.423][Cleaner] Cleaning file /Users/HydrostaticNSM/Hydrostatic NSM.run.xml .
[10:44:39.424][Cleaner] Cleaning file /Users/HydrostaticNSM/Hydrostatic NSM.fls .
[10:44:39.424][Cleaner] Cleaning file /Users/HydrostaticNSM/Hydrostatic NSM.fdb_latexmk .
[10:44:39.424][Cleaner] Cleaning file /Users/HydrostaticNSM/Hydrostatic NSM.blg .
[10:44:39.425][Cleaner] Cleaning file /Users/HydrostaticNSM/Hydrostatic NSM.bcf .
[10:44:39.426][Cleaner] Cleaning file /Users/HydrostaticNSM/Hydrostatic NSM.aux .
[10:44:39.426][Event] AUTO_CLEANED
[10:44:40.030][Cacher][Watcher] "change" emitted on file:///Users/HydrostaticNSM/Hydrostatic NSM.tex.
[10:44:40.030][Cacher] Caching /Users/HydrostaticNSM/Hydrostatic NSM.tex .
[10:44:40.031][Event] FILE_CHANGED: "file:///Users/HydrostaticNSM/Hydrostatic NSM.tex"
[10:44:40.032][Cacher] Updated inputs of /Users/HydrostaticNSM/Hydrostatic NSM.tex .
[10:44:40.032][Cacher] Parse LaTeX AST: /Users/HydrostaticNSM/Hydrostatic NSM.tex .
[10:44:40.034][Cacher] Parsed LaTeX AST in 1.61 ms: /Users/HydrostaticNSM/Hydrostatic NSM.tex .
[10:44:40.035][File] kpsewhich cache hit on article.cls: /usr/local/texlive/2023/texmf-dist/tex/latex/base/article.cls .
[10:44:40.039][Cacher] Bib /Users/HydrostaticNSM/MHDCitations.bib from /Users/HydrostaticNSM/Hydrostatic NSM.tex .
[10:44:40.039][Cacher] Updated elements in 4.78 ms: /Users/HydrostaticNSM/Hydrostatic NSM.tex .
[10:44:40.040][Event] FILE_PARSED: "/Users/HydrostaticNSM/Hydrostatic NSM.tex"
[10:44:40.040][Structure] Structure force updated with 0 root sections for /Users/HydrostaticNSM/Hydrostatic NSM.tex .
[10:44:40.040][Event] STRUCTURE_UPDATED
James-Yu commented 2 weeks ago

Latexmk: Couldn't find bcf file 'Hydrostatic NSM.bcf'

This is not an extension-related problem.

Alex2134556 commented 2 weeks ago

@James-Yu I don't think this is an issue. This is just a result of the files getting cleaned after the compilation and didn't used to happen either. For example, turning off the cleaning procedure still persists with the same issue


[14:41:24.713][Extension] onDidSaveTextDocument triggered: file:///Users/HydrostaticNSM/General.tex
[14:41:24.713][Build] Auto build started on saving file: /Users/HydrostaticNSM/General.tex .
[14:41:24.713][Event] AUTO_BUILD_INITIATED: {"type":"onSave","file":"/Users/HydrostaticNSM/General.tex"}
[14:41:24.714][Build] The document of the active editor: file:///Users/HydrostaticNSM/General.tex
[14:41:24.714][Build] The languageId of the document: latex
[14:41:24.714][Build] Building root file: /Users/HydrostaticNSM/General.tex
[14:41:24.714][Build][Recipe] Build root file /Users/HydrostaticNSM/General.tex
[14:41:24.717][Build][Recipe] Preparing to run recipe: latexmk.
[14:41:24.717][Build][Recipe] Prepared 1 tools.
[14:41:24.718][Build][Recipe] outDir: /Users/HydrostaticNSM .
[14:41:24.721][Build] Recipe step 1 The command is latexmk:["-synctex=1","-interaction=nonstopmode","-file-line-error","-pdf","-outdir=/Users/HydrostaticNSM","/Users/HydrostaticNSM/General"].
[14:41:24.722][Build] env: {}
[14:41:24.722][Build] root: /Users/HydrostaticNSM/General.tex
[14:41:24.722][Build] cwd: /Users/HydrostaticNSM
[14:41:24.725][Build] LaTeX build process spawned with PID 51304.
[14:41:24.784][Cacher][Watcher] "change" emitted on file:///Users/HydrostaticNSM/General.tex.
[14:41:24.784][Cacher] Caching /Users/HydrostaticNSM/General.tex .
[14:41:24.784][Event] FILE_CHANGED: "file:///Users/HydrostaticNSM/General.tex"
[14:41:24.785][Cacher] Updated inputs of /Users/HydrostaticNSM/General.tex .
[14:41:24.785][Cacher] Parse LaTeX AST: /Users/HydrostaticNSM/General.tex .
[14:41:24.786][Cacher] Parsed LaTeX AST in 0.83 ms: /Users/HydrostaticNSM/General.tex .
[14:41:24.786][File] kpsewhich cache hit on article.cls: /usr/local/texlive/2023/texmf-dist/tex/latex/base/article.cls .
[14:41:24.790][Cacher][Watcher] "change" emitted on file:///Users/HydrostaticNSM/General.tex.
[14:41:24.790][Cacher] Caching /Users/HydrostaticNSM/General.tex .
[14:41:24.790][Event] FILE_CHANGED: "file:///Users/HydrostaticNSM/General.tex"
[14:41:24.791][File] Calling kpsewhich to resolve -format=.bib MHDCitations.bib .
[14:41:24.905][File] kpsewhich returned with non-zero code 1.
[14:41:24.905][Cacher] Updated elements in 118.60 ms: /Users/HydrostaticNSM/General.tex .
[14:41:24.905][Event] FILE_PARSED: "/Users/HydrostaticNSM/General.tex"
[14:41:24.906][Build] Finished a step in recipe with PID 51304.
[14:41:24.906][Build] Successfully built /Users/HydrostaticNSM/General.tex .
[14:41:24.906][Event] BUILD_DONE
[14:41:24.907][Cacher] Updated inputs of /Users/HydrostaticNSM/General.tex .
[14:41:24.907][Cacher] Parse LaTeX AST: /Users/HydrostaticNSM/General.tex .
[14:41:24.908][Cacher] Parsed LaTeX AST in 0.96 ms: /Users/HydrostaticNSM/General.tex .
[14:41:24.908][File] kpsewhich cache hit on article.cls: /usr/local/texlive/2023/texmf-dist/tex/latex/base/article.cls .
[14:41:24.913][File] Calling kpsewhich to resolve -format=.bib MHDCitations.bib .
[14:41:25.039][File] kpsewhich returned with non-zero code 1.
[14:41:25.040][Cacher] Updated elements in 131.37 ms: /Users/HydrostaticNSM/General.tex .
[14:41:25.040][Event] FILE_PARSED: "/Users/HydrostaticNSM/General.tex"
[14:41:25.040][Structure] Structure force updated with 0 root sections for /Users/HydrostaticNSM/General.tex .
[14:41:25.040][Event] STRUCTURE_UPDATED
[14:41:25.040][Cacher][Watcher] "change" emitted on file:///Users/HydrostaticNSM/General.tex.
[14:41:25.041][Cacher] Caching /Users/HydrostaticNSM/General.tex .
[14:41:25.041][Event] FILE_CHANGED: "file:///Users/HydrostaticNSM/General.tex"
[14:41:25.041][Cacher] Updated inputs of /Users/HydrostaticNSM/General.tex .
[14:41:25.042][Cacher] Parse LaTeX AST: /Users/HydrostaticNSM/General.tex .
[14:41:25.043][Cacher] Parsed LaTeX AST in 0.85 ms: /Users/HydrostaticNSM/General.tex .
[14:41:25.043][File] kpsewhich cache hit on article.cls: /usr/local/texlive/2023/texmf-dist/tex/latex/base/article.cls .
[14:41:25.051][File] Calling kpsewhich to resolve -format=.bib MHDCitations.bib .
[14:41:25.180][File] kpsewhich returned with non-zero code 1.
[14:41:25.181][Cacher] Updated elements in 137.96 ms: /Users/HydrostaticNSM/General.tex .
[14:41:25.181][Event] FILE_PARSED: "/Users/HydrostaticNSM/General.tex"
[14:41:25.181][Structure] Structure force updated with 0 root sections for /Users/HydrostaticNSM/General.tex .
[14:41:25.181][Event] STRUCTURE_UPDATED
[14:41:28.166][Cacher][Watcher] "change" emitted on file:///Users/HydrostaticNSM/General.tex.
[14:41:28.167][Cacher] Caching /Users/HydrostaticNSM/General.tex .
[14:41:28.167][Event] FILE_CHANGED: "file:///Users/HydrostaticNSM/General.tex"
[14:41:28.170][Cacher] Updated inputs of /Users/HydrostaticNSM/General.tex .
[14:41:28.171][Cacher] Parse LaTeX AST: /Users/HydrostaticNSM/General.tex .
[14:41:28.172][Cacher] Parsed LaTeX AST in 0.97 ms: /Users/HydrostaticNSM/General.tex .
[14:41:28.172][File] kpsewhich cache hit on article.cls: /usr/local/texlive/2023/texmf-dist/tex/latex/base/article.cls .
[14:41:28.176][Cacher][Watcher] "change" emitted on file:///Users/HydrostaticNSM/General.tex.
[14:41:28.176][Cacher] Caching /Users/HydrostaticNSM/General.tex .
[14:41:28.177][Event] FILE_CHANGED: "file:///Users/HydrostaticNSM/General.tex"
[14:41:28.179][Cacher] Updated inputs of /Users/HydrostaticNSM/General.tex .
[14:41:28.180][Cacher] Parse LaTeX AST: /Users/HydrostaticNSM/General.tex .
[14:41:28.181][Cacher] Parsed LaTeX AST in 1.22 ms: /Users/HydrostaticNSM/General.tex .
[14:41:28.181][File] kpsewhich cache hit on article.cls: /usr/local/texlive/2023/texmf-dist/tex/latex/base/article.cls .
[14:41:28.191][File] Calling kpsewhich to resolve -format=.bib MHDCitations.bib .
[14:41:28.325][File] kpsewhich returned with non-zero code 1.
[14:41:28.325][Cacher] Updated elements in 153.07 ms: /Users/HydrostaticNSM/General.tex .
[14:41:28.325][Event] FILE_PARSED: "/Users/HydrostaticNSM/General.tex"
[14:41:28.326][File] Calling kpsewhich to resolve -format=.bib MHDCitations.bib .
[14:41:28.445][File] kpsewhich returned with non-zero code 1.
[14:41:28.445][Cacher] Updated elements in 263.73 ms: /Users/HydrostaticNSM/General.tex .
[14:41:28.445][Event] FILE_PARSED: "/Users/HydrostaticNSM/General.tex"
[14:41:28.445][Structure] Structure force updated with 0 root sections for /Users/HydrostaticNSM/General.tex .
[14:41:28.445][Event] STRUCTURE_UPDATED
[14:41:33.254][Event] STRUCTURE_UPDATED
James-Yu commented 2 weeks ago

Did you try compile in command line?

Alex2134556 commented 2 weeks ago

It seems as if the same problem occurs on the terminal as well. So I guess this isn't an issue with the extension. Can you suggest what should I do to fix it on my end?

Alex2134556 commented 2 weeks ago

Somehow, a combination of running rm -rf 'biber --cache' and running one file with the backend=bibtex solved the issue.