octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #55558] inaccurate error message when gnuplot


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #55558] inaccurate error message when gnuplot binary is broken or wrong
Date: Wed, 23 Jan 2019 13:50:51 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

URL:
  <https://savannah.gnu.org/bugs/?55558>

                 Summary: inaccurate error message when gnuplot binary is
broken or wrong
                 Project: GNU Octave
            Submitted by: mtmiller
            Submitted on: Wed 23 Jan 2019 10:50:49 AM PST
                Category: Plotting with gnuplot
                Severity: 1 - Wish
                Priority: 5 - Normal
              Item Group: Documentation
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

As originally reported in bug #55528, if the gnuplot binary that Octave is
trying to use is either not a valid binary, or the wrong program, or fails in
some other way, a misleading error says that gnuplot is too old.

This is easy to demonstrate by simply pointing 'gnuplot_binary' to something
else:


>> gnuplot_binary ('/bin/false');
>> graphics_toolkit gnuplot
error: graphics_toolkit: gnuplot version too old.
error: called from
    graphics_toolkit at line 88 column 9


There should be an improved error check that reports that something went wrong
calling the gnuplot program.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55558>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]