bugGNU Octave - Bugs: bug #44152, print("plot_file.pdf")...

 
 

bug #44152: print("plot_file.pdf") generates warning message

Submitted by:  Michael Godfrey <godfrey>
Submitted on:  Sun 01 Feb 2015 05:35:00 PM UTC  
 
Category: Plotting with OpenGLSeverity: 4 - Important
Priority: 3 - LowItem Group: Regression
Status: FixedAssigned to: None
Originator Name: GodfreyOpen/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 01 Sep 2017 06:42:39 PM UTC, comment #3:

This turned out to be a long patch. There was a lot of cruft surrounding the warning messages. I checked something in here (http://hg.savannah.gnu.org/hgweb/octave/rev/fcf7543e0d49).

Rik <rik5>
Project Administrator
Wed 29 Jun 2016 10:20:24 AM UTC, comment #2:

Omitting all of the checks seems a good option. I assume that the error from the missing binary states which binary is missing.

Lachlan Andrew <lachlan>
Project Member
Fri 24 Apr 2015 05:16:42 AM UTC, comment #1:

The relevant lines from _print_parse_opts_.m

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.

Rik <rik5>
Project Administrator
Sun 01 Feb 2015 05:35:00 PM UTC, original submission:

The warning is:
warning: print.m: pstoedit binary is not available.
Some output formats are not available.
warning: called from
_print_parse_opts_ at line 383 column 9
print at line 292 column 8
====================================
This warning is not appropriate since pstoedit is not used
to generate PDF,

Of course, installing pstoedit causes the warning to not appear,
but the plot is identical to the one without pstoedit.

pstoedit is not tested for in ./configure. If it is needed
for some plot formats, it should be tested for, or the
warning should only be issued if the plot requires it.

This is a minor item.

Michael Godfrey <godfrey>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by lachlan (Posted a comment)
  • -unavailable- added by rik5 (Updated the item)
  • -unavailable- added by godfrey (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 01 Sep 2017 06:42:39 PM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Fri 01 Jul 2016 05:21:59 PM UTCrik5Severity2 - Minor=>4 - Important
    Sun 01 Feb 2015 09:31:36 PM UTCrik5Severity3 - Normal=>2 - Minor
      Priority5 - Normal=>3 - Low

    Back to the top


    Powered by Savane 3.1-cleanup1