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

Bad path created for jupyter_execute temporary directory #283

Open
rikardn opened this issue Oct 22, 2024 · 0 comments
Open

Bad path created for jupyter_execute temporary directory #283

rikardn opened this issue Oct 22, 2024 · 0 comments

Comments

@rikardn
Copy link

rikardn commented Oct 22, 2024

The utils.output_directory function always returns /tmp/jupyter_execute on my computer. I suspect this to be an error and the intention being to be inside of the Sphinx directory. In my case the env.app.outdir is /tmp/tmpi78777b43. I checked if this path has changed in recent versions of Sphinx, but I found no differences between Sphinx 7.4.3, 7.0.0 and 8.1.3 .

A solution would be to remove the os.path.pardir.

The problem with the current behaviour is that the same directory will be used by all users on a multiuser system which can cause permission errors if running simultaneously.

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