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

aafigure does not work with latest sphinx #4

Closed
viblo opened this issue Jan 9, 2023 · 2 comments
Closed

aafigure does not work with latest sphinx #4

viblo opened this issue Jan 9, 2023 · 2 comments

Comments

@viblo
Copy link

viblo commented Jan 9, 2023

It seems like the sphinx extension of aafigure does not work with latest sphinx. (Tested with sphinx 6.1.2). It works on sphinx 6.1.1 It tries to copy the source folder instead of the generated file it:

sphinx.errors.SphinxWarning: cannot copy image file 'C:\\path-to-project\\docs2\\src\\.': [Errno 13] Permission denied: 'C:\\path-to-project\\docs2\\src\\.'

This small rst example will trigger this error:

.. aafig::

  x
@viblo
Copy link
Author

viblo commented Jan 9, 2023

Also reported to sphinx, at sphinx-doc/sphinx#11117

@viblo
Copy link
Author

viblo commented Jan 10, 2023

Given the research done in the sphinx ticket I think its clear its a sphinx issue and not a problem in aafigure. Sphinx has now reverted the changes, so I will close the issue here.

@viblo viblo closed this as completed Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant