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

Import of LocalConnectivity from DefaultProject is no longer working

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.01
    • Component/s: None
    • Labels:
      None
    • Environment:
      empty storage
    • Epic Link:
    • Sprint:
      VBC REST API 2
    • TVB-C Task:
      8.2 Pipeline Integration

      Description

      The cause seems to be in EquationScalar.

      2020-01-07 00:02:33,532 - ERROR - tvb.core.services.import_service - Error encountered during import. Deleting projects created during this operation.
      Traceback (most recent call last):
        File "/WORK/TVB/root-git/tvb-root/framework_tvb/tvb/core/services/import_service.py", line 132, in import_project_structure
          self._import_projects_from_folder(temp_folder)
        File "/WORK/TVB/root-git/tvb-root/framework_tvb/tvb/core/services/import_service.py", line 217, in _import_projects_from_folder
          self.import_project_operations(project_entity, new_project_path)
        File "/WORK/TVB/root-git/tvb-root/framework_tvb/tvb/core/services/import_service.py", line 342, in import_project_operations
          datatype_group)
        File "/WORK/TVB/root-git/tvb-root/framework_tvb/tvb/core/services/import_service.py", line 269, in _load_datatypes_from_operation_folder
          datatype = self.load_datatype_from_file(op_path, file_name, operation_entity.id, datatype_group)
        File "/WORK/TVB/root-git/tvb-root/framework_tvb/tvb/core/services/import_service.py", line 379, in load_datatype_from_file
          datatype, generic_attributes = h5.load_with_references(os.path.join(storage_folder, file_name))
        File "/WORK/TVB/root-git/tvb-root/framework_tvb/tvb/core/neocom/h5.py", line 83, in load_with_references
          return loader.load_with_references(source_path)
        File "/WORK/TVB/root-git/tvb-root/framework_tvb/tvb/core/neocom/_h5loader.py", line 190, in load_with_references
          f.load_into(datatype)
        File "/WORK/TVB/root-git/tvb-root/framework_tvb/tvb/adapters/datatypes/h5/local_connectivity_h5.py", line 48, in load_into
          super(LocalConnectivityH5, self).load_into(datatype)
        File "/WORK/TVB/root-git/tvb-root/framework_tvb/tvb/core/neotraits/_h5core.py", line 137, in load_into
          value = accessor.load()
        File "/WORK/TVB/root-git/tvb-root/framework_tvb/tvb/core/neotraits/_h5accessors.py", line 262, in load
          eq_type = eq_meta_dict[self.KEY_TYPE]
      TypeError: 'NoneType' object is not subscriptable
      

       

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              paula.popa Paula Popa
              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 - 1 day
                  1d
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 6 hours Time Not Required
                  6h