LyX 2.4.0~RC4 gnuplot onscreen previewing not working

Tobias Hilbricht hilbricht at linopus.de
Thu Apr 11 19:38:13 UTC 2024


Dear readers, 

I can compile the LyX gnuplot scripting example document, but the
gnuplot does not show up onscreen for previewing with needauth
converter enabled. By contrast, PDF-images do get converted for
onscreen preview. I attached a screenshot.

Thanks for having a look at it!
Tobias 

OS Ubuntu 22.04.4
tobias at calypso:~$ convert --version
Version: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25
tobias at calypso:~$ gnuplot --version
gnuplot 5.4 patchlevel 2

tobias at calypso:~$ python3 --version
Python 3.10.12
tobias at calypso:~$ lyx-2.4.0~RC4 -dbg graphics
Testen von ,graphics` (Laden und Konvertierung einer Grafik)
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use
QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Format.cpp (82): New Format: n=latex, flags=1
Format.cpp (82): New Format: n=dvi, flags=1
Format.cpp (82): New Format: n=tgif, flags=2
Format.cpp (82): New Format: n=fig, flags=2
Format.cpp (82): New Format: n=dia, flags=10
Format.cpp (82): New Format: n=odg, flags=10
Format.cpp (82): New Format: n=agr, flags=2
Format.cpp (82): New Format: n=fen, flags=0
Format.cpp (82): New Format: n=svg, flags=2
Format.cpp (82): New Format: n=svgz, flags=10
Format.cpp (82): New Format: n=bmp, flags=0
Format.cpp (82): New Format: n=gif, flags=0
Format.cpp (82): New Format: n=jpg, flags=0
Format.cpp (82): New Format: n=pbm, flags=0
Format.cpp (82): New Format: n=pgm, flags=0
Format.cpp (82): New Format: n=png, flags=0
Format.cpp (82): New Format: n=ppm, flags=0
Format.cpp (82): New Format: n=tiff, flags=0
Format.cpp (82): New Format: n=xbm, flags=0
Format.cpp (82): New Format: n=xpm, flags=0
Format.cpp (82): New Format: n=asciichess, flags=0
Format.cpp (82): New Format: n=docbook5, flags=5
Format.cpp (82): New Format: n=dot, flags=2
Format.cpp (82): New Format: n=dviluatex, flags=5
Format.cpp (82): New Format: n=epub, flags=5
Format.cpp (82): New Format: n=platex, flags=5
Format.cpp (82): New Format: n=literate, flags=5
Format.cpp (82): New Format: n=sweave, flags=5
Format.cpp (82): New Format: n=sweave-ja, flags=5
Format.cpp (82): New Format: n=r, flags=5
Format.cpp (82): New Format: n=knitr, flags=5
Format.cpp (82): New Format: n=knitr-ja, flags=5
Format.cpp (82): New Format: n=lilypond-book, flags=5
Format.cpp (82): New Format: n=lilypond-book-ja, flags=5
Format.cpp (82): New Format: n=latex, flags=5
Format.cpp (82): New Format: n=luatex, flags=5
Format.cpp (82): New Format: n=pdflatex, flags=5
Format.cpp (82): New Format: n=xetex, flags=5
Format.cpp (82): New Format: n=latexclipboard, flags=16
Format.cpp (82): New Format: n=text, flags=5
Format.cpp (82): New Format: n=text2, flags=1
Format.cpp (82): New Format: n=text3, flags=1
Format.cpp (82): New Format: n=text4, flags=1
Format.cpp (82): New Format: n=textparagraph, flags=1
Format.cpp (82): New Format: n=beamer.info, flags=5
Format.cpp (82): New Format: n=lilypond, flags=2
Format.cpp (82): New Format: n=gnumeric, flags=1
Format.cpp (82): New Format: n=excel, flags=1
Format.cpp (82): New Format: n=excel2, flags=1
Format.cpp (82): New Format: n=xhtml_table, flags=1
Format.cpp (82): New Format: n=html_table, flags=1
Format.cpp (82): New Format: n=oocalc, flags=1
Format.cpp (82): New Format: n=xhtml, flags=5
Format.cpp (82): New Format: n=bibtex, flags=0
Format.cpp (82): New Format: n=eps, flags=2
Format.cpp (82): New Format: n=eps2, flags=2
Format.cpp (82): New Format: n=eps3, flags=1
Format.cpp (82): New Format: n=ps, flags=7
Format.cpp (82): New Format: n=pdf, flags=7
Format.cpp (82): New Format: n=pdf2, flags=7
Format.cpp (82): New Format: n=pdf3, flags=7
Format.cpp (82): New Format: n=pdf4, flags=7
Format.cpp (82): New Format: n=pdf5, flags=7
Format.cpp (82): New Format: n=pdf6, flags=2
Format.cpp (82): New Format: n=pdf7, flags=3
Format.cpp (82): New Format: n=pdf8, flags=3
Format.cpp (82): New Format: n=pdf9, flags=7
Format.cpp (82): New Format: n=dvi, flags=7
Format.cpp (82): New Format: n=dvi3, flags=7
Format.cpp (82): New Format: n=html, flags=5
Format.cpp (82): New Format: n=noteedit, flags=2
Format.cpp (82): New Format: n=odt, flags=7
Format.cpp (82): New Format: n=odt2, flags=7
Format.cpp (82): New Format: n=odt3, flags=7
Format.cpp (82): New Format: n=sxw, flags=3
Format.cpp (82): New Format: n=rtf, flags=7
Format.cpp (82): New Format: n=word, flags=7
Format.cpp (82): New Format: n=word2, flags=7
Format.cpp (82): New Format: n=csv, flags=1
Format.cpp (82): New Format: n=fax, flags=1
Format.cpp (82): New Format: n=lyx, flags=0
Format.cpp (82): New Format: n=lyx13x, flags=1
Format.cpp (82): New Format: n=lyx14x, flags=1
Format.cpp (82): New Format: n=lyx15x, flags=1
Format.cpp (82): New Format: n=lyx16x, flags=1
Format.cpp (82): New Format: n=lyx20x, flags=1
Format.cpp (82): New Format: n=lyx21x, flags=1
Format.cpp (82): New Format: n=lyx22x, flags=1
Format.cpp (82): New Format: n=lyx23x, flags=5
Format.cpp (82): New Format: n=clyx, flags=1
Format.cpp (82): New Format: n=jlyx, flags=1
Format.cpp (82): New Format: n=klyx, flags=1
Format.cpp (82): New Format: n=lyxpreview, flags=0
Format.cpp (82): New Format: n=pdftex, flags=0
Format.cpp (82): New Format: n=program, flags=0
Format.cpp (82): New Format: n=pstex, flags=0
Format.cpp (82): New Format: n=wmf, flags=2
Format.cpp (82): New Format: n=emf, flags=2
Format.cpp (82): New Format: n=wordhtml, flags=1
Format.cpp (82): New Format: n=gnuplot, flags=2
Format.cpp (82): New Format: n=lyxgz, flags=5
Format.cpp (82): New Format: n=bibtex, flags=0
Format.cpp (82): New Format: n=emf, flags=2
Format.cpp (82): New Format: n=luatex, flags=5
Format.cpp (82): New Format: n=latex, flags=5
Format.cpp (82): New Format: n=pdflatex, flags=5
Format.cpp (82): New Format: n=xetex, flags=5
Format.cpp (82): New Format: n=markdown, flags=1
Format.cpp (82): New Format: n=pdf6, flags=2
Format.cpp (82): New Format: n=pdf5, flags=7
Format.cpp (82): New Format: n=pdf2, flags=7
Format.cpp (82): New Format: n=pdf4, flags=7
Format.cpp (82): New Format: n=pdftex, flags=0
Format.cpp (406): 	got format from MIME type: application/pdf ->
pdf6
Format.cpp (406): 	got format from MIME type: application/pdf ->
pdf6
Format.cpp (406): 	got format from MIME type: application/pdf ->
pdf6
Format.cpp (406): 	got format from MIME type: image/svg+xml ->
svg
Format.cpp (406): 	got format from MIME type: application/pdf ->
pdf6
Format.cpp (369): filetools(getFormatFromContents)
	File type not recognised before EOF!
Format.cpp (376): filetools(getFormatFromContents)
	Couldn't find a known format!
Format.cpp (472): 	will guess format from file extension: gp ->
gnuplot
Format.cpp (406): 	got format from MIME type: application/pdf ->
pdf6
Format.cpp (406): 	got format from MIME type: image/svg+xml ->
svg
Format.cpp (406): 	got format from MIME type: application/pdf ->
pdf6
Format.cpp (406): 	got format from MIME type: image/svg+xml ->
svg
Format.cpp (406): 	got format from MIME type: application/pdf ->
pdf6
Format.cpp (406): 	got format from MIME type: image/svg+xml ->
svg
Format.cpp (406): 	got format from MIME type: image/svg+xml ->
svg
Format.cpp (372): Recognised Fileformat: png
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
Format.cpp (372): Recognised Fileformat: gzip
Format.cpp (472): 	will guess format from file extension: svgz ->
svgz
insets/InsetGraphics.cpp (161): Token: 'filename'
insets/InsetGraphics.cpp (161): Token: '\end_inset'
Format.cpp (406): 	got format from MIME type: text/x-tex -> latex
Format.cpp (472): 	will guess format from file extension: lyx ->
lyx
GuiApplication.cpp (263): 
The image loader can load the following directly:

GuiApplication.cpp (273): bmp, 
GuiApplication.cpp (273): cur, 
GuiApplication.cpp (273): gif, 
GuiApplication.cpp (273): ico, 
GuiApplication.cpp (273): jpeg, 
GuiApplication.cpp (273): jpg, 
GuiApplication.cpp (273): pbm, 
GuiApplication.cpp (273): pgm, 
GuiApplication.cpp (273): png, 
GuiApplication.cpp (273): ppm, 
GuiApplication.cpp (273): svg, 
GuiApplication.cpp (273): svgz, 
GuiApplication.cpp (273): xbm, 
GuiApplication.cpp (273): xpm, 
graphics/GraphicsCache.cpp (81): LyX recognises the following image
formats:
graphics/GraphicsCache.cpp (83): bmp,
graphics/GraphicsCache.cpp (83): gif,
graphics/GraphicsCache.cpp (83): jpg,
graphics/GraphicsCache.cpp (83): pbm,
graphics/GraphicsCache.cpp (83): pgm,
graphics/GraphicsCache.cpp (83): png,
graphics/GraphicsCache.cpp (83): ppm,
graphics/GraphicsCache.cpp (83): xbm,
graphics/GraphicsCache.cpp (83): xpm,
Format.cpp (369): filetools(getFormatFromContents)
	File type not recognised before EOF!
Format.cpp (376): filetools(getFormatFromContents)
	Couldn't find a known format!
Format.cpp (472): 	will guess format from file extension: gp ->
gnuplot
graphics/GraphicsCacheItem.cpp (389):
[CacheItem::Impl::convertToDisplayFormat]
	Attempting to convert image file:
/home/tobias/Dokumente/Privat/DocCentral/LaTeX/LyX/gnuplot-example.gp
	with displayed filename:
~/Dokumente/Privat/DocCentral/LaTeX/LyX/gnuplot-example.gp
Format.cpp (369): filetools(getFormatFromContents)
	File type not recognised before EOF!
Format.cpp (376): filetools(getFormatFromContents)
	Couldn't find a known format!
Format.cpp (472): 	will guess format from file extension: gp ->
gnuplot
graphics/GraphicsCacheItem.cpp (398): 
	The file contains gnuplot format data.
graphics/GraphicsCacheItem.cpp (346): Unable to convert from gnuplot to
bmp
graphics/GraphicsCacheItem.cpp (346): Unable to convert from gnuplot to
gif
graphics/GraphicsCacheItem.cpp (346): Unable to convert from gnuplot to
jpg
graphics/GraphicsCacheItem.cpp (346): Unable to convert from gnuplot to
pbm
graphics/GraphicsCacheItem.cpp (346): Unable to convert from gnuplot to
pgm
graphics/GraphicsLoader.cpp (118): LoaderQueue: waking up
graphics/GraphicsCacheItem.cpp (389):
[CacheItem::Impl::convertToDisplayFormat]
	Attempting to convert image file:
/home/tobias/Dokumente/Privat/DocCentral/LaTeX/LyX/gnuplot-example.gp
	with displayed filename:
~/Dokumente/Privat/DocCentral/LaTeX/LyX/gnuplot-example.gp
Format.cpp (369): filetools(getFormatFromContents)
	File type not recognised before EOF!
Format.cpp (376): filetools(getFormatFromContents)
	Couldn't find a known format!
Format.cpp (472): 	will guess format from file extension: gp ->
gnuplot
graphics/GraphicsCacheItem.cpp (398): 
	The file contains gnuplot format data.
graphics/GraphicsCacheItem.cpp (346): Unable to convert from gnuplot to
bmp
graphics/GraphicsCacheItem.cpp (346): Unable to convert from gnuplot to
gif
graphics/GraphicsCacheItem.cpp (346): Unable to convert from gnuplot to
jpg
graphics/GraphicsCacheItem.cpp (346): Unable to convert from gnuplot to
pbm
graphics/GraphicsCacheItem.cpp (346): Unable to convert from gnuplot to
pgm
graphics/GraphicsCacheItem.cpp (389):
[CacheItem::Impl::convertToDisplayFormat]
	Attempting to convert image file:
/home/tobias/Dokumente/Privat/DocCentral/LaTeX/LyX/gnuplot-example.gp
	with displayed filename:
~/Dokumente/Privat/DocCentral/LaTeX/LyX/gnuplot-example.gp
Format.cpp (369): filetools(getFormatFromContents)
	File type not recognised before EOF!
Format.cpp (376): filetools(getFormatFromContents)
	Couldn't find a known format!
Format.cpp (472): 	will guess format from file extension: gp ->
gnuplot
graphics/GraphicsCacheItem.cpp (398): 
	The file contains gnuplot format data.
graphics/GraphicsCacheItem.cpp (346): Unable to convert from gnuplot to
bmp
graphics/GraphicsCacheItem.cpp (346): Unable to convert from gnuplot to
gif
graphics/GraphicsCacheItem.cpp (346): Unable to convert from gnuplot to
jpg
graphics/GraphicsCacheItem.cpp (346): Unable to convert from gnuplot to
pbm
graphics/GraphicsCacheItem.cpp (346): Unable to convert from gnuplot to
pgm
graphics/GraphicsCacheItem.cpp (389):
[CacheItem::Impl::convertToDisplayFormat]
	Attempting to convert image file:
/home/tobias/Dokumente/Privat/DocCentral/LaTeX/LyX/gnuplot-example.gp
	with displayed filename:
~/Dokumente/Privat/DocCentral/LaTeX/LyX/gnuplot-example.gp
Format.cpp (369): filetools(getFormatFromContents)
	File type not recognised before EOF!
Format.cpp (376): filetools(getFormatFromContents)
	Couldn't find a known format!
Format.cpp (472): 	will guess format from file extension: gp ->
gnuplot
graphics/GraphicsCacheItem.cpp (398): 
	The file contains gnuplot format data.
graphics/GraphicsCacheItem.cpp (346): Unable to convert from gnuplot to
bmp
graphics/GraphicsCacheItem.cpp (346): Unable to convert from gnuplot to
gif
graphics/GraphicsCacheItem.cpp (346): Unable to convert from gnuplot to
jpg
graphics/GraphicsCacheItem.cpp (346): Unable to convert from gnuplot to
pbm
graphics/GraphicsCacheItem.cpp (346): Unable to convert from gnuplot to
pgm
graphics/GraphicsCacheItem.cpp (389):
[CacheItem::Impl::convertToDisplayFormat]
	Attempting to convert image file:
/home/tobias/Dokumente/Privat/DocCentral/LaTeX/LyX/gnuplot-example.gp
	with displayed filename:
~/Dokumente/Privat/DocCentral/LaTeX/LyX/gnuplot-example.gp
Format.cpp (369): filetools(getFormatFromContents)
	File type not recognised before EOF!
Format.cpp (376): filetools(getFormatFromContents)
	Couldn't find a known format!
Format.cpp (472): 	will guess format from file extension: gp ->
gnuplot
graphics/GraphicsCacheItem.cpp (398): 
	The file contains gnuplot format data.
graphics/GraphicsCacheItem.cpp (346): Unable to convert from gnuplot to
bmp
graphics/GraphicsCacheItem.cpp (346): Unable to convert from gnuplot to
gif
graphics/GraphicsCacheItem.cpp (346): Unable to convert from gnuplot to
jpg
graphics/GraphicsCacheItem.cpp (346): Unable to convert from gnuplot to
pbm
graphics/GraphicsCacheItem.cpp (346): Unable to convert from gnuplot to
pgm
graphics/GraphicsLoader.cpp (91): LoaderQueue: 1 items in the queue
graphics/GraphicsCacheItem.cpp (421): 	Converting it to  format.
graphics/GraphicsCacheItem.cpp (389):
[CacheItem::Impl::convertToDisplayFormat]
	Attempting to convert image file:
/home/tobias/Dokumente/Privat/DocCentral/LaTeX/LyX/gnuplot-example.gp
	with displayed filename:
~/Dokumente/Privat/DocCentral/LaTeX/LyX/gnuplot-example.gp
Format.cpp (369): filetools(getFormatFromContents)
	File type not recognised before EOF!
Format.cpp (376): filetools(getFormatFromContents)
	Couldn't find a known format!
Format.cpp (472): 	will guess format from file extension: gp ->
gnuplot
graphics/GraphicsCacheItem.cpp (398): 
	The file contains gnuplot format data.
graphics/GraphicsCacheItem.cpp (346): Unable to convert from gnuplot to
bmp
graphics/GraphicsCacheItem.cpp (346): Unable to convert from gnuplot to
gif
graphics/GraphicsCacheItem.cpp (346): Unable to convert from gnuplot to
jpg
graphics/GraphicsCacheItem.cpp (346): Unable to convert from gnuplot to
pbm
graphics/GraphicsCacheItem.cpp (346): Unable to convert from gnuplot to
pgm
graphics/GraphicsConverter.cpp (125): Converter c-tor:
doc_fname:       
/home/tobias/Dokumente/Privat/DocCentral/LaTeX/LyX/gnuplot.lyx
	from_file:   
/home/tobias/Dokumente/Privat/DocCentral/LaTeX/LyX/gnuplot-example.gp
	to_file_base: /tmp/lyx_tmpdir.qIGrrVZsvWmq/CacheItem.HkRSrr
	from_format:  gnuplot
	to_format:    png
graphics/GraphicsConverter.cpp (288): build_script ... 
graphics/GraphicsConverter.cpp (414): ready!
graphics/GraphicsConverter.cpp (150): 	Conversion script:
--------------------------------------
# -*- coding: utf-8 -*-
import os, shutil, sys

def unlinkNoThrow(file):
  ''' remove a file, do not throw if an error occurs '''
  try:
    os.unlink(file)
  except:
    pass

infile = "/home/tobias/Dokumente/Privat/DocCentral/LaTeX/LyX/gnuplot-
example.gp"
outfile = "/tmp/lyx_tmpdir.qIGrrVZsvWmq/gconvertYrusMn.gp"
shutil.copy(infile, outfile)
os.chdir("/tmp/lyx_tmpdir.qIGrrVZsvWmq/")
infile = "/tmp/lyx_tmpdir.qIGrrVZsvWmq/gconvertYrusMn.gp"
infile_base = "/tmp/lyx_tmpdir.qIGrrVZsvWmq/gconvertYrusMn"
outfile = "/tmp/lyx_tmpdir.qIGrrVZsvWmq/gconvertYrusMn.pdf"
outdir  = os.path.dirname(outfile)

if os.system(r'$${python} "/usr/local/share/lyx-
2.4.0~RC4/scripts/gnuplot2pdf.py" ' + '"' + infile + '"' + ' ' + '"' +
outfile + '"' + '') != 0:
  unlinkNoThrow(outfile)
  sys.exit(1)

if not os.path.isfile(outfile):
  if os.path.isfile(outfile + '.0'):
    os.rename(outfile + '.0', outfile)
    import glob
    for file in glob.glob(outfile + '.?'):
      unlinkNoThrow(file)
  else:
    sys.exit(1)

if infile != outfile:
  unlinkNoThrow(infile)

infile = "/tmp/lyx_tmpdir.qIGrrVZsvWmq/gconvertYrusMn.pdf"
infile_base = "/tmp/lyx_tmpdir.qIGrrVZsvWmq/gconvertYrusMn"
outfile = "/tmp/lyx_tmpdir.qIGrrVZsvWmq/gconvertYrusMn.eps"
outdir  = os.path.dirname(outfile)

if os.system(r'pdftops -eps -f 1 -l 1 ' + '"' + infile + '"' + ' ' +
'"' + outfile + '"' + '') != 0:
  unlinkNoThrow(outfile)
  sys.exit(1)

if not os.path.isfile(outfile):
  if os.path.isfile(outfile + '.0'):
    os.rename(outfile + '.0', outfile)
    import glob
    for file in glob.glob(outfile + '.?'):
      unlinkNoThrow(file)
  else:
    sys.exit(1)

if infile != outfile:
  unlinkNoThrow(infile)

infile = "/tmp/lyx_tmpdir.qIGrrVZsvWmq/gconvertYrusMn.eps"
infile_base = "/tmp/lyx_tmpdir.qIGrrVZsvWmq/gconvertYrusMn"
outfile = "/tmp/lyx_tmpdir.qIGrrVZsvWmq/gconvertYrusMn.png"
outdir  = os.path.dirname(outfile)

if os.system(r'convert ' + '"' + infile + '"' + '[0] ' + '"' + outfile
+ '"' + '') != 0:
  unlinkNoThrow(outfile)
  sys.exit(1)

if not os.path.isfile(outfile):
  if os.path.isfile(outfile + '.0'):
    os.rename(outfile + '.0', outfile)
    import glob
    for file in glob.glob(outfile + '.?'):
      unlinkNoThrow(file)
  else:
    sys.exit(1)

if infile != outfile:
  unlinkNoThrow(infile)

fromfile = outfile
tofile = "/tmp/lyx_tmpdir.qIGrrVZsvWmq/CacheItem.HkRSrr.png"

try:
  os.rename(fromfile, tofile)
except:
  try:
    shutil.copy(fromfile, tofile)
  except:
    sys.exit(1)
  unlinkNoThrow(fromfile)

--------------------------------------

ForkedCalls.cpp (496): ForkedCallQueue: waking up
graphics/GraphicsLoader.cpp (129): LoaderQueue: I'm going to sleep
sh: 1: 12357{python}: not found
ForkedCalls.cpp (505): ForkedCallQueue: I'm going to sleep
graphics/GraphicsCacheItem.cpp (272): Image conversion failed.
graphics/GraphicsCacheItem.cpp (281): Unable to find converted file!
insets/InsetGraphics.cpp (823): insetgraphics::latex: Filename =
/home/tobias/Dokumente/Privat/DocCentral/LaTeX/LyX/gnuplot-example.gp
insets/InsetGraphics.cpp (868): 	Opts = 
insets/InsetGraphics.cpp (888): 	Before = \includegraphics
	after = 
Format.cpp (369): filetools(getFormatFromContents)
	File type not recognised before EOF!
Format.cpp (376): filetools(getFormatFromContents)
	Couldn't find a known format!
Format.cpp (472): 	will guess format from file extension: gp ->
gnuplot
Format.cpp (369): filetools(getFormatFromContents)
	File type not recognised before EOF!
Format.cpp (376): filetools(getFormatFromContents)
	Couldn't find a known format!
Format.cpp (472): 	will guess format from file extension: gp ->
gnuplot
insets/InsetGraphics.cpp (118): findTargetFormat: PDF mode
insets/InsetGraphics.cpp (740): 	 we have: from gnuplot to pdf6
insets/InsetGraphics.cpp (746): 	the orig file is:
/home/tobias/Dokumente/Privat/DocCentral/LaTeX/LyX/gnuplot-example.gp
insets/InsetGraphics.cpp (792): 	The original file is
/home/tobias/Dokumente/Privat/DocCentral/LaTeX/LyX/gnuplot-example.gp
	A copy has been made and convert is to be called with:
	file to convert =
/tmp/lyx_tmpdir.qIGrrVZsvWmq/lyx_tmpbuf0/0_home_tobias_Dokumente_Privat
_DocCentral_LaTeX_LyX_gnuplot-example.gp
	 from gnuplot to pdf6
insets/InsetGraphics.cpp (934): InsetGraphics::latex outputting:
\includegraphics{0_home_tobias_Dokumente_Privat_DocCentral_LaTeX_LyX_gn
uplot-example.pdf}
This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2024)
(preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./gnuplot.tex
LaTeX2e <2023-11-01> patch level 1
L3 programming layer <2024-03-14>

This is pdfTeX, Version 3.141592653-2.6-1.40.26 (TeX Live 2024)
(preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
(./gnuplot.tex
LaTeX2e <2023-11-01> patch level 1
L3 programming layer <2024-03-14>





-------------- next part --------------
A non-text attachment was scrubbed...
Name: LyX_gnuplot.png
Type: image/png
Size: 358846 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240411/07657da2/attachment-0001.png>


More information about the lyx-devel mailing list