Closed silverlight-jjm closed 3 years ago
Please fill our template. I can't understand what is happened.
I want to build ansible docsite. git clone https://github.com/ansible/ansible.git cd ansible make website python -m pip install -r requirements.txt python -m pip install -r docs/docsite/requirement.txt source hacking/env-setup make webdocs
than report error
building [mo]: targets for 0 po files that are out of date building [html]: targets for 478 source files that are out of date updating environment: [new config] 478 added, 0 changed, 0 removed reading sources... [ 20%] collections/ansible/builtin/getent_module .. collectioreading sources... [ 30%] collections/ansible/builtin/replace_module .. collectireading sources... [ 40%] collections/index_module .. dev_guide/platforms/vmwarereading sources... [ 50%] dev_guide/style_guide/basic_rules .. dev_guide/testingreading sources... [ 60%] dev_guide/testing/sanity/pylint .. network/getting_stareading sources... [ 80%] porting_guides/porting_guide_2.10 .. scenario_guides/greading sources... [ 90%] scenario_guides/guide_online .. user_guide/modules_intreading sources... [100%] user_guide/modules_support .. user_guide/windows_winrm waiting for workers... Extension error: Handler <bound method EnvironmentCollector.merge_other of <notfound.extension.OrphanMetadataCollector object at 0x7f133c6a7be0>> for event 'env-merge-info' threw an exception (exception: )
Handler <bound method EnvironmentCollector.merge_other of <notfound.extension.OrphanMetadataCollector object at 0x7f133c6a7be0>> for event 'env-merge-info' threw an exception (exception: )
This error came from this 3rd party extension named notfound.extension.OrphanMetadataCollector
. Please report this to their project or ask how to build the document to ansible project.
Thanks,
@silverlight-jjm - The workaround for building ansible docs for now is to either downgrade sphinx-notfound-page to 0.4 (pip install sphinx-notfound-page==0.4) or run it from source ( pip install git+https://github.com/readthedocs/sphinx-notfound-page.)
It seems the problem has been resolved there but not in an official release yet.
More specifically the fix appears to be https://github.com/readthedocs/sphinx-notfound-page/commit/47887ecb35f42da29dd111f8a281a22ad4bf7412 which implements the merge_other
method that sphinx complains about
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Your project Link to your sphinx project, or attach zipped small project sample.
Screenshots If applicable, add screenshots to help explain your problem.
Environment info
Additional context Add any other context about the problem here.