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
When adding features to query with the "Select Content" feature in the plugin. I am able to select a feature of interest and add it to the query without completely filling it in.
(For example that can be added to the query)
When you try and run a query like this you will get a python error similar to ->
WARNING Traceback (most recent call last): File "C:\Users/Myles/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\kwg_geoenrichment\kwg_geoenrichment.py", line 734, in handleRun results.append(self.enrichmentObjBuffer[i].getResults()) File "C:\Users/Myles/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\kwg_geoenrichment\kwg_plugin_enrichment_dialog.py", line 401, in getResults predicate = self.labelPropDict[self.tableWidget.cellWidget(it, 1).currentText()] KeyError: '--- SELECT ---'
Looks like it just adds in the default selection to the query (---- SELECT -----) in this case.
Looks like it just needs some input validation that you can only add in complete requests
This is running on Windows, with the most recent plugin version (v0.4)
The text was updated successfully, but these errors were encountered:
When adding features to query with the "Select Content" feature in the plugin. I am able to select a feature of interest and add it to the query without completely filling it in.
(For example that can be added to the query)
When you try and run a query like this you will get a python error similar to ->
WARNING Traceback (most recent call last): File "C:\Users/Myles/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\kwg_geoenrichment\kwg_geoenrichment.py", line 734, in handleRun results.append(self.enrichmentObjBuffer[i].getResults()) File "C:\Users/Myles/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\kwg_geoenrichment\kwg_plugin_enrichment_dialog.py", line 401, in getResults predicate = self.labelPropDict[self.tableWidget.cellWidget(it, 1).currentText()] KeyError: '--- SELECT ---'
Looks like it just adds in the default selection to the query (---- SELECT -----) in this case.
Looks like it just needs some input validation that you can only add in complete requests
This is running on Windows, with the most recent plugin version (v0.4)
The text was updated successfully, but these errors were encountered: