Closed
Bug 1851235
Opened 2 years ago
Closed 1 year ago
makedocs.pl fails on modern versions of Sphinx (7.2.5) - TypeError: not all arguments converted during string formatting
Categories
(Bugzilla :: Documentation, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: justdave, Assigned: hellcp)
References
Details
Attachments
(2 files, 1 obsolete file)
❯ perl docs/makedocs.pl
Creating API documentation...
Creating HTML documentation ...
sphinx-build -b html -d ./doctrees rst ./html
Running Sphinx v7.2.5
building [mo]: targets for 0 po files that are out of date
writing output...
building [html]: targets for 78 source files that are out of date
updating environment: [new config] 78 added, 0 changed, 0 removed
/Users/dave/Source/Bugzilla/bugzilla/docs/en/rst/administering/extensions.rst:14: WARNING: toctree glob pattern '../extensions/*/index-admin' didn't match any documents
Exception occurred:
File "/usr/local/lib/python3.11/site-packages/sphinx/ext/extlinks.py", line 108, in role
title = caption % part
~~~~~~~~^~~~~~
TypeError: not all arguments converted during string formatting
The full traceback has been saved in /var/folders/qn/lhjhrnjr8xl2bk001s6gv8jr0000gq/T/sphinx-err-v9rhqmwr.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!
make: *** [html] Error 2
Reporter | ||
Comment 1•2 years ago
|
||
LCP provided this patch on Discord.
It works on Sphinx 7.2.5, and the behavior on Sphinx 4.3.2 is unchanged.
Reporter | ||
Updated•2 years ago
|
Assignee: documentation → hel
Reporter | ||
Comment 2•2 years ago
|
||
Attachment #9351260 -
Attachment is obsolete: true
Reporter | ||
Comment 3•2 years ago
|
||
The PR for 5.2 has landed.
https://github.com/bugzilla/bugzilla/commit/3dbca9bf8e2e6541203f043244639e6557846506
We should probably port this to harmony before closing the bug.
Reporter | ||
Updated•2 years ago
|
Blocks: bugzilla-5.9.1
Reporter | ||
Comment 4•1 year ago
|
||
Reporter | ||
Updated•1 year ago
|
Attachment #9351393 -
Flags: merged+
Reporter | ||
Comment 5•1 year ago
|
||
Comment on attachment 9401584 [details] [review]
GitHub Pull Request for harmony by Emma
https://github.com/bugzilla/harmony/commit/111cc0c8be238e6727c9489de2ad02aeff0b1cdf
Attachment #9401584 -
Flags: merged+
Reporter | ||
Updated•1 year ago
|
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•