The module View STR throws a stack trace when you search for records on tabs that represent spatial units.
`An error has occurred while executing Python code:
RuntimeError: wrapped C/C++ object of type QgsVectorLayer has been deleted
Traceback (most recent call last):
File "C:/Users/marko/.qgis2/python/plugins\stdm\ui\view_str.py", line 463, in searchEntityRelations
entity, result_ids
File "C:/Users/marko/.qgis2/python/plugins\stdm\ui\feature_details.py", line 1042, in search_spatial_unit
self.feature_models.keys()
RuntimeError: wrapped C/C++ object of type QgsVectorLayer has been deleted`
The module View STR throws a stack trace when you search for records on tabs that represent spatial units.
`An error has occurred while executing Python code:
RuntimeError: wrapped C/C++ object of type QgsVectorLayer has been deleted Traceback (most recent call last): File "C:/Users/marko/.qgis2/python/plugins\stdm\ui\view_str.py", line 463, in searchEntityRelations entity, result_ids File "C:/Users/marko/.qgis2/python/plugins\stdm\ui\feature_details.py", line 1042, in search_spatial_unit self.feature_models.keys() RuntimeError: wrapped C/C++ object of type QgsVectorLayer has been deleted`