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

Spyder fails to create kernel.json files if jupyter_runtime_dir is not writable #3706

Closed
ccordoba12 opened this issue Nov 18, 2016 · 1 comment

Comments

@ccordoba12
Copy link
Member

ccordoba12 commented Nov 18, 2016

This error was reported here:

http://stackoverflow.com/q/40643760/438386


Solution: If jupyter_runtime_dir is not writable we need to switch to TEMPDIR (defined in utils/programs) to save and load kernel.json files.

@mariacamilaremolinagutierrez, I'm assigning this one to you because you also have issue #3630.

@ccordoba12
Copy link
Member Author

ccordoba12 commented Nov 18, 2016

Scratch my previous solution! Using a different directory other than jupyter_runtime_dir would impose a great burden on us.

So what we need to do is:

  1. Prevent Spyder from crashing when jupyter_runtime_dir is not writable.
  2. Show an error message in our IPython consoles warning users that they need to make jupyter_runtime_dir writable in order for Spyder to create consoles for them.

@mariacamilaremolinagutierrez, about showing errors please see the method called create_new_client in plugins/ipythonconsole.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants