[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #56193] print -tight only warns, does not erro
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #56193] print -tight only warns, does not error when ghostscript binary not found |
Date: |
Mon, 22 Apr 2019 15:09:42 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36 |
Follow-up Comment #2, bug #56193 (project octave):
These examples show the problem for me with Octave 5.1.
On a system with both 'epstool' and 'gs' missing, there is a clear error
message
>> plot (1:10)
>> print -tight foo.eps
error: print.m: 'epstool' is required for specified output format, but binary
is not available in PATH
error: called from
print>epstool at line 809 column 7
__opengl_print__ at line 42 column 16
print at line 710 column 16
But on a system with 'epstool' but no 'gs' binary, only a warning message is
printed, and the shell commands fail, meaning the user gets no output but also
does not get an Octave error message
>> plot (1:10)
>> print -tight foo.eps
warning: print.m: Ghostscript binary is not available. Only eps output is
possible
warning: called from
__print_parse_opts__ at line 487 column 7
print at line 416 column 8
sh: 1: -h: not found
free(): double free detected in tcache 2
Aborted (core dumped)
>> ls *.eps
ls: cannot access '*.eps': No such file or directory
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56193>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/