bugGNU Octave - Bugs: bug #44185, Bundled gs.exe fills hard disk...

 
 

bug #44185: Bundled gs.exe fills hard disk with print command

Submitted by:  Mikael Kurula <alcarola>
Submitted on:  Wed 04 Feb 2015 11:05:03 AM UTC  
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  3.8.2 Operating System:  Microsoft Windows

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

( Jump to the original submission)

Tue 03 May 2016 10:16:21 AM UTC, comment #7: 

Octave 4.0.1 - Win64bit (Win10)

I had the same problem - an error window (from windows) pops up telling me that 'gs.exe does not work any more'
In Octave I got an error 'could not open C:\Users\pjoerg\AppData\Local\Temp\gs_xxxxx'

solution: like in the original post here (Mikael Kurula):
I downloaded gs from ghostscript homepage (win64 bit) and installed it.
I renamed gswin64c.exe in the downloaded gs binary to 'gs.exe'
and copy/replace it to Octave bin (C:\Octave\Octave-4.0.1\bin)

Now I works ;-)

Philipp Jörg <phjoerg>
Mon 16 Feb 2015 08:22:49 PM UTC, comment #6: 

The bug has been fixed by changing ghostscript version to
9.15, to solve bug 44186 (changeset http://hg.octave.org/mxe-octave/rev/1a2fec9962a7)

Avinoam Kalma <avinoam>
Project Member
Fri 06 Feb 2015 01:10:56 PM UTC, comment #5: 

ghostscript version which is bundled with Windows version of Octave
is 9.07.

Avinoam Kalma <avinoam>
Project Member
Fri 06 Feb 2015 08:23:28 AM UTC, comment #4: 

What is your version of ghostscript?  Just type "gs" at a shell prompt and the info should be displayed.

Dan Sebald <sebald>
Thu 05 Feb 2015 09:25:17 PM UTC, comment #3: 

The commands

>> graphics_toolkit gnuplot
>> surf (peaks)
>> print -dpdf a.pdf

create a never ending PDF file (I have stpped Octave after a few
GBs).

Avinoam Kalma <avinoam>
Project Member
Thu 05 Feb 2015 06:50:56 PM UTC, comment #2: 

Could you please attach an example PostScript file that leads to ghostscript filling the disk?  I assume the PostScript file (input to ghostscript) is reasonably small.

Dan Sebald <sebald>
Wed 04 Feb 2015 05:35:03 PM UTC, comment #1: 

see also bug 44186

Avinoam Kalma <avinoam>
Project Member
Wed 04 Feb 2015 11:05:03 AM UTC, original submission:  

In Windows 7, using Octave 3.8.2, when I use the print command to print to a pdf, the resulting pdf file keeps growing until it fills the disk.

Then I installed Ghostscript from here:
http://downloads.ghostscript.com/public/gs915w64.exe
I took the gs binary, renamed it to gs.exe and put this one in place of gs.exe in the Octave bin folder. This now produces correct pdf output.

The command I use to print a plot to pdf is:
print -dpdf -color "-S400,300" nmd4-pred.pdf

Mikael Kurula <alcarola>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by phjoerg (Posted a comment)
  • -email is unavailable- added by rik5 (Updated the item)
  • -email is unavailable- added by sebald (Posted a comment)
  • -email is unavailable- added by avinoam (Posted a comment)
  • -email is unavailable- added by alcarola (Submitted the item)
  • -email is unavailable- added by alcarola
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-02-16 rik5 StatusNone => Fixed
        Open/ClosedOpen => Closed
    2015-02-04 alcarola Carbon-Copy- => Added alcarola@gmaill.com

    Back to the top


    Powered by Savane 3.5