gpt4 book ai didi

r-markdown - 错误 : Failed to build the bibliography via biber {vitae}

转载 作者:行者123 更新时间:2023-12-03 17:27:20 25 4
gpt4 key购买 nike

我正在尝试使用 vitae 复制简历打包并在生成引用书目时不断遇到奇怪的错误。它以前可以工作,但是当我今天尝试执行代码时,它会不断产生以下输出:

INFO - This is Biber 2.14
INFO - Logfile is 'cv.blg'
INFO - Reading 'cv.bcf'
INFO - Found 4 citekeys in bib section 0
INFO - Processing section 0
INFO - Globbing data source 'C:/Users/Joe Roberts/Documents/automated_cv/cv/roberts-published.bib'
INFO - Globbed data source 'C:/Users/Joe Roberts/Documents/automated_cv/cv/roberts-published.bib' to C:/Users/Joe\ Roberts/Documents/automated_cv/cv/roberts-published.bib
INFO - Looking for bibtex format file 'C:/Users/Joe\ Roberts/Documents/automated_cv/cv/roberts-published.bib' for section 0
ERROR - Cannot find 'C:/Users/Joe\ Roberts/Documents/automated_cv/cv/roberts-published.bib'!
INFO - ERRORS: 1
Error: Failed to build the bibliography via biber
Execution halted
Warning message:
LaTeX Warning: Empty bibliography on input line 237.
LaTeX Warning: Citation 'roberts2018u-x6o8ySG0sC' undefined on input line 242.
LaTeX Warning: Citation 'roberts2019d1gkVwhDpl0C' undefined on input line 242.
LaTeX Warning: Citation 'roberts2019IjCSPb-OGe4C' undefined on input line 242.
LaTeX Warning: Citation 'roberts2019Tyk-4Ss8FVUC' undefined on input line 242.
Package rerunfilecheck Warning: File `cv.out' has changed.
(rerunfilecheck) Rerun to get outlines right
(rerunfilecheck) or use package `bookmark'.
LaTeX Warning: There were undefined references.
LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.
Package biblatex Warning: Please (re)run Biber on the file:
(biblatex) cv
(biblatex) and rerun LaTeX afterwards.

任何想法如何解决这个问题?

最佳答案

好的,我遇到了同样的问题,它曾经可以工作,然后进行了一些更新,但它不再工作了。看来问题的根源是您路径中的空间(用户/乔罗伯茨/文档/)我遇到了同样的问题,因为我们的组织数据库自动包含空格。我有 x2 解决方法:
第一种解决方法(烦人的):将您的文件本地保存在没有空间的路径中。对我来说,这是将其从我们的 org db 中取出并将其保存在桌面上。我知道,很蹩脚,所以第二个更好!
第二种解决方法:在 .Rmd 中的设置代码块中,添加代码以将引用文件复制到 biber 可以读取的临时位置:
例如。:

citations_1 <- tempfile(fileext = ".bib")
file.copy(from = here::here("automated_cv/cv/roberts-published.bib"), to = citations_1)
顺便说一下,我从您的错误消息中猜到了文件路径,因此您可能需要对其进行编辑,但本质上这应该会有所帮助!

关于r-markdown - 错误 : Failed to build the bibliography via biber {vitae},我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59361152/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com