bugGNU Octave - Bugs: bug #61583, [octave forge] (tisean) Remove...

 
 

bug #61583: [octave forge] (tisean) Remove usage of "error_state"

Submitter:  Markus Mützel <mmuetzel>
Submitted:  Mon 29 Nov 2021 01:07:09 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Ready For Test Assigned to:  lostbard
Originator Name:  Open/Closed:  * Open
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 10 Mar 2023 01:30:11 PM UTC, comment #4: 

The patch from Comment #2 didn't quite clean up everything for me. I've attached the modified cumulative patch.

(file #54469)

Marius Schamschula <mschamschula>
Sat 08 Jan 2022 03:35:10 PM UTC, comment #3: 
John Donoghue <lostbard>
Group Member
Mon 29 Nov 2021 01:09:02 PM UTC, comment #2: 

Re-upload with correct bug number.

(file #52381)

Markus Mützel <mmuetzel>
Group administrator
Mon 29 Nov 2021 01:07:59 PM UTC, comment #1: 

Attaching a possible patch.

(file #52380)

Markus Mützel <mmuetzel>
Group administrator
Mon 29 Nov 2021 01:07:09 PM UTC, original submission:  

Quoting jwe from bug #61551:

> The global 'error_state' variable has been useless for quite some time now.  It's been removed on the default branch (what will become version 8.1 in about a year).  Since about 6 years ago, it has never had a value other than 0 in Octave code and is no longer useful for checking whether an error has occurred because exceptions are thrown, so checking the state of a variable after an error occurs is not useful except inside a 'catch' clause that handles 'octave::execution_exception'.
> All uses of this variable should be removed from the video package and any other packages that still use it.  You should have been seeing a warning at compile time about it being deprecated since before version 6 was released (it was marked as deprecated in May 2019).


This also applies to the tisean package.
I'll attach a possible patch as soon as I'll have a bug number.

Markus Mützel <mmuetzel>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #54469:  of-tisean-error_state.patch added by mschamschula (134KiB - application/octet-stream)
file #52381:  of-tisean-error_state.patch added by mmuetzel (137KiB - application/octet-stream)
file #52380:  of-tisean-error_state.patch added by mmuetzel (137KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mschamschula (Updated the item)
  • -email is unavailable- added by lostbard (Posted a comment)
  • -email is unavailable- added by mmuetzel (Submitted the item)
  • -email is unavailable- added by mmuetzel
  •  

    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
    2023-03-10 mschamschula Attached File- Added of-tisean-error_state.patch, #54469
    2022-01-08 lostbard StatusPatch Submitted Ready For Test
        Assigned toNone lostbard
    2021-11-29 mmuetzel Attached File- Added of-tisean-error_state.patch, #52381
    2021-11-29 mmuetzel Attached File- Added of-tisean-error_state.patch, #52380
        StatusNone Patch Submitted
    2021-11-29 mmuetzel Carbon-Copy- Added lostbard

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code