[Bug 479914] Re: ipython cannot load configuration files and start with default -bare bones- configuration in Karmic

Paul Kishimoto mail at paul.kishimoto.name
Tue Jan 19 14:25:05 UTC 2010


This is somewhat the intended behaviour. The iPython documentation
(file:///usr/share/doc/ipython/manual/html/config/index.html) describes
two ways of handling configuration:

* Old: .ipython/ipythonrc, .ipython/ipythonrc-PROFILENAME
* New: .ipython/ipy_user_conf.py, .ipython/ipy_profile_PROFILENAME.py

The file .ipython/ipythonrc must *exist*; if it doesn't, the traceback
you see is produced. However, it is possible to run iPython perfectly
well with an *empty* ipythonrc file, doing all configuration through
ipy_user_conf.py.

There is an example of this file on your system at
/usr/share/pyshared/IPython/UserConfig/ipy_user_conf.py (Ubuntu 9.10) —
or type "locate ipy_user_conf.py" to find it. The line "import
ipy_defaults" in this file establishes the iPython features you are used
to.

I think the bug here is that iPython should treat a missing ipythonrc
the same as an empty one, so I'm changing the title.

** Summary changed:

- ipython cannot load configuration files and start with default -bare bones- configuration in Karmic
+ ipython throws errors if only ipy_user_conf.py (no ipythonrc) present

** Changed in: ipython (Ubuntu)
       Status: New => Confirmed

-- 
ipython throws errors if only ipy_user_conf.py (no ipythonrc) present
https://bugs.launchpad.net/bugs/479914
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


More information about the universe-bugs mailing list