bugGNU Octave - Bugs: bug #48925, problem with m-files in private...

 
 

bug #48925: problem with m-files in private directory

Submitted by:  Avinoam Kalma <avinoam>
Submitted on:  Sat 27 Aug 2016 07:04:57 PM UTC  
 
Category: InterpreterSeverity: 2 - Minor
Priority: 3 - LowItem Group: Incorrect Result
Status: ConfirmedAssigned to: None
Originator Name: AvinoamOpen/Closed: Open
Release: 4.2.0Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

(Jump to the original submission Jump to the original submission)

Wed 16 Nov 2016 08:52:42 PM UTC, comment #8:

Re-tagging as 4.2.0

Avinoam Kalma <avinoam>
Project Member
Thu 15 Sep 2016 09:23:21 PM UTC, comment #7:

I can confirm this on Linux as well. The problem seems to be that although PATH has the current directory ('.') on it, files which are returned are being filtered out because they match the name of another PATH entry with "/private" appended to it.

As a workaround, instead of changing directory into the private dir, just add the correct dir to your path.

Rik <rik5>
Project Administrator
Wed 14 Sep 2016 02:47:18 PM UTC, comment #6:

The problem is that there is a compare_plot_demos.m file in that library.
This bug still exists in 4.2.0-rc1

Avinoam Kalma <avinoam>
Project Member
Wed 14 Sep 2016 01:49:53 PM UTC, comment #5:

So it is working as expected, correct? Maybe this has been fixed in 4.2.0-rc1.

Now just make sure that there is a compare_plot_demos.m file in

and it should work.

Bernardo Sulzbach <mafagafogigante>
Tue 13 Sep 2016 08:47:22 PM UTC, comment #4:

The results:

Avinoam Kalma <avinoam>
Project Member
Tue 13 Sep 2016 09:45:18 AM UTC, comment #3:

Would you care to post the result of the following (I don't have a Windows box to test it myself):

Bernardo Sulzbach <mafagafogigante>
Sat 27 Aug 2016 07:10:52 PM UTC, comment #2:

Sorry for the noise: a full corrected report:

For example: Octave starts in directory
D:\Octave\Octave-4.1.0+\share\octave\4.1.0+\m\testfun. If I use "cd private" Octave does not recognize the m-files in the private directory:

In 4.0.3:

in 4.0.1+ (cs 52c205a0ad88
52c205a0ad88):

It looks like octave is searching in for the files in the folder private\private. Note that the error in 4.0.1 is much less informative.

If Octave starts in the private directory, everything is OK.

Tested with MXE-Octave on Win-10 machine.

Avinoam Kalma <avinoam>
Project Member
Sat 27 Aug 2016 07:06:11 PM UTC, comment #1:

Correction: Octave starts in directory D:\Octave\Octave-4.1.0+\share\octave\4.1.0+\m\testfun

Avinoam Kalma <avinoam>
Project Member
Sat 27 Aug 2016 07:04:57 PM UTC, original submission:

For example: Octave starts in directory D:\Octave\Octave-4.1.0+\share\octave\4.1.0+\m\plot\util\private. If I use "cd private" Octave does not recognize the m-files in the private directory:

In 4.0.3:

in 4.0.1+ (cs 52c205a0ad88):

Avinoam Kalma <avinoam>
Project Member

 

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

    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
    Wed 16 Nov 2016 08:52:42 PM UTCavinoamRelease4.2.0-rc1=>4.2.0
    Thu 15 Sep 2016 09:23:21 PM UTCrik5Severity3 - Normal=>2 - Minor
      Priority5 - Normal=>3 - Low
      StatusNone=>Confirmed
      Operating SystemMicrosoft Windows=>Any
    Tue 13 Sep 2016 08:47:22 PM UTCavinoamRelease4.0.3=>4.2.0-rc1
    Sat 27 Aug 2016 07:04:57 PM UTCavinoamCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1