Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.0.8
-
None
-
VBC Sprint 8
-
8.2 Pipeline Integration
Description
Project - Data Structure Run Region Mapping uploader (or any other uploader) with success
Project - Operations page - Click on Op details to show the overlay with the Operation Inputs.
An error can be observed in the server logs:
2020-08-03 02:00:36,833 - ERROR - tvb.core.services.project_service - Could not load details for operation f6edfa0a-d513-11ea-a51c-a45e60e5b22f Traceback (most recent call last): File "/Users/lia.domide/WORK/TVB/root-git/tvb-root/framework_tvb/tvb/core/services/project_service.py", line 788, in _review_operation_inputs return review_operation_inputs_from_adapter(adapter, operation) File "/Users/lia.domide/WORK/TVB/root-git/tvb-root/framework_tvb/tvb/core/adapters/inputs_processor.py", line 75, in review_operation_inputs_from_adapter inputs_datatypes, changed_attr = _review_operation_inputs_for_adapter_model(form_fields, form_model, view_model) File "/Users/lia.domide/WORK/TVB/root-git/tvb-root/framework_tvb/tvb/core/adapters/inputs_processor.py", line 52, in _review_operation_inputs_for_adapter_model attr_default = getattr(form_model, field.name) File "/Users/lia.domide/WORK/TVB/root-git/tvb-root/scientific_library/tvb/basic/neotraits/_attr.py", line 170, in __get__ 'Use a default or assign a value before reading it', attr=self) tvb.basic.neotraits.ex.TraitAttributeError: required attribute referenced before assignment. Use a default or assign a value before reading it attribute tvb.adapters.uploaders.region_mapping_importer.RegionMappingImporterModel.mapping_file = Str(field_type=<class 'str'>, default=None, required=True)
Indeed, we can not preserve the original uploaded inout file for the uploaders, but we should find a solution to display nicely here the details without telling the user that the "Algorithms changed ..." which is not true.