bugGNU Octave - Bugs: bug #43057, print command doesn't work

 
 

bug #43057: print command doesn't work

Submitted by:  None
Submitted on:  Sat 23 Aug 2014 03:46:53 PM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: Need InfoAssigned to: None
Originator Name: Gianluca CannizzaroOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.8.1
Operating System: GNU/Linux

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 Jump to the original submission)

Sun 07 Dec 2014 06:33:51 AM UTC, comment #8:

No response for 4 months. Closing report.

Rik <rik5>
Project Administrator
Tue 04 Nov 2014 05:45:33 AM UTC, comment #7:

Has there been any resolution here? There has been nothing reported on this bug in 2.5 months.

Rik <rik5>
Project Administrator
Sun 24 Aug 2014 12:17:17 PM UTC, comment #6:

I'm not at home at the moment, I'll be able to do as you say in a couple of days. However, now that I think about it there are problems only when saving errorbar plots.

Anonymous
Sun 24 Aug 2014 09:45:22 AM UTC, comment #5:

Just to be clear: Does
not produce a PNG for every plot, for example something like plot ( rand (3)), or only some specific plots?

Andreas Weber <andy1978>
Project Member
Sun 24 Aug 2014 09:40:37 AM UTC, comment #4:

I hope you were able to reconstruct the missing part of the verbatim block '... -sDEVICE=png16m sOutputFile="out.png" out.eps'

Please start octave and execute these commands:

and copy the output of these commands and the ghostscript error into a verbatim block so that it isn't interpreted as markup. See here https://savannah.gnu.org/cookbook/?func=detailitem&item_id=125

Then please run print ("out.eps") and run the "fltk-pipeline" output from commandline. You have to replace the "-", which means reading from stdin with the generated eps, out.eps in your case. If this still fails then please attach the generated out.eps which fails in ghostscript.

Andreas Weber <andy1978>
Project Member
Sun 24 Aug 2014 07:08:46 AM UTC, comment #3:

No, I don't have any fonts in /usr/share/fonts/woff.

Indeed .eps files are generated correctly. After saving "ouput.eps" and running the command you typed below that's what appears on screen:

GPL Ghostscript 9.14 (2014-03-26)
Copyright (C) 2014 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Loading NimbusSanL-Regu font from %rom%Resource/Font/NimbusSanL-Regu... 3658508 2206703 6492392 4977582 2 done.

It seems "out.png" has been created without problems.

Anonymous
Sat 23 Aug 2014 04:02:54 PM UTC, comment #2:

The second verbatim section in comment 1 was cropped. Second try:

Andreas Weber <andy1978>
Project Member
Sat 23 Aug 2014 04:01:24 PM UTC, comment #1:

I guess this only happens for PNG, JPEG and other bitmap formats but EPS works. PS won't work because pswrite was removed in ghostscript>=9.09.

Is it this ghostscript bug? https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732440
Do you have any fonts installed in /usr/share/fonts/woff?

To help debugging this issue you can create an eps first and then run ghostscript from terminal

and then from the terminal

Andreas Weber <andy1978>
Project Member
Sat 23 Aug 2014 03:46:53 PM UTC, original submission:

Hi, I'm running Octave 3.8.1 on Xubuntu 14.04 x64.
Yesterday (22/08/2014) I updated the system and the "print" command stopped working. Everytime I try saving a plot in any of the allowed formats the following appears:

Error: /syntaxerror in -file-
Operand stack:
--nostringval--
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1918 1 3 %oparray_pop 1917 1 3 %oparray_pop --nostringval-- 1901 1 3 %oparray_pop 1787 1 3 %oparray_pop --nostringval-- %errorexec_pop .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push
Dictionary stack:
--dict:1177/1684(ro)(G)-- --dict:0/20(G)-- --dict:82/200(L)-- --dict:40/64(L)--
Current allocation mode is local
Last OS error: No such file or directory
GPL Ghostscript 9.14: Unrecoverable error, exit code 1

Data is plotted correctly on screen, the problem appears when I try to save the plot on a file. The Octave scripts I am using worked perfectly until two days ago. I tried to use a previous version of GLP GhostScript (9.10) but the issue persists.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by andy1978 (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

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

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 07 Dec 2014 06:33:50 AM UTCrik5Open/ClosedOpen=>Closed
    Tue 04 Nov 2014 05:45:33 AM UTCrik5StatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1