bugGNU Octave - Bugs: bug #65769, Error when running a new .m file

 
 

bug #65769: Error when running a new .m file

Submitter:  jeewantha <jeewantha24>
Submitted:  Wed 22 May 2024 05:03:01 PM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Confirmed Assigned to:  None
Originator Name:  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 08 Jul 2024 05:47:51 PM UTC, comment #5: 

Realized the other bug is already closed. Re-opened this one to keep track of the issue.

Markus Mützel <mmuetzel>
Group administrator
Fri 05 Jul 2024 03:43:04 PM UTC, comment #4: 

Marking as duplicate of bug #65548.

Markus Mützel <mmuetzel>
Group administrator
Fri 05 Jul 2024 01:56:18 PM UTC, comment #3: 

I get the same behavior in 9.2 on Windows. If you open a file and then save as a new file name, when you run it, you get the error. Running path(path()) fixes the problem.

Anonymous
Tue 04 Jun 2024 03:20:07 AM UTC, comment #2: 

No response.  Closing report.

Rik <rik5>
Group administrator
Thu 23 May 2024 06:24:34 AM UTC, comment #1: 

This sounds similar to bug #65548.

Can the new function be used after you executed `path(path())`?

Can you reproduce the issue with the release candidate for Octave 9.2.0? See: https://octave.discourse.group/t/release-candidate-for-octave-9-2-0-available/5579

Markus Mützel <mmuetzel>
Group administrator
Wed 22 May 2024 05:03:01 PM UTC, original submission:  

OS = windows 11
GNU octave 9.1.0

(1) I have a m file (analysis_2.m) which has a function analysis_2 and runs fine
(2) save it as a analysis_2b.m and change function name to analysis_2b.m and run it. The following error occurs


error: 'analysis_2b' undefined near line 1, column 1

This happens to me so many times.



jeewantha <jeewantha24>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by jeewantha24 (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 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-07-08 mmuetzel SummaryError when running a m file Error when running a new .m file
    2024-07-08 mmuetzel StatusDuplicate Confirmed
        Open/ClosedClosed Open
    2024-07-05 mmuetzel StatusNeed Info Duplicate
        Dependencies- Depends on bugs #65548
    2024-06-04 rik5 Open/ClosedOpen Closed
    2024-05-23 mmuetzel StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-b921.
    Corresponding source code