bugGNU Octave - Bugs: bug #65623, New Script Failing to Load - Only...

 
 

bug #65623: New Script Failing to Load - Only Workaround to Restart Octave

Submitter:  None
Submitted:  Mon 22 Apr 2024 03:42:45 AM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Need Info Assigned to:  None
Originator Name:  Rob Originator Email:  -email is unavailable-
Open/Closed:  * Open Release:  * 9.1.0
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 06 May 2024 08:48:54 AM UTC, comment #4: 

A release candidate for Octave 9.2.0 has been published. See:
https://octave.discourse.group/t/release-candidate-for-octave-9-2-0-available/5579

Could you please check if you can still reproduce the issue with that release candidate?

Markus Mützel <mmuetzel>
Group administrator
Sun 05 May 2024 12:09:48 AM UTC, comment #3: 

I am not the original commenter but had the exact same symptoms and tried some of the same solutions that didn't work.

Yes

`path(path())`

does allow the file to work at a least until the next time Octave is restarted.

The problem is intermittent and hard to reproduce so I am not sure what induces the problem.


GNU Octave, version 9.1.0
Windows 11

Ray Cross <ray_obr>
Thu 02 May 2024 06:21:20 PM UTC, comment #2: 

Can original user test workaround suggested in comment #1?  Is this still an issue?

Rik <rik5>
Group administrator
Mon 22 Apr 2024 06:07:18 AM UTC, comment #1: 

That sounds eerily similar to bug #65548.

Does `path(path())` work around the issue when it occurs?
Does it still happen in a recent nightly build from nightly.octave.org?

Markus Mützel <mmuetzel>
Group administrator
Mon 22 Apr 2024 03:42:45 AM UTC, original submission:  

Sometimes, when I create a new script and save it in the current directory, then call it in the command window, it will state that the call for the script is undefined at line1 column1. This usually happens after already working in Octave and then creating and saving a new script in the working directory.

For troubleshooting, I have confirmed the file is in the load path, in current directory, and does not contain any spaces or prohibited characters, so there's no parsing errors. It's just failing to 'see' the file to load. I have tried different file names and it does not work. When the error does occur, it fails to load any new script and gives the error, "undefined at line1 column1".

I did some research and found this article (https://lists.gnu.org/archive/html/help-octave/2009-03/msg00212.html), but rehash, clear all, and clearing the script name I'm attempting to load do not work.

The only solution is to restart Octave, and then my call to the script works as it should.

As a workaround restarting Octave each time does work, but it's a minor inconvenience to have to restart Octave every time this happens.

Any guidance is much appreciated. 

System: Windows 10

GNU Octave, version 9.1.0

Any guidance is much appreciated.

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 ray_obr (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by mmuetzel (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.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-05-02 rik5 StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code