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

building documantion is broken #4653

Closed
psychocoderHPC opened this issue Aug 22, 2023 · 2 comments
Closed

building documantion is broken #4653

psychocoderHPC opened this issue Aug 22, 2023 · 2 comments
Labels
bug a bug in the project's code documentation regarding documentation or wiki discussions

Comments

@psychocoderHPC
Copy link
Member

Error from PR #4652
It looks like the error is similar to sphinx-doc/sphinx#11605

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/picongpu/envs/4652/lib/python3.11/site-packages/sphinx/cmd/build.py", line 293, in build_main
    app = Sphinx(args.sourcedir, args.confdir, args.outputdir,
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/docs/checkouts/readthedocs.org/user_builds/picongpu/envs/4652/lib/python3.11/site-packages/sphinx/application.py", line 233, in __init__
    self.setup_extension(extension)
  File "/home/docs/checkouts/readthedocs.org/user_builds/picongpu/envs/4652/lib/python3.11/site-packages/sphinx/application.py", line 406, in setup_extension
    self.registry.load_extension(self, extname)
  File "/home/docs/checkouts/readthedocs.org/user_builds/picongpu/envs/4652/lib/python3.11/site-packages/sphinx/registry.py", line 460, in load_extension
    metadata = setup(app)
               ^^^^^^^^^^
  File "/home/docs/checkouts/readthedocs.org/user_builds/picongpu/envs/4652/lib/python3.11/site-packages/breathe/__init__.py", line 12, in setup
    directive_setup(app)
  File "/home/docs/checkouts/readthedocs.org/user_builds/picongpu/envs/4652/lib/python3.11/site-packages/breathe/directives/setup.py", line 61, in setup
    project_info_factory = ProjectInfoFactory(app)
                           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/docs/checkouts/readthedocs.org/user_builds/picongpu/envs/4652/lib/python3.11/site-packages/breathe/project.py", line 116, in __init__
    self._default_build_dir = os.path.dirname(app.doctreedir.rstrip(os.sep))
                                              ^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'PosixPath' object has no attribute 'rstrip'

Exception occurred:
  File "/home/docs/checkouts/readthedocs.org/user_builds/picongpu/envs/4652/lib/python3.11/site-packages/breathe/project.py", line 116, in __init__
    self._default_build_dir = os.path.dirname(app.doctreedir.rstrip(os.sep))
                                              ^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'PosixPath' object has no attribute 'rstrip'
The full traceback has been saved in /tmp/sphinx-err-vp899j3m.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!
@psychocoderHPC psychocoderHPC added bug a bug in the project's code documentation regarding documentation or wiki discussions labels Aug 22, 2023
psychocoderHPC added a commit to psychocoderHPC/picongpu that referenced this issue Aug 22, 2023
psychocoderHPC added a commit to psychocoderHPC/picongpu that referenced this issue Aug 22, 2023
psychocoderHPC added a commit to psychocoderHPC/picongpu that referenced this issue Aug 23, 2023
psychocoderHPC added a commit to psychocoderHPC/picongpu that referenced this issue Aug 23, 2023
psychocoderHPC added a commit to psychocoderHPC/picongpu that referenced this issue Aug 24, 2023
psychocoderHPC added a commit to psychocoderHPC/picongpu that referenced this issue Aug 24, 2023
psychocoderHPC added a commit to psychocoderHPC/picongpu that referenced this issue Aug 24, 2023
@PrometheusPi
Copy link
Member

@psychocoderHPC Did #4654 solve this issue?

@PrometheusPi
Copy link
Member

Okay - the pull request says yes - I will close this issue.

MRZirper pushed a commit to MRZirper/picongpu that referenced this issue Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug a bug in the project's code documentation regarding documentation or wiki discussions
Projects
None yet
Development

No branches or pull requests

2 participants