Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Theme broken with Sphinx 7.1.0 #136

Closed
Labels
@ThimoNeubauer

Description

@ThimoNeubauer

Since the release of Sphinx 7.1.0 we've been seeing

Theme error:An error happened in rendering the page index.Reason: OSError(22, 'Invalid argument')

in many of our projects. We're using the "python-docs-theme". Here's an (abbreviated) log of a minimal reproducer:

PS E:\temp> py -3 -m virtualenv Sphinxcreated virtual environment CPython3.11.4.final.0-64 in 764ms  creator CPython3Windows(dest=E:\temp\Sphinx, clear=False, no_vcs_ignore=False, global=False)  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=C:\Users\TNR1\AppData\Local\pypa\virtualenv)    added seed packages: pip==23.0.1, setuptools==67.6.0, wheel==0.40.0  activators BashActivator,BatchActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivatorPS E:\temp> .\Sphinx\Scripts\pip install sphinx python-docs-themeCollecting sphinx  Using cached sphinx-7.1.0-py3-none-any.whl (3.2 MB)Collecting python-docs-theme  Using cached python_docs_theme-2023.5-py3-none-any.whl (17 kB)... blah blah blah ...PS E:\temp> cd .\Sphinx\PS E:\temp\Sphinx> .\Scripts\sphinx-quickstart.exe --sep --project foo --author foo --quietFinished: An initial directory structure has been created.You should now populate your master file E:\temp\Sphinx\source\index.rst and create other documentationsource files. Use the Makefile to build the docs, like so:   make builderwhere "builder" is one of the supported builders, e.g. html, latex or linkcheck.PS E:\temp\Sphinx> .\Scripts\sphinx-build.exe -D html_theme=python_docs_theme source buildRunning Sphinx v7.1.0building [mo]: targets for 0 po files that are out of datewriting output...building [html]: targets for 1 source files that are out of dateupdating environment: [new config] 1 added, 0 changed, 0 removedreading sources... [100%] indexlooking for now-outdated files... none foundpickling environment... donechecking consistency... donepreparing documents... donecopying assets... copying static files... donecopying extra files... donedonewriting output... [100%] indexTheme error:An error happened in rendering the page index.Reason: OSError(22, 'Invalid argument')PS E:\temp\Sphinx>

I first reported thisas Sphinx issue. There I was pointed to avery similar issue in which it was concluded that the theme code needs to be changed. I guess that a similar fix is required here...?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp