Graceful degradation when home directory not writable #863

Closed
cool-RR opened this Issue Oct 12, 2011 · 5 comments

Projects

None yet

4 participants

@cool-RR
cool-RR commented Oct 12, 2011

I can't use IPython on ep.io because the home folder there is read-only.

Please make IPython gracefully degrade when it can't write to ~/.ipython, instead of just giving up and exiting.

@takluyver
Member

What version are you trying with? It should detect that ~/.ipython isn't writable, and use a temporary directory instead. But maybe that fails if your home directory is also read only.

@fperez
Member
fperez commented Oct 12, 2011

Note that you can also set the environment variable IPYTHON_DIR to point to any location you want, in case you can't update ipython. Let us know if that works...

@cool-RR
cool-RR commented Oct 12, 2011

Version 0.11.

On Wed, Oct 12, 2011 at 6:16 PM, Thomas <
reply@reply.github.com>wrote:

What version are you trying with? It should detect that ~/.ipython isn't
writable, and use a temporary directory instead. But maybe that fails if
your home directory is also read only.

Reply to this email directly or view it on GitHub:
#863 (comment)

@cool-RR
cool-RR commented Oct 12, 2011

Thanks, that's helpful!

On Wed, Oct 12, 2011 at 6:17 PM, Fernando Perez <
reply@reply.github.com>wrote:

Note that you can also set the environment variable IPYTHON_DIR to point
to any location you want, in case you can't update ipython. Let us know if
that works...

Reply to this email directly or view it on GitHub:
#863 (comment)

@minrk
Member
minrk commented Oct 12, 2011

just to be specific: the fix is only in master, not 0.11 or earlier.

Note that IPython will still not be able to start if tempfile.mkdtemp() fails, but that should only happen if you have no access at all to the filesystem.

Closing as a duplicate of #669.

@minrk minrk closed this Oct 12, 2011
@pyinstaller-tickets-migration pyinstaller-tickets-migration referenced this issue in pyinstaller/pyinstaller Oct 18, 2014
Closed

Hook for embedded IPython #631

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