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

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

[Octave-bug-tracker] [bug #44152] print("plot_file.pdf") generates warni


From: Rik
Subject: [Octave-bug-tracker] [bug #44152] print("plot_file.pdf") generates warning message
Date: Fri, 24 Apr 2015 05:16:43 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0

Follow-up Comment #1, bug #44152 (project octave):

The relevant lines from __print_parse_opts__.m


  if (warn_on_missing_binary)
    if (isempty (arg_st.ghostscript.binary))
      warning ("print:missing_gs", "print.m: Ghostscript binary is not
available.\nOnly eps output is available.");
    else
      if (isempty (arg_st.epstool_binary))
        warning ("print:missing_epstool", "print.m: epstool binary is not
available.\nSome output formats are not available.");
      endif
      if (isempty (arg_st.fig2dev_binary))
        warning ("print:missing_fig2dev", "print.m: fig2dev binary is not
available.\nSome output formats are not available.");
      endif
      if (isempty (arg_st.pstoedit_binary))
        warning ("print:missing_pstoedit", "print.m: pstoedit binary is not
available.\nSome output formats are not available.");
      endif
    endif
    warn_on_missing_binary = false;
  endif


Should we get rid of all of these messages entirely and just use the error
reporting that will happen if you try to print something that requires a
missing binary?

Or maybe we should keep the first one because Ghostscript is pretty crucial to
most of the printing.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44152>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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