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 v5.2.0.post0: sphinx-rtd-theme Theme error: ValueError('too many values to unpack (expected 3)') #10865

Closed
seanlanter opened this issue Sep 25, 2022 · 2 comments
Labels

Comments

@seanlanter
Copy link

Describe the bug

unexpected 'Theme error' from sphinx-rtd-theme

  • appears starting with 'Sphinx v5.2.0.post0'
  • did not occur in 'Sphinx v5.1.1'

How to Reproduce

confirm that 'pip -install -U -r requirments.txt ' runs correctly, where the content of 'requirements.txt' is:

 sphinx
 sphinx-rtd-theme
 sphinx-copybutton
 sphinx-tabs
 sphinxcontrib-napoleon
 sphinx-autobuild
 pyyaml
 flask
 flask_cors

run the build command:

 sphinx-build -b html -a -W <source-dir> <output-dir>

observe the output:

 Running Sphinx v5.2.0.post0
 loading intersphinx inventory from https://docs.python.org/3/objects.inv...
 building [mo]: all of 0 po files
 building [html]: all source files
 updating environment: [new config] 19 added, 0 changed, 0 removed
 reading sources... [100%] tutorial/wander                                                                    
 looking for now-outdated files... none found
 pickling environment... done
 checking consistency... done
 preparing documents... done
 writing output... [  5%] background/4kinds                                                                   
 Theme error:
 An error happened in rendering the page background/4kinds.
 Reason: ValueError('too many values to unpack (expected 3)')

Expected behavior

No 'Theme error'.

Your project

https://gitlab.com/cnxeng/wordsmith

Screenshots

No response

OS

Mac Monterey 12.5.1, Windows 10

Python version

3.10

Sphinx version

5.2.0.post0

Sphinx extensions

sphinx.ext.autodoc, sphinx.ext.doctest, sphinx.ext.intersphinx, sphinx.ext.todo, sphinx.ext.coverage, sphinx.ext.imgmath, sphinx.ext.mathjax, sphinx.ext.ifconfig, sphinx.ext.viewcode, sphinx.ext.githubpages, sphinx_copybutton, sphinx_tabs.tabs, sphinx.ext.napoleon, sphinx.ext.autosectionlabel

Extra tools

No response

Additional context

No response

@seanlanter seanlanter changed the title Sphinx v5.2.0.post0: Theme error: ValueError('too many values to unpack (expected 3)') Sphinx v5.2.0.post0: sphinx-rtd-theme Theme error: ValueError('too many values to unpack (expected 3)') Sep 25, 2022
@rouault
Copy link

rouault commented Sep 25, 2022

I also reproduce that with GDAL doc builds that have started to fail starting with this job https://github.com/OSGeo/gdal/actions/runs/3122251004/jobs/5064218826 (using v5.2.0.post0) whereas previous job https://github.com/OSGeo/gdal/actions/runs/3114759364/jobs/5050956471 (using 5.1.1) is succesful.

@AA-Turner
Copy link
Member

Duplicates #10860

A

@AA-Turner AA-Turner closed this as not planned Won't fix, can't repro, duplicate, stale Sep 25, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants