bugGNU Octave - Bugs: bug #31343, Octave Print to file doesn't work...

 
 

bug #31343: Octave Print to file doesn't work : "print: Conversion failed"

Submitted by:  Antonio Guidetti <bounty>
Submitted on:  Fri 15 Oct 2010 04:52:09 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Documentation
Status: FixedAssigned to: Ben Abbott <bpabbott>
Originator Name: Antonio GuidettiOpen/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 18 Oct 2010 11:34:59 AM UTC, comment #3:

I've pushed a change to the docstring.

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Mon 18 Oct 2010 04:29:22 AM UTC, comment #2:

I think the docstring is OK as is, but maybe it could use a few examples to help make things clearer.

John W. Eaton <jwe>
Project Administrator
Sun 17 Oct 2010 03:31:07 PM UTC, comment #1:

The proper syntax is ...

print ('ProvaPrintPlot.svg' , '-color', '-landscape','-dsvg');

The "DEVICE" should literally be "svg".

I notice, the help for print can be misunderstood. Should the help be changed to make the syntax more clear?

Ben Abbott <bpabbott>
Project MemberIn charge of this item.
Fri 15 Oct 2010 04:52:09 PM UTC, original submission:

print ('ProvaPrintPlot.svg' , '-color', '-landscape','-dDEVICE', 'svg');
error: print: Conversion failed, /tmp/oct-QnBHWu.eps -> svg.
Error was:
Unknown device: device
Unrecoverable error: undefined in .uninstallpagedevice
Operand stack:
defaultdevice
----------------------------------------------------------
15/October/2010 h18:50 GMT+1
Seems similar to this
http://savannah.gnu.org/bugs/?29929
but I don't think that the following is a suitable answer
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
However, since the print() command is being changed in a significant way,
I don't see any benefit to keeping this open. We'll have to encourage users
to test the new sources before the next release anyway.
- - - - - - - - - - -Because: - - - - - - - - - - - - - - - - - -
From Octave 3.0.3 to Octave 3.2.2 I had to write again my code
cause I'll have 1Tbyte of results and thogh code for 3.0.3 was
supposed to work, my code for Octave 3.2.2 was expected to be
best suited and faster. Then with Octave 3.2.4 seemed that
I should not write again my code till I arrived to the plot function;
then I had to write again my code for the second time.
Although, to ask for backward compatibility for me would be
toward Octave 3.2.2 and I understand that can only be asked.

Since I need reliable results, I'll expect the stable version 3.2.4
to be the version in which major bugs are fixed and the one to use.

I can't keep writing again from the beginnig my code for the third time.

You can expect a user to be a beta tester when, he can compare
the results, with the results from the stable version.
Or otherwise, always keep backward compatibility, so someone can
test the beta version, and check the results with the stable and
reliable one.

Anyway just leave the bug open I'll work on it.

Thankyou for devoloping Octave

Antonio Guidetti <bounty>

 

(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 jwe (Posted a comment)
  • -unavailable- added by bpabbott (Posted a comment)
  • -unavailable- added by bounty (Submitted the item)
  • -unavailable- added by bounty
  •  

    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 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 06 Jun 2013 05:21:00 AM UTCbpabbottStatusPatch Submitted=>Fixed
    Mon 18 Oct 2010 11:36:53 AM UTCbpabbottStatusNone=>Patch Submitted
    Mon 18 Oct 2010 11:34:59 AM UTCbpabbottAssigned toNone=>bpabbott
      Open/ClosedOpen=>Closed
      Release3.2.4=>dev
    Mon 18 Oct 2010 04:29:22 AM UTCjweItem GroupIncorrect Result=>Documentation
    Fri 15 Oct 2010 04:52:09 PM UTCbountyCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1