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

Selecting multiple Monitors in web-UI is no longer functioning correctly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.2.2
    • Fix Version/s: 1.2.2
    • Component/s: None
    • Labels:
      None
    • Epic Link:
    • Sprint:
      1.2.2

      Description

      After recent changes in the JS for updating the Simulation UI with Inputs, selecting multiple monitors is no longer working correctly. The web-UI is not correctly rendered, there is an error in JS, and another effect is that the simulation fails:

      2014-09-25 12:12:20,921 - ERROR [proc:57426] - tvb.core.services.operation_service - 'NoneType' object has no attribute 'locations'
      Traceback (most recent call last):
      File "/Users/lia.domide/Downloads/TVB_Distribution_122/tvb.app/Contents/Resources/lib/python2.7/tvb/core/services/operation_service.py", line 336, in initiate_prelaunch
      result_msg, nr_datatypes = adapter_instance._prelaunch(operation, unique_id, available_space, **params)
      File "/Users/lia.domide/Downloads/TVB_Distribution_122/tvb.app/Contents/Resources/lib/python2.7/tvb/core/adapters/abcadapter.py", line 91, in new_function
      return func(*args, **kw)
      File "/Users/lia.domide/Downloads/TVB_Distribution_122/tvb.app/Contents/Resources/lib/python2.7/tvb/core/adapters/abcadapter.py", line 250, in _prelaunch
      self.configure(**kwargs)
      File "/Users/lia.domide/Downloads/TVB_Distribution_122/tvb.app/Contents/Resources/lib/python2.7/tvb/adapters/simulator/simulator_adapter.py", line 163, in configure
      self.algorithm.configure()
      File "/Users/lia.domide/Downloads/TVB_Distribution_122/tvb.app/Contents/Resources/lib/python2.7/tvb/simulator/simulator.py", line 343, in configure
      self.configure_monitors()
      File "/Users/lia.domide/Downloads/TVB_Distribution_122/tvb.app/Contents/Resources/lib/python2.7/tvb/simulator/simulator.py", line 610, in configure_monitors
      monitor.config_for_sim(self)
      File "/Users/lia.domide/Downloads/TVB_Distribution_122/tvb.app/Contents/Resources/lib/python2.7/tvb/simulator/monitors.py", line 1556, in config_for_sim
      V_r = numpy.zeros((self.sensors.locations.shape[0], r_0.shape[0]))
      AttributeError: 'NoneType' object has no attribute 'locations'

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              mihai.andrei Mihai Andrei
              Reporter:
              lia.domide Lia Domide
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

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