[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #58421] Print can't find Ghostscript, but Ghos
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #58421] Print can't find Ghostscript, but Ghostscript is installed and on the path |
Date: |
Wed, 20 May 2020 20:07:52 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0 |
URL:
<https://savannah.gnu.org/bugs/?58421>
Summary: Print can't find Ghostscript, but Ghostscript is
installed and on the path
Project: GNU Octave
Submitted by: None
Submitted on: Thu 21 May 2020 12:07:51 AM UTC
Category: Plotting
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name: Phil Freeman
Originator Email: address@hidden
Open/Closed: Open
Release: 5.2.0
Discussion Lock: Any
Operating System: GNU/Linux
_______________________________________________________
Details:
Ghostscript 9.26 in installed in /usr/bin (gs and ghostscript).
/usr/bin is on the path.
In Octave I get the following warning and error
>> surf(peaks)
>> print('peaks')
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
error: __ghostscript__.m: Ghostscript binary is required for specified output
format, but binary is not available in PATH
error: called from
__ghostscript__ at line 64 column 5
__opengl_print__ at line 155 column 29
print at line 710 column 16
Checking the path within Octave gives
>> system('echo $PATH')
/snap/octave/29/usr/sbin:/snap/octave/29/usr/bin:/snap/octave/29/sbin:/snap/octave/29/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/octave/29/libexec/octave/5.2.0/site/exec/x86_64-pc-linux-gnu:/snap/octave/29/libexec/octave/api-v53/site/exec/x86_64-pc-linux-gnu:/snap/octave/29/libexec/octave/site/exec/x86_64-pc-linux-gnu:/snap/octave/29/libexec/octave/5.2.0/exec/x86_64-pc-linux-gnu:/snap/octave/29/bin
ans = 0
which shows that /usr/bin is on the path.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58421>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #58421] Print can't find Ghostscript, but Ghostscript is installed and on the path,
anonymous <=