Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: sphinx.cmd.build failing #183

Open
ParthS007 opened this issue Dec 9, 2020 · 0 comments
Open

test: sphinx.cmd.build failing #183

ParthS007 opened this issue Dec 9, 2020 · 0 comments

Comments

@ParthS007
Copy link
Member

python -m sphinx.cmd.build -qnNW docs docs/_build/html failing because of below error:

Exception occurred:
  File "/opt/hostedtoolcache/Python/3.6.12/x64/lib/python3.6/site-packages/flask/globals.py", line 52, in _find_app
    raise RuntimeError(_app_ctx_err_msg)
RuntimeError: Working outside of application context.

This typically means that you attempted to use functionality that needed
to interface with the current application object in some way. To solve
this, set up an application context with app.app_context().  See the
documentation for more information.
The full traceback has been saved in /tmp/sphinx-err-qc9aso9v.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!

The bug is because of current_app in invenio-access/invenio_access/proxies.py.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant