-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Getting Error on import to setup_js_tag_helper #11633
Comments
Yep, same issue for me. Traceback
EnvironmentPython versionPython 3.10.12 Installed Packages
|
Hi! This is an issue on the |
I did not see it until the release of Sphinx 7.2. Everything works on Sphinx 7.1 |
Thanks @humitos ! Seems like we ought to close this ticket out, apologies for not catching that in the traceback. |
Sphinx temporarily pinned because of this issue: sphinx-doc/sphinx#11633
Sphinx temporarily pinned because of this issue: sphinx-doc/sphinx#11633
Sphinx temporarily pinned because of this issue: sphinx-doc/sphinx#11633
Issue now resolved with sphinx>7.2.X following the release of sphinx-notfound-page=1.0.0 on conda-forge: conda-forge/sphinx-notfound-page-feedstock#5 (comment) |
Sphinx temporarily pinned because of this issue: sphinx-doc/sphinx#11633
Describe the bug
ImportError: cannot import name 'setup_js_tag_helper' from 'sphinx.builders.html'
How to Reproduce
sphinx-build -M html "source" "doc_build"
Running Sphinx v7.2.2
Exception occurred:
File ".venv/lib/python3.10/site-packages/notfound/extension.py", line 337, in setup
from sphinx.builders.html import setup_js_tag_helper
ImportError: cannot import name 'setup_js_tag_helper' from 'sphinx.builders.html' (.venv/lib/python3.10/site-packages/sphinx/builders/html/init.py)
The full traceback has been saved in /tmp/sphinx-err-_5rxd6sg.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!
Environment Information
Sphinx extensions
No response
Additional context
Traceback:
Traceback (most recent call last):
File ".venv/lib/python3.10/site-packages/sphinx/cmd/build.py", line 293, in build_main
app = Sphinx(args.sourcedir, args.confdir, args.outputdir,
File ".venv/lib/python3.10/site-packages/sphinx/application.py", line 233, in init
self.setup_extension(extension)
File ".venv/lib/python3.10/site-packages/sphinx/application.py", line 406, in setup_extension
self.registry.load_extension(self, extname)
File ".venv/lib/python3.10/site-packages/sphinx/registry.py", line 460, in load_extension
metadata = setup(app)
File ".venv/lib/python3.10/site-packages/notfound/extension.py", line 337, in setup
from sphinx.builders.html import setup_js_tag_helper
ImportError: cannot import name 'setup_js_tag_helper' from 'sphinx.builders.html' (.venv/lib/python3.10/site-packages/sphinx/builders/html/init.py)
The text was updated successfully, but these errors were encountered: