You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have one mapping in importer that imports entities along with parameter values. Changing the Item type in the importer specification editor from Entity class to Entity group causes the following traceback:
Traceback (most recent call last):
File "C:\spine-toolbox\spinetoolbox\widgets\notification.py", line 219, in _push_notification
if self._settings.value(self._settings_key, defaultValue="2") != "2":
File "C:\toolbox\src\spine-items\spine_items\importer\commands.py", line 429, in redo
self._model.set_mappings_type(self._table_row, self._list_row, self._new_type)
File "C:\toolbox\src\spine-items\spine_items\importer\mvcmodels\mappings_model.py", line 736, in set_mappings_type
root_mapping = import_mapping_from_dict({"map_type": map_type})
File "C:\toolbox\src\spinedb-api\spinedb_api\import_mapping\import_mapping_compat.py", line 87, in import_mapping_from_dict
raise ValueError(
ValueError: unknown "map_type" value, expected any of ObjectClass, RelationshipClass, Alternative, Scenario, ScenarioAlternative, ObjectGroup, ParameterValueList, got EntityGroup
Also got this
AttributeError: Slot 'ChangeNotifier::_push_notification(int)' not found.
when trying various item types.
The text was updated successfully, but these errors were encountered:
Importer was using legacy functionality in spinedb_api to get blank
mappings when user changes the mapping type. This does not work e.g.
with Entity group mappings since those did not exist in pre-0.7 world.
Re spine-tools/Spine-Toolbox#2662
I have one mapping in importer that imports entities along with parameter values. Changing the Item type in the importer specification editor from Entity class to Entity group causes the following traceback:
Also got this
AttributeError: Slot 'ChangeNotifier::_push_notification(int)' not found.
when trying various item types.
The text was updated successfully, but these errors were encountered: