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

'PosixPath' object has no attribute 'rstrip' #11636

Closed
mo271 opened this issue Aug 23, 2023 · 1 comment
Closed

'PosixPath' object has no attribute 'rstrip' #11636

mo271 opened this issue Aug 23, 2023 · 1 comment

Comments

@mo271
Copy link

mo271 commented Aug 23, 2023

Describe the bug

FAILED: rtd/nonexistent /home/runner/work/libjxl/libjxl/build/rtd/nonexistent 
cd /home/runner/work/libjxl/libjxl/build && /home/runner/.local/bin/sphinx-build -q -W -b html -j auto /home/runner/work/libjxl/libjxl/doc/sphinx /home/runner/work/libjxl/libjxl/build/rtd

Exception occurred:
  File "/home/runner/.local/lib/python3.10/site-packages/breathe/project.py", line 1[16](https://github.com/libjxl/libjxl/actions/runs/5950747805/job/16139145864?pr=2745#step:18:17), in __init__
    self._default_build_dir = os.path.dirname(app.doctreedir.rstrip(os.sep))
AttributeError: 'PosixPath' object has no attribute 'rstrip'

How to Reproduce

see the failing workflow here:
https://github.com/libjxl/libjxl/actions/runs/5950747805/job/16139145864?pr=2745

Environment Information

[It is a bit of a hassle to produce the output and also to attach error log `/tmp/sphinx-err-kpqgavu2.log` as suggested, because this is happening in the github ci. I open this nonetheless, because I hope that the little information that is provided already might be helpful...]

Sphinx extensions

No response

Additional context

No response

@AA-Turner
Copy link
Member

See breathe-doc/breathe#943

@AA-Turner AA-Turner closed this as not planned Won't fix, can't repro, duplicate, stale Aug 23, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants