Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • S swh-docs
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 99
    • Issues 99
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Platform
  • Development
  • swh-docs
  • Issues
  • #2380
Closed
Open
Issue created Apr 26, 2020 by Stefano Zacchiroli@zackMaintainer

documentation: nightly buid fails with "RuntimeError: Working outside of request context"

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/globals.py", 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: https://jenkins.softwareheritage.org/job/DDOC/job/publish/543/console


Migrated from T2380 (view on Phabricator)

Assignee
Assign to
Time tracking