Bug with using monitor

Hello,

I was trying to use monitors and got this bug report.

Thanks,
Jack fluid_bed_chem_2021-02-26T104645.182893.zip (21.3 KB)

Do you remember exactly how you triggered that error, like what sequence of buttons did you press?

@cgw seems like the widget was already deleted.

Error: wrapped C/C++ object of type CheckBox has been deleted
File "...\gui.py", line 1767, in navigation_changed
    self.setup_current_pane()
File "...\gui.py", line 1808, in setup_current_pane
    setup_pane(allow_disabled_tab=self.allow_disabled_tab)
File "...\monitors.py", line 698, in setup_monitors
    self.setup_monitors_cell(allow_disabled_tab)
File "...\monitors.py", line 995, in setup_monitors_cell
    self.monitors_setup_current_tab()
File "...\monitors.py", line 1063, in monitors_setup_current_tab
    self.setup_monitors_fluid_tab()
File "...\monitors.py", line 1174, in setup_monitors_fluid_tab
    layout.removeWidget(cb)

Thanks - looking at the code I can see that this is triggered by deleting fluid species. I can reproduce it and have opened issues/1126. Will fix for upcoming 21.1 release.

  • Charles