Menu

#2883 Recent changes to subtaskMonitor causes runtime error in existing script

nextrelease
open-fixed
nobody
None
5
1 day ago
1 day ago
No

Autoplot v2026a_7 can't run
https://github.com/autoplot/dev/blob/master/demos/2025/20250421/call_e_b_mms_v4a.jy
because of how it uses the monitors. This worked before, and its use should be supported.

Discussion

  • Jeremy Faden

    Jeremy Faden - 1 day ago

    This is fixed and will be released in v2026a_8. I verified that calling "started" multiple times on a monitor is safe, and getSubtaskMonitor will call started if the parent is not yet started.

     

    Last edit: Jeremy Faden 1 day ago
  • Jeremy Faden

    Jeremy Faden - 1 day ago
    • status: open --> open-fixed
     
  • Jeremy Faden

    Jeremy Faden - 1 day ago

    finished() can be called multiple times, but it prints a stack trace to stderr warning of the error. Repeat calls to started seem more harmless, but started should probably print a warning message too. (I can imagine a multi-threaded application triggering this.)