to fix this issue: https://trac.sagemath.org/ticket/30002


On Sat, Jun 27, 2020 at 4:45 PM Dima Pasechnik <[email protected]> wrote:
>
> On Sat, Jun 27, 2020 at 4:19 PM Antonio Rojas <[email protected]> wrote:
> >
> > This happens with non-English locales. Warning messages are translated in 
> > sphinx 3, so sage's whitelist doesn't catch them, and they are treated as 
> > errors. Forcing the C locale works around the issue.
>
> yes, I can confirm this.
> So if I set locale to a French one
> by making sure I gave it available from locale
> ($ locale -a gives a list)
>
> $ export LANG=fr_FR.utf8
> and then
>
> $ ./sage -docbuild reference html
>
> suddenly gets very chatty, ending with an error from a WARNING
>
> [reference] Sphinx v3.0.4 en cours d'exécution
> [reference] WARNING: l'entrée html_static_path
> '/home/dimpase/sage/src/doc/common/static' n'existe pas
> ...
> OSError: WARNING: l'entrée html_static_path
> '/home/dimpase/sage/src/doc/common/static' n'existe pas
>
>
> >
> > El sábado, 27 de junio de 2020, 15:47:16 (UTC+2), Emmanuel Charpentier 
> > escribió:
> >>
> >> Dear Dima,
> >>
> >> Le samedi 27 juin 2020 15:35:51 UTC+2, Dima Pasechnik a écrit :
> >>>
> >>> This appears to be issue Francophone...
> >>
> >>
> >> Sacrebleu merdalors !((C) Raymond Queneau)
> >>
> >> Does that offer a hint ?
> >>
> >>>
> >>>
> >>> I get neither these warnings about citations not being citations, a la
> >>> https://en.wikipedia.org/wiki/The_Treachery_of_Images#/media/File:MagrittePipe.jpg
> >>>
> >>> nor an error.
> >>>
> >>> On Sat, Jun 27, 2020 at 1:59 PM David Coudert <[email protected]> wrote:
> >>> >
> >>> > same issue here on macOS after upgrading from beta1
> >>> >
> >>> >
> >>> > Le 27 juin 2020 à 14:16, Emmanuel Charpentier <[email protected]> 
> >>> > a écrit :
> >>> >
> >>> > Rebuilding afresh (after make-distclean) didn't work either. make fails 
> >>> > with errors suspiciously similar to the first attempt during 
> >>> > documentation building.
> >>> >
> >>> > Enclosed are configuration and documentation building logs.
> >>> >
> >>> > I'm stuck. Suggestions ?
> >>> >
> >>> > Le samedi 27 juin 2020 12:01:51 UTC+2, Emmanuel Charpentier a écrit :
> >>> >>
> >>> >> Same snag when upgrading 9.1.beta1 to 9.1.beta2 on Debian testong 
> >>> >> running on core i7 + 16 GB RAM. make doc-clean doesn't work here 
> >>> >> either.
> >>> >>
> >>> >> Trying make-distclean...
> >>> >>
> >>> >> HTH,
> >>> >>
> >>> >> Le samedi 27 juin 2020 07:29:04 UTC+2, tdumont a écrit :
> >>> >>>
> >>> >>> When upgrading from 9.1 to 9.2, building the doc:
> >>> >>> 1)
> >>> >>>
> >>> >>> [reference] Sphinx v3.0.4 en cours d'exécution
> >>> >>> [reference] WARNING: l'entrée html_static_path
> >>> >>> '/usr/local/sage3/sage/src/doc/common/static' n'existe pas
> >>> >>> [reference] WARNING: l'entrée html_static_path 'static' n'existe pas
> >>> >>> [reference] WARNING: le fichier de favicon 'favicon.ico' n'existe pas
> >>> >>> [reference] chargement de l'environnement pickled... échoué
> >>> >>> [reference] échec : version non à jour de l’environnement de 
> >>> >>> construction
> >>> >>> ...
> >>> >>> [reference]
> >>> >>> /usr/local/sage3/sage/src/doc/en/reference/references/index.rst:36:
> >>> >>> WARNING: La citation [AAGMRZ2019] n'est pas référencée
> >>> >>> [reference]
> >>> >>> /usr/local/sage3/sage/src/doc/en/reference/references/index.rst:40:
> >>> >>> WARNING: La citation [Ab1995] n'est pas référencée
> >>> >>> ... (a lot of messages like this)
> >>> >>> [reference] build a réussi, 1327 warnings.
> >>> >>> [reference] The inventory files are in
> >>> >>> local/share/doc/sage/inventory/en/reference/references.
> >>> >>>
> >>> >>> 2)
> >>> >>> Error building the documentation.
> >>> >>> Traceback (most recent call last):
> >>> >>>   File "/usr/local/sage3/sage/local/lib/python3.7/runpy.py", line 193,
> >>> >>> in _run_module_as_main
> >>> >>>     "__main__", mod_spec)
> >>> >>>   File "/usr/local/sage3/sage/local/lib/python3.7/runpy.py", line 85, 
> >>> >>> in
> >>> >>> _run_code
> >>> >>>     exec(code, run_globals)
> >>> >>>   File
> >>> >>> "/usr/local/sage3/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__main__.py",
> >>> >>> line 2, in <module>
> >>> >>>     main()
> >>> >>>   File
> >>> >>> "/usr/local/sage3/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py",
> >>> >>> line 1721, in main
> >>> >>>     builder()
> >>> >>>   File
> >>> >>> "/usr/local/sage3/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py",
> >>> >>> line 328, in _wrapper
> >>> >>>     getattr(get_builder(document), 'inventory')(*args, **kwds)
> >>> >>>   File
> >>> >>> "/usr/local/sage3/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py",
> >>> >>> line 551, in _wrapper
> >>> >>>     self._build_bibliography(lang, format, *args, **kwds)
> >>> >>>   File
> >>> >>> "/usr/local/sage3/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py",
> >>> >>> line 528, in _build_bibliography
> >>> >>>     build_many(build_ref_doc, references)
> >>> >>>   File
> >>> >>> "/usr/local/sage3/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py",
> >>> >>> line 281, in build_many
> >>> >>>     _build_many(target, args, processes=NUM_THREADS)
> >>> >>>   File
> >>> >>> "/usr/local/sage3/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/utils.py",
> >>> >>> line 283, in build_many
> >>> >>>     raise worker_exc.original_exception
> >>> >>> OSError: WARNING: l'entrée html_static_path
> >>> >>> '/usr/local/sage3/sage/src/doc/common/static' n'existe pas
> >>> >>>
> >>> >>>
> >>> >>> * This is persisting, even after a "make doc-clean"
> >>> >>> * Ubuntu 20-04.
> >>> >>>
> >>> >>> But, as could be expected, sage starts.
> >>> >>>
> >>> >>> Yours.
> >>> >>> t.d.
> >>> >
> >>> >
> >>> > --
> >>> > You received this message because you are subscribed to the Google 
> >>> > Groups "sage-release" group.
> >>> > To unsubscribe from this group and stop receiving emails from it, send 
> >>> > an email to [email protected].
> >>> > To view this discussion on the web visit 
> >>> > https://groups.google.com/d/msgid/sage-release/a38afb1f-a635-458d-a78d-b3999f632b7co%40googlegroups.com.
> >>> > <dochtml.log><config.log>
> >>> >
> >>> >
> >>> > --
> >>> > You received this message because you are subscribed to the Google 
> >>> > Groups "sage-release" group.
> >>> > To unsubscribe from this group and stop receiving emails from it, send 
> >>> > an email to [email protected].
> >>> > To view this discussion on the web visit 
> >>> > https://groups.google.com/d/msgid/sage-release/6118CF9C-8D7B-4CDE-A03D-84E70923EA11%40gmail.com.
> >
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "sage-release" group.
> > To unsubscribe from this group and stop receiving emails from it, send an 
> > email to [email protected].
> > To view this discussion on the web visit 
> > https://groups.google.com/d/msgid/sage-release/90040091-03d8-471b-b389-4b0feba8c2c8o%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-release/CAAWYfq38OGeMrQ7xiQN0ZsV%2B-bFo1EJLOu_WmQ04iprRGp5Z5w%40mail.gmail.com.

Reply via email to