[Ipython-tickets] [IPython] #183: Errors when importing user config need better reporting
IPython
ipython-tickets@scipy....
Thu Aug 30 16:39:59 CDT 2007
#183: Errors when importing user config need better reporting
---------------------+------------------------------------------------------
Reporter: fperez | Owner: vivainio
Type: defect | Status: new
Priority: normal | Milestone:
Component: ipython | Version:
Severity: blocker | Keywords:
---------------------+------------------------------------------------------
I had an error in my ipy_user_conf.py file, but I was getting this message
at startup:
{{{
WARNING: Could not import user config!
('/home/fperez/.ipython/ipy_user_conf.py' does not exist? Please run
'%upgrade')
}}}
It would be much more useful to users at this point to print the actual
traceback, and only print the "doesn't exist?" part only if it really
isn't there (which we can check). In my case, the traceback led me
trivially to the problem, but I had to manually rename ipy_user_conf.py to
a different name, restart and try to re-import that with a new name to see
it.
This may easily confuse new users, as they transition to the new system.
With the old profiles we always printed out full tracebacks to assist this
kind of debugging, so before we encourage users to transition to the new
system, it should provide similar functionality.
--
Ticket URL: <http://ipython.scipy.org/ipython/ipython/ticket/183>
IPython <http://ipython.scipy.org>
The IPython interactive Python system
More information about the Ipython-tickets
mailing list