bugGNU Octave - Bugs: bug #60524, Octave GUI suddenly exhibits...

 
 

bug #60524: Octave GUI suddenly exhibits corrupt behaviour

Submitter:  Cary Scofield <carys689>
Submitted:  Wed 05 May 2021 03:15:22 AM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Need Info Assigned to:  None
Originator Name:  Cary Scofield 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
   

Sat 01 Oct 2022 07:39:55 PM UTC, comment #2: 

No response in over a year. Closing.

@OP: If this problem still persists, please try again with the latest release of Octave (7.2.0).

Arun Giridhar <arungiridhar>
Group Member
Wed 05 May 2021 06:27:45 AM UTC, comment #1: 

The indicated errors (in core .m files) don't look like syntax errors to me. It's also surprising that Octave 6.2.0 was working correctly at first and eventually started emitting these errors for you.

Since you are wrinting that the CLI still works correctly, it is probably something in the GUI settings that has changed that is causing this issue.

What does the following commands return for you in Octave 6.2.0?

__mfile_encoding__
__locale_charset__


Btw, no need to write in bold. We can read you just fine without. :-)

Markus Mützel <mmuetzel>
Group administrator
Wed 05 May 2021 03:15:22 AM UTC, original submission:  

While using the Octave 6.2.0 GUI on Windows 10, I started getting error messages very much like the following:

+verbeatim+

>> what

error: parse error near line 153 of file C:\Program Files\GNU Octave\Octave-6.2.0\mingw64\share\octave\6.2.
0\m\miscellaneous\what.m

  syntax error

>>>     [~, f, e] = fileparts (nm);

         ^
-verbatim-

I uninstalled Octave and re-installed it, but that did not make a difference. Rebooting the Windows 10 machine after the re-installation did not fix the problem either.

The command-line version, however, does NOT exhibit this problem:


octave:7> what
M-files in directory c:\users\carys\stash\coursera\ml\machine-learning-ex1\ex1:

   computeCost.m           ex1.m                   gradientDescent.m       plotData.m
   computeCostMulti.m      ex1_multi.m             gradientDescentMulti.m  submit.m
   costFunctionJ.m         featureNormalize.m      normalEqn.m             warmUpExercise.m

MAT-files in directory c:\users\carys\stash\coursera\ml\machine-learning-ex1\ex1:

   token.mat




More examples:


Plotting Data ...
error: parse error near line 163 of file C:\Program Files\GNU Octave\Octave-6.2.0\mingw64\share\octave\6.2.
0\m\plot\util\private\__add_default_menu__.m

  invalid parameter list

>>> function toggle_visibility_cb (hf, ~, hmenu, htb)
                                       ^
>> error: parse error near line 40 of file C:\Program Files\GNU Octave\Octave-6.2.0\mingw64\share\octave\6.
2.0\m\plot\util\gcbf.m

  syntax error

>>>   [~, fig] = gcbo ();
       ^


I had been using the GUI for several weeks with no problems whatsoever until this problem started occurring. This version (6.2.0) is not very usable in its current state. Matrix operations seem to work okay but trying to run scripts does not.

A fellow student suggested I install an earlier version of Octave (vers. 5.2.0) which I did and I have a working version of the GUI now, but, of course, we would like to use the latest version for obvious reasons.


Cary Scofield <carys689>

 

(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 arungiridhar (Posted a comment)
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by carys689 (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
    2022-10-01 arungiridhar Open/ClosedOpen Closed
    2021-05-05 mmuetzel StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code