#18908: mathematica interface hangs if mathematica is not installed
-------------------------------------+-------------------------------------
Reporter: dimpase | Owner:
Type: defect | Status: needs_review
Priority: major | Milestone: sage-6.8
Component: scripts | Resolution:
Keywords: | Merged in:
Authors: Dima Pasechnik, | Reviewers: Nathann Cohen,
Jeroen Demeyer | Sébastien Labbé, Salvatore Stella
Report Upstream: N/A | Work issues:
Branch: public/18908 | Commit:
Dependencies: | a3c75ab48e7a0ef0b5f5c38cf769b58e0be35ba4
| Stopgaps:
-------------------------------------+-------------------------------------
Comment (by jdemeyer):
Sometimes it is easier to just write a patch and explain later rather than
the other way around. And unfortunately there is no ticket status for
"hang on, I'm working on a patch".
The ''real'' problem with the script was that, when the `math` child
process exited (for whatever reason, including Mathematica not being
installed), the `math-readline` script did not exit. The proper fix is to
check for the exiting of the child process. This works no matter for which
reason the child process exited (which could be calling `Exit` in
Mathematica, which could be Mathematica crashing, which could be
Mathematica not being installed).
--
Ticket URL: <http://trac.sagemath.org/ticket/18908#comment:28>
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.