bugGNU Octave - Bugs: bug #45601, error: invalid suffix...

 
 

bug #45601: error: invalid suffix './report/output/rg-beta' when using relative path in `print` and no file extension

Submitted by:  None
Submitted on:  Wed 22 Jul 2015 09:29:22 AM UTC  
 
Category: PlottingSeverity: 2 - Minor
Priority: 3 - LowItem Group: Incorrect Result
Status: ConfirmedAssigned to: None
Originator Name: Originator Email: -unavailable-
Open/Closed: ClosedRelease: dev
Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Fri 14 Aug 2015 09:28:51 PM UTC, comment #2:

This was pretty easy as it was all m-file work. I fixed it on the development branch here (http://hg.savannah.gnu.org/hgweb/octave/rev/ab2c5e84954a).

Rik <rik5>
Project Administrator
Wed 22 Jul 2015 02:00:51 PM UTC, comment #1:

Thanks for your bug report. Confirmed here, the scripts attempt to determine if the file argument has a file extension by searching for the last ".", which breaks in this case.

This is a pretty minor issue with an easy workaround, simply add a valid file extension to the name, ".tex" for the case of "pdflatex", and there is no error.

This probably needs to be fixed in the gnuplot scripts as well.

Mike Miller <mtmiller>
Project Administrator
Wed 22 Jul 2015 09:29:22 AM UTC, original submission:

I got this error when trying the print command with relative path

The specified command:

Expected result: Data written to the specified file

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 mtmiller (Posted a comment)
  •  

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

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 14 Aug 2015 09:28:51 PM UTCrik5Open/ClosedOpen=>Closed
    Wed 22 Jul 2015 02:00:51 PM UTCmtmillerCategoryPlotting with OpenGL=>Plotting
      Severity3 - Normal=>2 - Minor
      Priority5 - Normal=>3 - Low
      Item GroupOther=>Incorrect Result
      StatusNone=>Confirmed
      Release3.8.1=>dev
      Operating SystemGNU/Linux=>Any
      Summaryerror: invalid suffix \'./report/output/rg-beta\' for device \'pdflatex\' when using relative path in `print`=>error: invalid suffix './report/output/rg-beta' when using relative path in `print` and no file extension

    Back to the top


    Powered by Savane 3.1-cleanup1