bugGNU Octave - Bugs: bug #31395, oct files needs full path or they...

 
 

bug #31395: oct files needs full path or they will not work

Submitted by:  None
Submitted on:  Thu 21 Oct 2010 02:43:27 PM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedAssigned to: None
Originator Name: Kim HansenOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.2.4
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.

 

Fri 22 Oct 2010 09:48:09 AM UTC, comment #2:

Thanks, I have tested the fix and it works fine
-- Kim Hansen

Anonymous
Fri 22 Oct 2010 08:25:37 AM UTC, comment #1:

I checked in the following change:

http://hg.savannah.gnu.org/hgweb/octave/rev/a51ac4198e1c

It seems to fix the problem for me.

John W. Eaton <jwe>
Project Administrator
Thu 21 Oct 2010 02:43:27 PM UTC, original submission:

If an oct file is placed in a directory that is added to the path using a relative path it will not work.

A workaround is to add the absolute path to as path, like this:
addpath(canonicalize_file_name("relative/path"));

I attach a test script and a log of tests on 3.0, 3.2 and 3.3. It works on 3.0, and fails on 3.2 and 3.3.

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #21740:  test.sh added by None (782B - application/x-sh)
file #21741:  typescript added by None (2KiB - application/octet-stream)

 

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 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
    Fri 22 Oct 2010 08:25:37 AM UTCjweStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Thu 21 Oct 2010 02:43:27 PM UTCNoneAttached File-=>Added test.sh, #21740
      Attached File-=>Added typescript, #21741

    Back to the top


    Powered by Savane 3.1-cleanup1