Uploaded image for project: 'The Virtual Brain'
  1. The Virtual Brain
  2. TVB-3046

Reload simulation from Operations page fails in some cases

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.6
    • 2.7
    • 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.

      Gliffy Diagrams

        Attachments

          Activity

            People

              lia.domide Lia Domide
              paula.popa Paula Prodan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 3 days
                  3d
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours Time Not Required
                  4h