[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: |
Fri, 23 Aug 2019 08:13:04 -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 #27, bug #49718 (project octave):
Using c:\octave\Octave(5.1.1):
Even without the patch, it doesnt crash for me since the change to mxe to use
8.3 paths.
https://hg.octave.org/mxe-octave/rev/a45374f7d9a3
If I dont use the 3.8 path, I dont get a crash but:
>> plot (1:10)
>> print (fullfile (tempdir, "toto.pdf"))
'C:\Octave\Octave' is not recognized as an internal or external command,
operable program or batch file.
error: gl2ps_renderer::draw: internal pipe error
>> error: parse error
error: called from
__opengl_print__ at line 202 column 7
print at line 710 column 16
>>
Note sure if the change is due since 2016 to updates to glps, ghostscript, the
fact we use msys2 ...
With the patch applied, works ok with 8.3 path.
Without 8.3 path:
>> print (fullfile (tempdir, "toto.pdf"))
'C:\Octave\Octave' is not recognized as an internal or external command,
operable program or batch file.
error: gl2ps_renderer::draw: internal pipe error
>> error: parse error
error: called from
__opengl_print__ at line 202 column 7
print at line 710 column 16
>>
Looking at line 202 of __opengl_print__.m, (in the patched octave) if I add:
## Use toolkits "print_figure" method
+ printf("printing to '%s' with '%s'\n", gl2ps_device{n}, pipeline{n});
drawnow (gl2ps_device{n}, ['|' pipeline{n}]);
Running again, it prints out:
printing to 'eps' with 'C:\Octave\Octave(5.1.1.22)\mingw64\bin\gs.exe -dQUIET
-dNOPAUSE -dBATCH -dSAFER -dA
utoRotatePages=/None -sDEVICE=pdfwrite -dLanguageLevel=2 -dEmbedAllFonts=true
-dOptimize=true -sPAPERSIZE=l
etter -dFIXEDMEDIA -sOutputFile="C:\Users\JOHN\AppData\Local\Temp\toto.pdf"
C:\Users\JOHN\A
ppData\Local\Temp\oct-fDP6w8.ps - & del
C:\Users\JOHN\AppData\Local\Temp\oct-fDP6w8.ps'
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?49718>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #49718] Octave crashes on print/saveas etc when installed on a directory with parenthesis, Pantxo Diribarne, 2019/08/22
- [Octave-bug-tracker] [bug #49718] Octave crashes on print/saveas etc when installed on a directory with parenthesis, Philip Nienhuis, 2019/08/23
- [Octave-bug-tracker] [bug #49718] Octave crashes on print/saveas etc when installed on a directory with parenthesis, Philip Nienhuis, 2019/08/23
- [Octave-bug-tracker] [bug #49718] Octave crashes on print/saveas etc when installed on a directory with parenthesis, anonyme, 2019/08/23
- [Octave-bug-tracker] [bug #49718] Octave crashes on print/saveas etc when installed on a directory with parenthesis,
John Donoghue <=
- [Octave-bug-tracker] [bug #49718] Octave crashes on print/saveas etc when installed on a directory with parenthesis, Philip Nienhuis, 2019/08/23
- [Octave-bug-tracker] [bug #49718] Octave crashes on print/saveas etc when installed on a directory with parenthesis, Pantxo Diribarne, 2019/08/25
- [Octave-bug-tracker] [bug #49718] Octave crashes on print/saveas etc when installed on a directory with parenthesis, Pantxo Diribarne, 2019/08/27
- [Octave-bug-tracker] [bug #49718] Octave crashes on print/saveas etc when installed on a directory with parenthesis, John Donoghue, 2019/08/28
- [Octave-bug-tracker] [bug #49718] Octave crashes on print/saveas etc when installed on a directory with parenthesis, Dmitri A. Sergatskov, 2019/08/28
- [Octave-bug-tracker] [bug #49718] Octave crashes on print/saveas etc when installed on a directory with parenthesis, Pantxo Diribarne, 2019/08/28
- [Octave-bug-tracker] [bug #49718] Octave crashes on print/saveas etc when installed on a directory with parenthesis, Dmitri A. Sergatskov, 2019/08/28
- [Octave-bug-tracker] [bug #49718] Octave crashes on print/saveas etc when installed on a directory with parenthesis, John Donoghue, 2019/08/29
- [Octave-bug-tracker] [bug #49718] Octave crashes on print/saveas etc when installed on a directory with parenthesis, John Donoghue, 2019/08/29