Opened 12 years ago
Last modified 5 weeks ago
#10223 new defect
maxima crashes if using plot in absence of gnuplot
Reported by: | lftabera | Owned by: | was |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | interfaces | Keywords: | maxima, plot, gnuplot |
Cc: | jason | Merged in: | |
Authors: | Reviewers: | ||
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description
using maxima.plot needs gnuplot installed, either in the PATH or as an spkg.
In the absence of gnuplot, maxima.plot should send an error messages. It crashes instead.
(Ensure that you do not have gnuplot installed).
sage: maxima.plot2d('sin(x)','[x,-5,5]') .... EOF: End Of File (EOF) in read_nonblocking(). Exception style platform. ... sage:
If you try again the same command
sage: maxima.plot2d('sin(x)','[x,-5,5]') Maxima crashed -- automatically restarting. Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in <type 'exceptions.RuntimeError'> ignored Exception RuntimeError: RuntimeError('maximum recursion depth exceeded in cmp',) in Exception RuntimeError: 'maximum recursion depth exceeded in __subclasscheck__' in <type 'exceptions.RuntimeError'> ignored ignored
And goes on with RuntimeError? endlessly, you have to kill sage to stop it.
With gnuplot installed everything goes smooth.
Change History (8)
comment:1 Changed 12 years ago by
Cc: | jason added |
---|
comment:2 Changed 11 years ago by
comment:3 Changed 9 years ago by
Milestone: | sage-5.11 → sage-5.12 |
---|
comment:4 Changed 9 years ago by
Milestone: | sage-6.1 → sage-6.2 |
---|
comment:5 Changed 9 years ago by
Milestone: | sage-6.2 → sage-6.3 |
---|
comment:7 Changed 8 years ago by
Milestone: | sage-6.3 → sage-6.4 |
---|
comment:8 Changed 5 weeks ago by
Milestone: | sage-6.4 |
---|
Note: See
TracTickets for help on using
tickets.
I cannot reproduce the error with sage 4.7.1, now it catches a maxima error.
However, I have no idea how to add a doctest to this issue.