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

Sphinx tabs issue #196

Open
Alexandru-C opened this issue Jul 10, 2024 · 0 comments
Open

Sphinx tabs issue #196

Alexandru-C opened this issue Jul 10, 2024 · 0 comments
Labels

Comments

@Alexandru-C
Copy link

Describe the bug

context
When I run 'make html' it stops at an exception from tabs.py

bug
Exception occurred:
File "/Users/user/dev/DocsFlutter/DocsFlutter/.venv/lib/python3.9/site-packages/sphinx_tabs/tabs.py", line 143, in run
tabs_id = self.env.temp_data["tabs_stack"][-1]
KeyError: 'tabs_stack'
The full traceback has been saved in /var/folders/kf/nv2rp1zj2y73_75sdtccplp40000gn/T/sphinx-err-qoc3cau4.log, if you want to report the issue to the developers.

The conf.py file is:

-- Project information -----------------------------------------------------

project = 'DocsFlutter'
copyright = '2024, Company'
author = 'name'

-- General configuration ---------------------------------------------------

extensions = [
'sphinx_tabs.tabs',
'sphinx.ext.autodoc',
'sphinx.ext.todo',
'sphinx.ext.viewcode',
]
templates_path = ['_templates']
exclude_patterns = []

-- Options for HTML output -------------------------------------------------

html_theme = 'sphinx_rtd_theme'
html_static_path = ['_static', 'images'] # Ensure your images directory is included

Reproduce the bug

I run make html and it crashes.

List your environment

Platform: darwin; (macOS-14.5-arm64-arm-64bit)
Python version: 3.9.6 (default, Mar 29 2024, 10:51:09)
[Clang 15.0.0 (clang-1500.3.9.4)])
Python implementation: CPython
Sphinx version: 7.3.7
Docutils version: 0.20.1
Jinja2 version: 3.1.4
Pygments version: 2.18.0

I am using Pycharm for IDE.

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

No branches or pull requests

1 participant