octave should give clear error message when gnuplot is not installed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Octave |
Unknown
|
Unknown
|
|||
octave (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: octave
Currently, installing Octave from "Add/Remove Applications" (installing with Synaptic not tested) does not install GNUPlot, and so using the "plot" command in Octave yields the folloeing error:
octave:1> x=0:pi/1000:2*pi;
octave:2> plot(x, sin(x))
sh: gnuplot: not found
warning: broken pipe -- some output may be lost
sh: gnuplot: not found
error: Version numbers must be a single row
error: evaluating if command near line 73, column 3
error: called from `compare_versions' in file `/usr/share/
error: evaluating static command near line 35, column 5
error: evaluating if command near line 29, column 3
error: called from `__go_draw_axes__' in file `/usr/share/
error: evaluating switch command near line 57, column 4
error: evaluating for command near line 55, column 2
error: evaluating if command near line 37, column 7
error: evaluating if command near line 30, column 5
error: evaluating if command near line 29, column 3
error: called from `__go_draw_
error: evaluating if command near line 61, column 6
error: evaluating if command near line 58, column 4
error: evaluating if command near line 56, column 2
error: evaluating for command near line 55, column 7
error: evaluating if command near line 38, column 5
error: called from `drawnow' in file `/usr/share/
Expected result:
A plot should appear.
As a side note, currently the Add/Remove application installs the package "octave2.9". Should it install the wrapper package "octave" instead?
-Gabriel