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

Import project with operations in error produces errors in the update script

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.1
    • Component/s: None
    • Labels:
      None

      Description

      I am trying to import the following project into TVB 1.4,
      (http://filez.univ-amu.fr/l53ovpmbpe) but it fails with error:

      File
      "/home/tim/Work/Models/python/TVB/TVB_Distribution/tvb_data/lib/python2.7/site-packages/tvb/core/services/import_service.py",
      line 132, in import_project_structure
      self._import_projects_from_folder(temp_folder)
      File
      "/home/tim/Work/Models/python/TVB/TVB_Distribution/tvb_data/lib/python2.7/site-packages/tvb/core/services/import_service.py",
      line 217, in _import_projects_from_folder
      self.import_project_operations(project_entity, new_project_path,
      dt_mappings_dict, burst_ids_mapping)
      File
      "/home/tim/Work/Models/python/TVB/TVB_Distribution/tvb_data/lib/python2.7/site-packages/tvb/core/services/import_service.py",
      line 421, in import_project_operations
      datatype_group)
      File
      "/home/tim/Work/Models/python/TVB/TVB_Distribution/tvb_data/lib/python2.7/site-packages/tvb/core/services/import_service.py",
      line 343, in _load_datatypes_from_operation_folder
      datatype = self.load_datatype_from_file(op_path, file_name,
      operation_entity.id, datatype_group)
      File
      "/home/tim/Work/Models/python/TVB/TVB_Distribution/tvb_data/lib/python2.7/site-packages/tvb/core/services/import_service.py",
      line 463, in load_datatype_from_file
      class_name = meta_structure[DataTypeMetaData.KEY_CLASS_NAME]
      KeyError: 'Type'

        Attachments

          Activity

            People

            • Assignee:
              lia.domide Lia Domide
              Reporter:
              tim.proix Tim Proix
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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