bugGNU Octave - Bugs: bug #38694, print() command with -dpng flag...

 
 

bug #38694: print() command with -dpng flag fails for certain filenames

Submitted by:  None
Submitted on:  Tue 09 Apr 2013 10:07:35 PM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: DuplicateAssigned to: None
Originator Name: John SchneelochOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.6.4
Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 10 Apr 2013 11:42:21 PM UTC, comment #2:

Spaces are handled correctly in the dev version but the use of the tilde '~' was not. I corrected that in this changeset (http://hg.savannah.gnu.org/hgweb/octave/rev/d4ce14c19c2c). You can either apply the changeset manually or wait until the next major release of Octave.

Rik <rik5>
Project Administrator
Wed 10 Apr 2013 02:38:35 AM UTC, comment #1:

Thanks for your bug report. This problem has already been reported and fixed in the development release of Octave. You can wait for the next major release of Octave or you can patch your copy of Octave with the fix:

http://hg.savannah.gnu.org/hgweb/octave/rev/1c7956c661a8

Mike Miller <mtmiller>
Project Administrator
Tue 09 Apr 2013 10:07:35 PM UTC, original submission:

There seems to be some inconsistent behavior as far as what the print() command considers a valid filename, where the -dpng flag result in errors or freezing while the -depsc flag prints without a problem. For png files, e.g.

if there are unescaped spaces in the filename, I get the following error

and if there are no unescaped spaces but the filename contains '~' then for
I get

Most strangely, it will freeze if I have a dash surrounded by two spaces, e.g.,
though this works if I escape the spaces with backslashes.

For eps, on the other hand, everything works regardless of tildes or spaces in the filename.

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

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by mtmiller (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 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 10 Apr 2013 02:38:35 AM UTCmtmillerStatusNone=>Duplicate
      Open/ClosedOpen=>Closed
      Operating SystemMac OS=>Any
      Dependencies-=>Depends on bugs #36664

    Back to the top


    Powered by Savane 3.1-cleanup1