Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.6
-
None
-
None
-
VBC Sprint 14
-
5.5 SCAI Viewer Implementation
Description
In OKD installations, an "Internal Server Error" is displayed when trying to reload a simulation configuration from the Operations page. In the logs, the error is:
2022-11-08 15:09:27,176 - ERROR - tvb.interface.web.controllers.decorators - An unexpected exception appeared Traceback (most recent call last): File "/home/tvb-root/tvb_framework/tvb/interfaces/web/controllers/decorators.py", line 154, in deco return func(*a, **b) File "/home/tvb-root/tvb_framework/tvb/interfaces/web/controllers/decorators.py", line 82, in deco template_dict = func(*a, **b) File "/home/tvb-root/tvb_framework/tvb/interfaces/web/controllers/decorators.py", line 201, in deco return func(*a, **b) File "/home/tvb-root/tvb_framework/tvb/interfaces/web/controllers/simulator/simulator_controller.py", line 486, in set_monitor_params current_monitor, next_monitor = self.monitors_handler.get_current_and_next_monitor_form( File "/home/tvb-root/tvb_framework/tvb/interfaces/web/controllers/simulator/monitors_wizard_handler.py", line 77, in get_current_and_next_monitor_form current_monitor_index = self.next_monitors_dict[current_monitor_name] KeyError: 'TemporalAverageViewModel'
But it works correctly to reload the same simulation from the Simulation page -> History column.
And sometimes, after reloading from Simulation page, it will also work to reload the same simulation from Operations page.
We should first check the code to make sure that it does the same thing.