[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #49718] Octave crashes on print/saveas etc whe
From: |
John Donoghue |
Subject: |
[Octave-bug-tracker] [bug #49718] Octave crashes on print/saveas etc when installed on a directory with parenthesis |
Date: |
Tue, 3 Sep 2019 11:36:20 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763 |
Follow-up Comment #38, bug #49718 (project octave):
Using current patch on stable, fails are 14, 15:
opengl-pipeline:
'"C:OctaveOCTAVE~1.3)mingw64libexecoctave.1.1exec�_64-w64-mingw32octave-svgconvert.exe"
- pdf 77.33 "C
:OctaveOCTAVE~1.3)mingw64shareoctave.1.1ontsFreeSans.otf" 1
"C:\Users\JOHN\AppData\Local\Temp\oct-TbWC3q" & "C
:OctaveOCTAVE~1.3)mingw6inpstoedit.exe" -ssp -f fig
"C:\Users\JOHNE\AppData\Local\Temp\oct-TbWC3q" 2> NUL | "C:\O
ctave\OCTAVE~1.3)\mingw64\bin\fig2dev.exe" -L emf 2> NUL >
"C:\Users\JOHN\AppData\Local\Temp\print_test\15-meta.
emf"'
The filename, directory name, or volume label syntax is incorrect.
warning: print.m: No such file or directory,
'C:\Users\JOHN\AppData\Local\Temp\oct-TbWC3q'
And then 4, 5 with the 'Unknown device: epswrite'
Debugging test 15, the escaping getting messed up occurs at line
110 of __opengl_print__.m:
cmd_pstoedit = sprintf (opts.pstoedit_cmd (opts, "fig"), ...
"pdf", tmp, tmp);
opts.pstoedit_cmd(opts, "fig") returns:
"C:\Octave\OCTAVE~1.3)\mingw64\libexec\octave\5.1.1\exec\x86_64-w64-mingw32\octave-svgconvert.exe"
- %s 77.33 "C:\Octave\OCTAVE~1.3)
\mingw64\share\octave\5.1.1\fonts\FreeSans.otf" 1 "%s" &
"C:\Octave\OCTAVE~1.3)\mingw64\bin\pstoedit.exe" -ssp -f fig "%s" 2> NUL
but cmd_pstoedit returns as :
"C:OctaveOCTAVE~1.3)mingw64libexecoctave.1.1exec�_64-w64-mingw32octave-svgconvert.exe"
- pdf 77.33 "C:OctaveOCTAVE~1.3)mingw64shareoctave
.1.1ontsFreeSans.otf" 1 "C:\Users\JOHN\AppData\Local\Temp\oct-K0IzPW" &
"C:OctaveOCTAVE~1.3)mingw6inpstoedit.exe" -ssp -f fig "C
:\Users\JOHN\Local\Temp\oct-K0IzPW" 2> NUL
For test 4, after line 881:
fileout(fileout=="'") = '"';
so:
fileout = "C:\Users\JDONOG~1.ECE\AppData\Local\Temp\toto.eps"
__ghostscript__.m, line 154:
cmd = sprintf ('"%s" %s -sOutputFile="%s"',
opts.binary, gs_opts, opts.output);
cmd = "C:\Octave\OCTAVE~1.3)\mingw64\bin\gs.exe" -dQUIET -dNOPAUSE -dBATCH
-dSAFER -dAutoRotatePages=/None -sDEVICE=epswrite -sOutputFile=
""C:\Users\JDONOG~1.ECE\AppData\Local\Temp\toto.eps""
opts.binary = C:\Octave\OCTAVE~1.3)\mingw64\bin\gs.exe
opts.output = "C:\Users\JOHN\AppData\Local\Temp\toto.eps"
opts.source = -
Line 182:
cmd = sprintf ("%s %s", cmd, opts.source);
cmd = "C:\Octave\OCTAVE~1.3)\mingw64\bin\gs.exe" -dQUIET -dNOPAUSE -dBATCH
-dSAFER -dAutoRotatePages=/None -sDEVICE=epswrite -sOutputFile=
""C:\Users\JOHN\AppData\Local\Temp\toto.eps"" -
__opengl_print__.m, line 203:
drawnow (gl2ps_device{n}, ['|' pipeline{n}]);
input:
gl2ps_device{n} = eps
pipeline{n} = "C:\Octave\OCTAVE~1.3)\mingw64\bin\gs.exe" -dQUIET -dNOPAUSE
-dBATCH -dSAFER -dAutoRotatePages=/None sDEVICE=epswrite -sOutputFile=
""C:\Users\JOHN\AppData\Local\Temp\toto.eps"" -
Then the unknown device epswrite
If I do a system(pipeline{n})
I get the same unknown device epswrite
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?49718>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/