Title: Theme broken with Sphinx 7.1.0 · Issue #136 · python/python-docs-theme · GitHub
Open Graph Title: Theme broken with Sphinx 7.1.0 · Issue #136 · python/python-docs-theme
X Title: Theme broken with Sphinx 7.1.0 · Issue #136 · python/python-docs-theme
Description: 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)...
Open Graph Description: 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 "pyt...
X Description: 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'r...
Opengraph URL: https://github.com/python/python-docs-theme/issues/136
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Theme broken with Sphinx 7.1.0","articleBody":"Since the release of Sphinx 7.1.0 we've been seeing\r\n\r\n```\r\nTheme error:\r\nAn error happened in rendering the page index.\r\nReason: OSError(22, 'Invalid argument')\r\n```\r\n\r\nin many of our projects. We're using the \"python-docs-theme\". Here's an (abbreviated) log of a minimal reproducer: \r\n\r\n```\r\nPS E:\\temp\u003e py -3 -m virtualenv Sphinx\r\ncreated virtual environment CPython3.11.4.final.0-64 in 764ms\r\n creator CPython3Windows(dest=E:\\temp\\Sphinx, clear=False, no_vcs_ignore=False, global=False)\r\n seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=C:\\Users\\TNR1\\AppData\\Local\\pypa\\virtualenv)\r\n added seed packages: pip==23.0.1, setuptools==67.6.0, wheel==0.40.0\r\n activators BashActivator,BatchActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator\r\nPS E:\\temp\u003e .\\Sphinx\\Scripts\\pip install sphinx python-docs-theme\r\nCollecting sphinx\r\n Using cached sphinx-7.1.0-py3-none-any.whl (3.2 MB)\r\nCollecting python-docs-theme\r\n Using cached python_docs_theme-2023.5-py3-none-any.whl (17 kB)\r\n\r\n... blah blah blah ...\r\n\r\nPS E:\\temp\u003e cd .\\Sphinx\\\r\nPS E:\\temp\\Sphinx\u003e .\\Scripts\\sphinx-quickstart.exe --sep --project foo --author foo --quiet\r\n\r\nFinished: An initial directory structure has been created.\r\n\r\nYou should now populate your master file E:\\temp\\Sphinx\\source\\index.rst and create other documentation\r\nsource files. Use the Makefile to build the docs, like so:\r\n make builder\r\nwhere \"builder\" is one of the supported builders, e.g. html, latex or linkcheck.\r\n\r\nPS E:\\temp\\Sphinx\u003e .\\Scripts\\sphinx-build.exe -D html_theme=python_docs_theme source build\r\nRunning Sphinx v7.1.0\r\nbuilding [mo]: targets for 0 po files that are out of date\r\nwriting output...\r\nbuilding [html]: targets for 1 source files that are out of date\r\nupdating environment: [new config] 1 added, 0 changed, 0 removed\r\nreading sources... [100%] index\r\nlooking for now-outdated files... none found\r\npickling environment... done\r\nchecking consistency... done\r\npreparing documents... done\r\ncopying assets... copying static files... done\r\ncopying extra files... done\r\ndone\r\nwriting output... [100%] index\r\nTheme error:\r\nAn error happened in rendering the page index.\r\nReason: OSError(22, 'Invalid argument')\r\nPS E:\\temp\\Sphinx\u003e\r\n```\r\n\r\n\r\nI first reported this [as Sphinx issue](https://github.com/sphinx-doc/sphinx/issues/11519). There I was pointed to a [very similar issue](https://github.com/sphinx-doc/sphinx/issues/11518) in which it was concluded that the theme code needs to be changed. I guess that a similar fix is required here...?","author":{"url":"https://github.com/ThimoNeubauer","@type":"Person","name":"ThimoNeubauer"},"datePublished":"2023-07-26T09:53:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/136/python-docs-theme/issues/136"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:50b847f3-02ae-68bf-81be-fe4a4934f5ae |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E8BE:3D45D4:20952C3:29A6B41:697587FD |
| html-safe-nonce | 0641f3d664e674a9adc035f7f0fe07335534c7d8bf90a9bb6026b82efdfec3dc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOEJFOjNENDVENDoyMDk1MkMzOjI5QTZCNDE6Njk3NTg3RkQiLCJ2aXNpdG9yX2lkIjoiODM3NjkyNTQ4MDI3MDc5MjcwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9b634a8a9c483cffb6fdf96e29ec20188337f5b6b4ece227330e693b0b00f88c |
| hovercard-subject-tag | issue:1822020249 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/python-docs-theme/136/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ae552b3e5da03fc469b302168794716bf89555658105575312f20a037e61a0a5/python/python-docs-theme/issues/136 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ae552b3e5da03fc469b302168794716bf89555658105575312f20a037e61a0a5/python/python-docs-theme/issues/136 |
| og:image:alt | 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 "pyt... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ThimoNeubauer |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4a4bf5f4e28041a9d2e5c107d7d20b78b4294ba261cab243b28167c16a623a1f |
| turbo-cache-control | no-preview |
| go-import | github.com/python/python-docs-theme git https://github.com/python/python-docs-theme.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 93341818 |
| octolytics-dimension-repository_nwo | python/python-docs-theme |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 93341818 |
| octolytics-dimension-repository_network_root_nwo | python/python-docs-theme |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 488b30e96dfd057fbbe44c6665ccbc030b729dde |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width