#15972: IPython ProfileDirError if IPython was never run
-------------------------------------+-------------------------------------
Reporter: jdemeyer | Owner:
Type: defect | Status: needs_review
Priority: blocker | Milestone: sage-6.2
Component: interfaces | Resolution:
Keywords: | Merged in:
Authors: John Palmieri | Reviewers:
Report Upstream: N/A | Work issues:
Branch: u/jhpalmieri | Commit:
/ipython-profile-dir | 7889b1aa5cb7f113a61e0d7f06e3a353637ca95c
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by jhpalmieri):
If a user has never run Sage before, they will see this error when doing
`./sage -t src/sage/misc/ascii_art.py`. Once they've run Sage once, it
creates their IPython config directory, so the error doesn't occur any
more (when running vanilla `./sage -t FILE`). If they run `./sage
--nodotsage -t src/sage/misc/ascii_art.py`, though, then the error
reappears, because there is no existing IPython config directory when you
run with `--nodotsage`.
What Jeroen is saying is that all doctests should pass when you run with
`--nodotsage` (or with a different user, etc.); it's not specific to this
particular error. I suppose we could put a test like `./sage --nodotsage
-t SOME/FILE` in `tests/cmdline.py`, but that seems a little odd to me.
--
Ticket URL: <http://trac.sagemath.org/ticket/15972#comment:8>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.