bad user config shouldn't crash IPython #908

Closed
minrk opened this Issue Oct 20, 2011 · 3 comments

Projects

None yet

2 participants

@minrk
Member
minrk commented Oct 20, 2011

As described in more general #695.

Steps to crash IPython:

  1. $> ipython --colors bananaphone

Making this part a new Issue, because it should block 0.12.

@minrk
Member
minrk commented Oct 20, 2011

It principally amounts to catching TraitErrors during initialization.

@fperez
Member
fperez commented Oct 21, 2011

Tagged for the 0.12 milestone so we notice it as a blocker.

@minrk minrk added a commit to minrk/ipython that referenced this issue Oct 22, 2011
@minrk minrk Show invalid config message on TraitErrors during initialization
implemented via @catch_config decorator

Now, the event that was triggered by invalid app config (see `--log-level 5`) is triggered by bad config at any point during initialization.

This *will* catch TraitError bugs in IPython itself, but only during initialization.

closes gh-908
7ed219c
@minrk
Member
minrk commented Oct 29, 2011

closed by PR #921

@minrk minrk closed this Oct 29, 2011
@mattvonrocketstein mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this issue Nov 3, 2014
@minrk minrk Show invalid config message on TraitErrors during initialization
implemented via @catch_config decorator

Now, the event that was triggered by invalid app config (see `--log-level 5`) is triggered by bad config at any point during initialization.

This *will* catch TraitError bugs in IPython itself, but only during initialization.

closes gh-908
c9a69f0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment