bugGNU Octave - Bugs: bug #56051, Not registering an update of...

 
 

bug #56051: Not registering an update of source file

Submitted by:  Frank Steinke <fas42>
Submitted on:  Tue 02 Apr 2019 06:30:33 AM UTC  
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  Works For Me Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  5.1.0 Operating System:  Microsoft Windows

Add a New Comment (Rich Markup)
   

You are not logged in

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

 

Wed 05 Jun 2019 08:37:54 PM UTC, comment #2:

No response to request for further testing, closing as working assuming that the 'ignore_function_time_stamp' flag is working as intended and documented.

Mike Miller <mtmiller>
Project Administrator
Thu 04 Apr 2019 07:03:42 PM UTC, comment #1:

Can you try again after running the command

ignore_function_time_stamp none

when Octave first starts?

Your example depends on modifying system function files that come with Octave. Octave's default behavior is to ignore changes in the time stamp on its system functions, assuming that the user will not be modifying them while Octave is running.

If you try your example on a function in a different directory, you should not see this behavior. And setting the 'ignore_function_time_stamp' property allows it to apply to system functions too.

Mike Miller <mtmiller>
Project Administrator
Tue 02 Apr 2019 06:30:33 AM UTC, original submission:

As mentioned in another bug submission, the IDE not processing a changed file, unless Octave is restarted.

The rundemos.m file in the testfun directory had the line

 input ("Press <enter> to continue: ", "s");

changed to

 input ("Press <backspace> to continue: ", "s");

and continued to use the original prompt, irrespectve of trying everything. The only thing that worked was exiting, and restarting Octave.

And more bad news: repeated running gave inconsistent behaviour:

C:\Apps\OCTAVE~1.0\mingw64\share\octave\5.1.0\m\audio\@audiorecorder\audiorecorder.m example 1:
 recorder = audiorecorder (44100, 16, 2);
 record (recorder, 1);
 pause (2);
 player1 = audioplayer (recorder);
 player2 = getplayer (recorder);
 play (player1);
 pause (2);
 play (player2);
 pause (2);
 stop (player1);
 stop (player2);

C:\Apps\OCTAVE~1.0\mingw64\share\octave\5.1.0\m\audio\@audiorecorder\audiorecorder.m example 1: failed

Invalid call to audioplayer.  Correct usage is:

 -- PLAYER = audioplayer (Y, FS)
 -- PLAYER = audioplayer (Y, FS, NBITS)
 -- PLAYER = audioplayer (Y, FS, NBITS, ID)
 -- PLAYER = audioplayer (RECORDER)
 -- PLAYER = audioplayer (RECORDER, ID)

Frank Steinke <fas42>

 

(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 fas42 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-06-05 mtmiller StatusNeed Info => Works For Me
        Open/ClosedOpen => Closed
    2019-04-04 mtmiller StatusNone => Need Info

    Back to the top


    Powered by Savane 3.4