Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.2.2
-
None
-
VBC Sprint 12
-
6.3 SCAI Viewer Design
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