[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55225] building doc figures in .eps or .pdf f
From: |
Pantxo Diribarne |
Subject: |
[Octave-bug-tracker] [bug #55225] building doc figures in .eps or .pdf format occasionally silently fails |
Date: |
Tue, 26 May 2020 03:49:31 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0 |
Follow-up Comment #44, bug #55225 (project octave):
@Hg200: You are right, the slot never gets called.
I drew my previous erroneous conclusions while using a patch (attached as
tst_print.patch) that changes the way we execute the slots.
I used the following for testing
rm -rf /tmp/t1/*
rm -rf /tmp/tst_print.log
parallel -j 32 -N0 -q ./run-octave --norc --silent --no-history --eval 'figure
("visible", "off"); plot ([1,2]); pipeline = ["/tmp/t1/file-" num2str({#})
".ps"]; drawnow ("eps", pipeline);' ::: {1..256} > /tmp/tst_print.log 2>
/dev/null
ls -c /tmp/t1/ | wc -l
With this patch I see that:
* the ObjectProxy pointer is always valid in qt_graphics_toolkit::print_figure
(so I was still wrong): "failed "is never printed
* sometimes "Sending print" (and the rest) is not printed: so it means that
the problem is that the proxy is not fully constructed and doesn't hold a
valid Figure Object (m_object member).
My conclusion is that making the initialization of ObjectProxy synchronous
would probably solve this, at least it does for me with the second attached
patch.
(file #49171, file #49172)
_______________________________________________________
Additional Item Attachment:
File name: tst_print.patch Size:2 KB
<https://savannah.gnu.org/file/tst_print.patch?file_id=49171>
File name: bug55225.patch Size:1 KB
<https://savannah.gnu.org/file/bug55225.patch?file_id=49172>
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55225>
_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #55225] building doc figures in .eps or .pdf format occasionally silently fails, (continued)
- [Octave-bug-tracker] [bug #55225] building doc figures in .eps or .pdf format occasionally silently fails, Dmitri A. Sergatskov, 2020/05/23
- [Octave-bug-tracker] [bug #55225] building doc figures in .eps or .pdf format occasionally silently fails, Markus Mützel, 2020/05/24
- [Octave-bug-tracker] [bug #55225] building doc figures in .eps or .pdf format occasionally silently fails, Dmitri A. Sergatskov, 2020/05/24
- [Octave-bug-tracker] [bug #55225] building doc figures in .eps or .pdf format occasionally silently fails, Markus Mützel, 2020/05/24
- [Octave-bug-tracker] [bug #55225] building doc figures in .eps or .pdf format occasionally silently fails, Dmitri A. Sergatskov, 2020/05/24
- [Octave-bug-tracker] [bug #55225] building doc figures in .eps or .pdf format occasionally silently fails, Markus Mützel, 2020/05/24
- [Octave-bug-tracker] [bug #55225] building doc figures in .eps or .pdf format occasionally silently fails, Dmitri A. Sergatskov, 2020/05/24
- [Octave-bug-tracker] [bug #55225] building doc figures in .eps or .pdf format occasionally silently fails, Hg200, 2020/05/24
- [Octave-bug-tracker] [bug #55225] building doc figures in .eps or .pdf format occasionally silently fails, Pantxo Diribarne, 2020/05/24
- [Octave-bug-tracker] [bug #55225] building doc figures in .eps or .pdf format occasionally silently fails, Hg200, 2020/05/25
- [Octave-bug-tracker] [bug #55225] building doc figures in .eps or .pdf format occasionally silently fails,
Pantxo Diribarne <=
- [Octave-bug-tracker] [bug #55225] building doc figures in .eps or .pdf format occasionally silently fails, Dmitri A. Sergatskov, 2020/05/26
- [Octave-bug-tracker] [bug #55225] building doc figures in .eps or .pdf format occasionally silently fails, Hg200, 2020/05/26
- [Octave-bug-tracker] [bug #55225] building doc figures in .eps or .pdf format occasionally silently fails, Pantxo Diribarne, 2020/05/27
- [Octave-bug-tracker] [bug #55225] building doc figures in .eps or .pdf format occasionally silently fails, John W. Eaton, 2020/05/27
- [Octave-bug-tracker] [bug #55225] building doc figures in .eps or .pdf format occasionally silently fails, Pantxo Diribarne, 2020/05/27