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

Correct simulation with Spatial Average Monitor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.8
    • Component/s: Web Interface
    • Labels:
      None
    • Epic Link:
    • Sprint:
      VBC Sprint 7
    • TVB-C Task:
      8.2 Pipeline Integration

      Description

      The form validation is passed, and the simulation starts, but the operation ends with the following error:

      2020-05-04 13:48:32,443 - DEBUG [proc:40723] - tvb.core.entities.storage.root_dao - We will store entity of type: Operation with id 10
      2020-05-04 13:48:32,451 - DEBUG [proc:40723] - tvb.core.entities.storage.root_dao - After commit Operation ID is 10
      2020-05-04 13:48:32,468 - ERROR [proc:40723] - tvb.core.operation_async_launcher - Could not execute operation 10
      2020-05-04 13:48:32,468 - ERROR [proc:40723] - tvb.core.operation_async_launcher - 'NoneType' object has no attribute 'size'
      Traceback (most recent call last):
       File "/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/core/operation_async_launcher.py", line 78, in do_operation_launch
       OperationService().initiate_prelaunch(curent_operation, adapter_instance)
       File "/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/core/services/operation_service.py", line 354, in initiate_prelaunch
       self._handle_exception(excep1, temp_files, msg, operation)
       File "/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/core/services/operation_service.py", line 400, in _handle_exception
       sys.exc_info()[2]) # when rethrowing in python this is required to preserve the stack trace
       File "/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/core/services/operation_service.py", line 326, in initiate_prelaunch
       result_msg, nr_datatypes = adapter_instance._prelaunch(operation, unique_id, available_space, view_model=view_model)
       File "/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/core/adapters/abcadapter.py", line 90, in new_function
       return func(*args, **kw)
       File "/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/core/adapters/abcadapter.py", line 373, in _prelaunch
       result = self.launch(view_model)
       File "/WORK/TVB_GIT/tvb-root/framework_tvb/tvb/adapters/simulator/simulator_adapter.py", line 343, in launch
       self.algorithm.configure(full_configure=False)
       File "/WORK/TVB_GIT/tvb-root/scientific_library/tvb/simulator/simulator.py", line 288, in configure
       self._configure_monitors()
       File "/WORK/TVB_GIT/tvb-root/scientific_library/tvb/simulator/simulator.py", line 534, in _configure_monitors
       monitor.config_for_sim(self)
       File "/WORK/TVB_GIT/tvb-root/scientific_library/tvb/simulator/monitors.py", line 267, in config_for_sim
       if self.spatial_mask.size != number_of_nodes:
      AttributeError: 'NoneType' object has no attribute 'size'
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                robert.vincze Robert Francisc Vincze
                Reporter:
                paula.popa Paula Popa
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 1 day Original Estimate - 1 day
                    1d
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 4 days, 30 minutes
                    4d 30m