[petsc-dev] lovely error message

Jed Brown jed at jedbrown.org
Sat Dec 26 12:59:07 CST 2020


Btw, this PR fixes the issue of needing to run twice to pick up the references.

https://github.com/mcmtroffaes/sphinxcontrib-bibtex/pull/219/ <https://github.com/mcmtroffaes/sphinxcontrib-bibtex/pull/219/files/d9559bd3d21c932f06ec56a987619c00b3aafcc5..c5faeec5eb52636bda9714f54f1c85647755c5d6>

On Sat, Dec 26, 2020, at 11:30 AM, Jacob Faibussowitsch wrote:
> Although if you temporarily want to patch it in, just slap
> 
> bibtex_bibfiles = ['../tex/petsc.bib','../tex/petscapp.bib’]
> 
> Anywhere in conf.py
> 
> Best regards,
> 
> Jacob Faibussowitsch
> (Jacob Fai - booss - oh - vitch)
> Cell: (312) 694-3391
> 
>> On Dec 26, 2020, at 12:27, Jacob Faibussowitsch <jacob.fai at gmail.com> wrote:
>> 
>> I looks like release does not yet have the fix from master (arguably the fix should have gone to release anyways…)
>> 
>> Best regards,
>> 
>> Jacob Faibussowitsch
>> (Jacob Fai - booss - oh - vitch)
>> Cell: (312) 694-3391
>> 
>>> On Dec 26, 2020, at 12:05, Barry Smith <bsmith at petsc.dev> wrote:
>>> 
>>> 
>>>   I was trying to build the docs on release to reproduce the Pierre's "Documentation version mismatch?" petsc-dev email that came earlier.
>>> 
>>>   Does release no longer work with the Sphinx docs?
>>> 
>>>   Barry
>>> 
>>> 
>>> 
>>>> On Dec 25, 2020, at 7:56 PM, Jacob Faibussowitsch <jacob.fai at gmail.com> wrote:
>>>> 
>>>> Barry,
>>>> 
>>>> What branch are you on? This should have been fixed by https://gitlab.com/petsc/petsc/-/merge_requests/3479, try rebasing over master.
>>>> 
>>>> Best regards,
>>>> 
>>>> Jacob Faibussowitsch
>>>> (Jacob Fai - booss - oh - vitch)
>>>> Cell: (312) 694-3391
>>>> 
>>>>> On Dec 25, 2020, at 19:43, Barry Smith <bsmith at petsc.dev> wrote:
>>>>> 
>>>>> 
>>>>>   Yes, I *must *do something, but the error message gives no indication of how to do what needs to be done. We should hire these people to do the error message for PETSc. 
>>>>> 
>>>>> $ make sphinx-docs-all  LOC=$PETSC_DIR
>>>>> /usr/local/opt/python at 3.9/bin/python3.9 ./config/gmakegen.py --petsc-arch=arch-release
>>>>> /usr/local/opt/python at 3.9/bin/python3.9 /Users/barrysmith/Src/petsc/config/gmakegentest.py --petsc-dir=/Users/barrysmith/Src/petsc --petsc-arch=arch-release --testdir=./arch-release/tests
>>>>> *Running Sphinx v2.4.4*
>>>>> 
>>>>> Found DOT install: /usr/local/bin/dot
>>>>> 
>>>>> *loading pickled environment... *failed
>>>>> failed: Can't get attribute 'BibfileCache' on <module 'sphinxcontrib.bibtex.cache' from '/Users/barrysmith/Src/petsc/arch-release/sphinx_docs_env/lib/python3.9/site-packages/sphinxcontrib/bibtex/cache.py'>
>>>>> 
>>>>> *Extension error:*
>>>>> You must configure the bibtex_bibfiles setting
>>>>> gmake[2]: *** [Makefile:28: latexpdf] Error 1
>>>>> gmake[1]: *** [makefile:428: sphinx-docs-manual] Error 2
>>>>> make: *** [GNUmakefile:17: sphinx-docs-all] Error 2
>>>>> 
>>>>> 
>>>>> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20201226/2859de12/attachment.html>


More information about the petsc-dev mailing list