bugGNU Octave - Bugs: bug #32348, addpath does not add the path

 
 

bug #32348: addpath does not add the path

Submitter:  None
Submitted:  Fri 04 Feb 2011 10:07:20 AM UTC
   
 
Category:  Libraries Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Works For Me Assigned to:  None
Originator Name:  JFA Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.2.4
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 06 Feb 2011 02:34:08 PM UTC, comment #3: 

I'm closing this bug report.

If the problem returns, respond here again and it can be reopened. In the event, the problem returns, please try to provide a script which can be used to reproduce it.

Thanks

Ben Abbott <bpabbott>
Group Member
Sun 06 Feb 2011 10:52:49 AM UTC, comment #2: 

octave version is 3.2.4 (package name is

OK, I'm getting mad! When I've post this bug report, "path" return without argin nor argout was the path string separated by ":", and now this is an easy to read list of directories! And more over, "addpath" works as expected now...

Sorry for any conveniences

jf argentino <jfargentino>
Sun 06 Feb 2011 12:05:25 AM UTC, comment #1: 

Please tell us what version of Octave you are running.

Its not clear to me if the problem is with addpath or save path (they both work correctly for me). Please run a simple test.


rmpath (pwd)
p1 = strsplit (path, ":");
addpath (pwd);
p2 = strsplit (path, ":");
setdiff (p2, p1)


Does the setdiff() command return the pwd?

Ben Abbott <bpabbott>
Group Member
Fri 04 Feb 2011 10:07:20 AM UTC, original submission:  

Under FEDORA 14 x86_64 up to date, with octave installed from official repository, "addpath" function do nothing.
If I'm calling octave with the "--path" argument it works like expected. If I make a "savepath" once running with the "--path" argument, I can see the "addpath" added into my .octaverc file with my custom path. But the next time I'm calling octave (without the "--path" argument), my custom path is not took in account.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jfargentino (Posted a comment)
  • -email is unavailable- added by bpabbott (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-02-06 bpabbott StatusNone Works For Me
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code