[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #52913] failing to print large amount of files
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #52913] failing to print large amount of files |
Date: |
Tue, 16 Jan 2018 09:14:28 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0 |
URL:
<http://savannah.gnu.org/bugs/?52913>
Summary: failing to print large amount of files
Project: GNU Octave
Submitted by: None
Submitted on: Tue 16 Jan 2018 02:14:26 PM UTC
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.2.1
Operating System: GNU/Linux
_______________________________________________________
Details:
Saving the commands
array = rand(10,10);
for index=1:2000;
mesh(array);
print('animation.png', '-dpng');
end
to a file (e.g. 'print_many_files'), and executing them with octave results in
the following:
octave:1> print_many_files
warning: print.m: epstool binary is not available.
Some output formats are not available.
warning: called from
__print_parse_opts__ at line 385 column 9
print at line 315 column 8
print_many_files at line 5 column 3
error: print: failed to open pipe "|/usr/bin/gs -dQUIET -dNOPAUSE -dBATCH
-dSAFER -dAutoRotatePages=/None -sDEVICE=png16m -dLanguageLevel=2
-dTextAlphaBits=4 -dGraphicsAlphaBits=1 -r150x150 -dEPSCrop
-sOutputFile="animation.png" -"
error: called from
__opengl_print__ at line 169 column 7
print at line 519 column 14
print_many_files at line 5 column 3
octave:1> print_many_files
error: print: failed to open pipe "|/usr/bin/gs -dQUIET -dNOPAUSE -dBATCH
-dSAFER -dAutoRotatePages=/None -sDEVICE=png16m -dLanguageLevel=2
-dTextAlphaBits=4 -dGraphicsAlphaBits=1 -r150x150 -dEPSCrop
-sOutputFile="animation.png" -"
error: called from
__opengl_print__ at line 169 column 7
print at line 519 column 14
print_many_files at line 5 column 3
octave:1>
I suspect the epstool warning has nothing to do with the problem, but I
included it for completeness (maybe I am wrong).
What I count as error here is the 'failed to open pipe'
If you call print_many_files for the first time, it takes a while before
octave reports the error. When I numbered the output file it did go up to 995
well and failed at 996 (I have seen no variations in the file numbers).
If you try to call print_many_files a second time, it fails without noticeble
delay.
The correct behaviour would be for me to simply go through the script with no
error, independent of the upper limit of the loop.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?52913>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #52913] failing to print large amount of files,
anonymous <=