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

Cannot delete PSE simulations

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.2
    • Fix Version/s: 2.3
    • Component/s: TVB Framework
    • Labels:
      None
    • Epic Link:
    • Sprint:
      VBC Sprint 12
    • TVB-C Task:
      8.2 Pipeline Integration

      Description

      No matter if we try to delete a simulation from the Operations Page or from the Simulation Page. it does not work. However, it does dissappear at least from the Simulation Page but the data (both H5 files and in the database) remains.

      2021-06-15 16:11:20,725 - INFO - tvb.core.services.backend_clients.standalone_client - Operation already stopped or not found at ID: 550
      2021-06-15 16:11:20,745 - ERROR - tvb.interface.web.controllers.decorators - An unexpected exception appeared
      Traceback (most recent call last):
        File "/Users/robert.vincze/WORK/tvb-root/framework_tvb/tvb/interfaces/web/controllers/decorators.py", line 153, in deco
          return func(*a, **b)
        File "/Users/robert.vincze/WORK/tvb-root/framework_tvb/tvb/interfaces/web/controllers/decorators.py", line 100, in deco
          result = func(*a, **b)
        File "/Users/robert.vincze/WORK/tvb-root/framework_tvb/tvb/interfaces/web/controllers/decorators.py", line 200, in deco
          return func(*a, **b)
        File "/Users/robert.vincze/WORK/tvb-root/framework_tvb/tvb/interfaces/web/controllers/simulator/simulator_controller.py", line 92, in cancel_or_remove_burst
          return self.cancel_or_remove_operation(op_id, is_group, burst_config.is_finished)
        File "/Users/robert.vincze/WORK/tvb-root/framework_tvb/tvb/interfaces/web/controllers/simulator/simulator_controller.py", line 106, in cancel_or_remove_operation
          result = OperationService.stop_operation(operation_id, is_group, remove_after_stop)
        File "/Users/robert.vincze/WORK/tvb-root/framework_tvb/tvb/core/services/operation_service.py", line 388, in stop_operation
          result = OperationService.stop_operation(operation.id, False, remove_after_stop) or result
        File "/Users/robert.vincze/WORK/tvb-root/framework_tvb/tvb/core/services/operation_service.py", line 395, in stop_operation
          ProjectService().remove_operation(operation_id)
        File "/Users/robert.vincze/WORK/tvb-root/framework_tvb/tvb/core/services/project_service.py", line 592, in remove_operation
          self.remove_datatype(operation.project.id, dt.gid, False)
        File "/Users/robert.vincze/WORK/tvb-root/framework_tvb/tvb/core/services/project_service.py", line 629, in remove_datatype
          burst = dao.get_generic_entity(BurstConfiguration, datatype_group.fk_parent_burst, 'gid')[0]
      IndexError: list index out of range
      
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              bogdan.valean Bogdan Valean
              Reporter:
              robert.vincze Robert Francisc Vincze
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day
                  1d
                  Remaining:
                  Time Spent - 5 hours Remaining Estimate - 3 hours
                  3h
                  Logged:
                  Time Spent - 5 hours Remaining Estimate - 3 hours
                  5h