bugGNU Octave - Bugs: bug #60890, parse error / syntax error for any...

 
 

bug #60890: parse error / syntax error for any valid script

Submitter:  None
Submitted:  Tue 06 Jul 2021 07:38:42 PM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Need Info Assigned to:  None
Originator Name:  John Thomas Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 6.2.0
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 30 Jul 2021 05:58:56 PM UTC, comment #2: 

No response.  Closing report.

Rik <rik5>
Group administrator
Wed 07 Jul 2021 07:28:18 AM UTC, comment #1: 

That looks like an encoding error to me.
Either the file is saved with a wrong encoding or Octave tries to read it with the wrong encoding.

What do the following commands return for you?

__mfile_encoding__
__locale_charset__


Markus Mützel <mmuetzel>
Group administrator
Tue 06 Jul 2021 07:38:42 PM UTC, original submission:  

(most likely) bug #60882
GNU Octave is showing error for any valid script. A certain script was working fine earlier today. Now the same script shows error. The following is a simple example:

script: (saved as a.m in C:\Users\HP\)

x1 = [1, 2, 3];
x2 = [4, 5, 6];
y = x1 + x2

result:

>> a


error: parse error near line 1 of file C:\Users\HP\a.m

  syntax error

@~@@N@k@^@k@^
    ^

>>


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 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.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-07-30 rik5 Open/ClosedOpen Closed
    2021-07-07 mmuetzel StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code