octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #55648] [MXE-Octave] cannot print with gnuplot


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #55648] [MXE-Octave] cannot print with gnuplot graphics toolkit
Date: Mon, 11 Feb 2019 14:39:42 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0

Follow-up Comment #9, bug #55648 (project octave):

I made a few debug outputs in __gnuplot_get_var__ to see what is sent to
gnuplot and what is received.
It looks like the commands and the results get out of sync. The function seems
to be interrupted by itself:

>> print test -dtikz
gp_var_name = GPVAL_TERMINALS
str =
gp_var_name = GPVAL_TERMINALS
str =
str = OCTAVE:  cairolatex canvas cgm context domterm dumb dxf eepic emf emtex
epscairo epslatex fig hpgl latex lua mf mp pcl5 pdfcairo pngcairo postscript
pslatex pstex pstricks qms qt svg texdraw tgif tikz tkcanvas tpic unknown
windows
wxt

gp_var_name = GPVAL_TERM
str =
str =
str =
str =
str = OCTAVE: wxt

str = OCTAVE:  cairolatex canvas cgm context domterm dumb dxf eepic emf emtex
epscairo epslatex fig hpgl latex lua mf mp pcl5 pdfcairo pngcairo postscript
pslatex pstex pstricks qms qt svg texdraw tgif tikz tkcanvas tpic unknown
windows
wxt

gp_var_name = GPVAL_TERMINALS
str =
gp_var_name = GPVAL_TERMINALS
str =
str =
str = OCTAVE:  cairolatex canvas cgm context domterm dumb dxf eepic emf emtex
epscairo epslatex fig hpgl latex lua mf mp pcl5 pdfcairo pngcairo postscript
pslatex pstex pstricks qms qt svg texdraw tgif tikz tkcanvas tpic unknown
windows
wxt

gp_var_name = GPVAL_TERM
str =
str = OCTAVE:  cairolatex canvas cgm context domterm dumb dxf eepic emf emtex
epscairo epslatex fig hpgl latex lua mf mp pcl5 pdfcairo pngcairo postscript
pslatex pstex pstricks qms qt svg texdraw tgif tikz tkcanvas tpic unknown
windows
wxt

str =
str =
str = OCTAVE: wxt

gnuplot_supports_term = 0
error: __gnuplot_drawnow__: the gnuplot terminal, "tikz", is not available
error: called from
    __gnuplot_drawnow__ at line 51 column 9
    __gnuplot_print__>local_drawnow at line 232 column 5
    __gnuplot_print__ at line 114 column 9
    print at line 692 column 14
gp_var_name = GPVAL_TERMINALS
str =
str =
str =
str =
str =
str =
str =
str =
str = OCTAVE:  cairolatex canvas cgm context domterm dumb dxf eepic emf emtex
epscairo epslatex fig hpgl latex lua mf mp pcl5 pdfcairo pngcairo postscript
pslatex pstex pstricks qms qt svg texdraw tgif tikz tkcanvas tpic unknown
windows
wxt

gp_var_name = GPVAL_TERM
str =
str =
str =
str =
str = OCTAVE: wxt


A "drawnow" in line 40 of __gnuplot_drawnow__ seems to prevent the error. But
the hole construct seems to be very fragile. At least the !use_mkfifo part of
__gnuplot_get_var__ relies on not being interrupted by callbacks that might
start the same function again. There is no guarantee that that will never
happen.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55648>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]