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

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

[Octave-bug-tracker] [bug #56201] warning message that only eps is avail


From: Rik
Subject: [Octave-bug-tracker] [bug #56201] warning message that only eps is available, even with new default opengl renderer
Date: Wed, 24 Apr 2019 18:19:19 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Follow-up Comment #4, bug #56201 (project octave):

The warning messages in the print system are not very well organized.  I tried
to make them a bit more consistent, but in this case the other notoolXXX
errors do not have the Octave prefix.


plot/util/print.m:      error ("print:noepstool", "print: 'epstool' is
required for specified output format, but binary is not available in PATH");
plot/util/print.m:    error ("print:nofig2dev", "print: 'fig2dev' is required
for specified output format, but binary is not available in PATH");


This also matches other uses in optimization


optimization/fsolve.m:    error ("fsolve:isinf", "fsolve: Inf value
encountered");
optimization/fzero.m:    error ("fzero:bracket", "fzero: not a valid initial
bracketing");


It may not be right though.  Maybe everything that is associated with Octave
should reside in the Octave namespace?

For example, the sqrtm function uses the Octave namespace.


    warning_with_id ("Octave:sqrtm:SingularMatrix",
                     "sqrtm: matrix is singular, may not have a square
root");


Are Matlab errors always within the Matlab namespace?

How are errors in packages classified?  Is it "PKG_NAME:FUNCTION:ERROR_ID"?



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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