|
From: | Mike Miller |
Subject: | [Octave-bug-tracker] [bug #55226] building doc figures in .png format occasionally fails with error in getframe: unable to retrieve figure pixels |
Date: | Fri, 14 Dec 2018 19:51:22 -0500 (EST) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36 |
Update of bug #55226 (project octave): Status: None => Confirmed _______________________________________________________ Follow-up Comment #5: Thank you! I've also tested the following now: $ for i in $(seq 1 100); do ./run-octave -qfH --eval 'hf = figure ("visible", "off"); d = getframe (hf);'; done error: getframe: unable to retrieve figure pixels error: getframe: unable to retrieve figure pixels $ for i in $(seq 1 100); do ./run-octave -qfH --eval 'pause (1); hf = figure ("visible", "off"); d = getframe (hf);'; done error: getframe: unable to retrieve figure pixels error: getframe: unable to retrieve figure pixels error: getframe: unable to retrieve figure pixels $ for i in $(seq 1 100); do ./run-octave -qfH --eval 'pause (3); hf = figure ("visible", "off"); d = getframe (hf);'; done I get the same 2-3% failure rate with the first two as with my other tests. But with a three second pause before doing anything each time Octave starts, I get zero failures. This again seems to tie it to the elapsed time between Octave starting and the call to getframe. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?55226> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |