#12926: `sage -ipython` doesn't use the sage directory for ipython.
--------------------------+-------------------------------------------------
Reporter: itaibn | Owner: itaibn
Type: defect | Status: new
Priority: major | Milestone: sage-5.1
Component: interfaces | Keywords: ipython
Work issues: | Report Upstream: N/A
Reviewers: | Authors:
Merged in: | Dependencies:
Stopgaps: |
--------------------------+-------------------------------------------------
The command `sage -ipython` uses `~/.ipython` as it's configurations
directory. This is probably not the intended behaviour, since programs
installed through `sage` are not supposed to interfere with installed
independently. In fact, if one installs the latest version of `ipython`
and runs `sage ipython` it returns the following error message:
{{{
WARNING: Configuration file ipythonrc not found. Ignoring request.
------------------------------------------------------------
Traceback (most recent call last):
File "/home/itaibn/sage-5.0.beta7/local/lib/python2.7/site-
packages/IPython/ConfigLoader.py", line 66, in load
fname = filefind(fname,incpath)
File "/home/itaibn/sage-5.0.beta7/local/lib/python2.7/site-
packages/IPython/genutils.py", line 554, in filefind
' not found in current or supplied directories:' + `alt_dirs`
IOError: File'ipythonrc' not found in current or supplied
directories:u'/home/itaibn/.ipython'
WARNING: Problems loading configuration file 'ipythonrc'
Starting with default -bare bones- configuration.
}}}
And then then continues with `ipython` in what is presumably the `-bare
bones-` configuration.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12926>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.