Page MenuHomeSoftware Heritage

documentation: nightly buid fails with "RuntimeError: Working outside of request context"
Closed, MigratedEdits Locked


As per title, (not so) longer traceback is:

Initiated sphinxcontrib-images backend: `sphinxcontrib_images_lightbox2.lightbox2:LightBox2`
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 522 source files that are out of date
updating environment: [new config] 522 added, 0 changed, 0 removed
reading sources... [  0%] apidoc/modules
reading sources... [  0%] apidoc/swh
reading sources... [  0%] apidoc/swh.core
reading sources... [  0%] apidoc/swh.core.api

Exception occurred:
  File "/home/jenkins/workspace/DDOC/publish/swh-docs/.tox/sphinx/lib/python3.7/site-packages/flask/", line 38, in _lookup_req_object
    raise RuntimeError(_request_ctx_err_msg)
RuntimeError: Working outside of request context.

This typically means that you attempted to use functionality that needed
an active HTTP request.  Consult the documentation on testing for
information about how to avoid this problem.
The full traceback has been saved in /tmp/sphinx-err-pof5su3o.log, if you want to report the issue to the developers.

Full build log:

Event Timeline

zack triaged this task as Unbreak Now! priority.Apr 26 2020, 2:38 PM
zack created this task.
anlambert claimed this task.

sphinx 3.0.3 has been released yersteday, fixing the observed autodoc issue (see latest swh-docs build log).

Closing this as resolved.