Command line export on PC problem
Gatzke, Edward
GATZKE at sc.edu
Fri Sep 19 20:10:19 UTC 2025
The following opens the file fine. From the GUI interface I can export a ps file without a problem.
C:\cygwin64\tmp>"c:\Users\gatzke\AppData\Local\Programs\LyX 2.4\bin\LyX.exe" test.lyx
However, trying to use the command line export it fails, see below.
I have tried running from cygwin shell and cmd and both fail.
I have tried different temp directories (/tmp, c:\Temp and c:/Users/gatzke/temp)
Any ideas how I have failed to configure this or what may be happening?
Thanks!
BTW, recently found some of my 1997 LyX files from version 0.10, thanks devs! :-)
"c:\Users\gatzke\AppData\Local\Programs\LyX 2.4\bin\LyX.exe" test.lyx --export ps
C:\cygwin64\tmp>This is pdfTeX, Version 3.141592653-2.6-1.40.27 (MiKTeX 25.4) (preloaded format=latex.fmt)
restricted \write18 enabled.
entering extended mode
(test.tex
LaTeX2e <2025-06-01> patch level 1
L3 programming layer <2025-07-20>
support\FileName.cpp (264): Could not rename file C:/Users/gatzke/temp/lyx_tmpdir.uUKcPeuBRfqn/lyx_tmpbuf0/tmpfile.out to C:/Users/gatzke/temp/lyx_tmpdir.uUKcPeuBRfqn/lyx_tmpbuf0/test.dvi
support\FileName.cpp (292): Could not move file C:/Users/gatzke/temp/lyx_tmpdir.uUKcPeuBRfqn/lyx_tmpbuf0/tmpfile.out to C:/Users/gatzke/temp/lyx_tmpdir.uUKcPeuBRfqn/lyx_tmpbuf0/test.dvi
Error: Cannot convert file
----------------------------------------
An error occurred while running:
python -tt $$s/scripts/clean_dvi.py "test.dvi" "tmpfile.out"
support\FileName.cpp (681): Could not delete C:/Users/gatzke/temp/lyx_tmpdir.uUKcPeuBRfqn/lyx_tmpbuf0
Buffer.cpp (601): Could not remove the temporary directory C:/Users/gatzke/temp/lyx_tmpdir.uUKcPeuBRfqn/lyx_tmpbuf0
support\FileName.cpp (668): Could not delete C:/Users/gatzke/temp/lyx_tmpdir.uUKcPeuBRfqn/lyx_tmpbuf0
support\FileName.cpp (681): Could not delete C:/Users/gatzke/temp/lyx_tmpdir.uUKcPeuBRfqn
LyX.cpp (425): Unable to remove the temporary directory C:/Users/gatzke/temp/lyx_tmpdir.uUKcPeuBRfqn
Version info:
Version 2.4.4
(Thursday, June 5, 2025)
Qt Version (run-time): 6.9.1 on platform windows
Qt Version (compile-time): 6.9.1
OS Version (run-time): Windows 11 Version 24H2
Python detected: 3.12.3 (C:\Users\gatzke\AppData\Local\Programs\LyX 2.4\Python\python.exe)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20250919/4fb10a2c/attachment-0001.htm>
More information about the lyx-users
mailing list