-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Occasionally when running validate database I will get a Runtime Error on Rule 3.12 even on gdbs that previously succeeded and were Level 3 compliant.
On closer look the problem seems to come from rule function 3_12 and the ds.ExecuteSQL which executes SELECT commands on _IDs that don't exist like on feature dataset GeologicMap or even tables like GeoMaterialDict (which from my understanding shouldn't have a GeoMaterialDict_ID, I am new to GEMS so I could be misinterpreting something).
ExecuteSQL seems to be raising exceptions sometimes rather than returning None.
I have worked around it with this try statement. But I think there is a better solution than that.
try:
res = ds.ExecuteSQL(sql)
except RuntimeError:
continue
Metadata
Metadata
Assignees
Labels
No labels
