Not sure how to exactly reproduce this, but I did delete a mapping from the Mappings list before this started to appear. Maybe the deleted mapping was before the mapping being edited in the list?
Traceback (most recent call last):
File "spinetoolbox\widgets\notification.py", line 219, in _push_notification
if self._settings.value(self._settings_key, defaultValue="2") != "2":
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "spine_items\importer\commands.py", line 715, in redo
self._model.set_relationship_dimension_count(self._table_row, self._list_row, self._dimension_count)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "spine-items\spine_items\importer\mvcmodels\mappings_model.py", line 1102, in set_relationship_dimension_count
list_index = self.index(list_row, 0, table_index)
File "spine-items\spine_items\importer\mvcmodels\mappings_model.py", line 628, in index
return self.createIndex(row, 0, parent_item.mapping_list[row])
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^
IndexError: Error calling Python override of QUndoCommand::redo(): list index out of range
Not sure how to exactly reproduce this, but I did delete a mapping from the Mappings list before this started to appear. Maybe the deleted mapping was before the mapping being edited in the list?