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
Originally posted by 030Skript October 30, 2023
Hello all,
I wanted to use the GQF module for my master thesis. While trying to start the tutorial, I encountered the following problem on 2 different computers (Windows 10). After installing UMEP (4.0.2) for QGIS (3.34) and downloading the following packages, I prepared the data sources and clicked on "Prepare input data via data sources" and after a few seconds I got:
An error has occurred while executing Python code
IndexError: list index out of range
Traceback (most recent call last):
File "C:\Users/User/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\UMEP\GreaterQF\greater_qf.py", line 192, in disaggregate
processed = self.model.processInputData()
File "C:\Users/User/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\UMEP\GreaterQF\PythonQF2\GreaterQF.py", line 105, in processInputData
processedPath = disaggregate(
File "C:\Users/User/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\UMEP\GreaterQF\PythonQF2\Disaggregate.py", line 72, in disaggregate
bldgEnergy.setIndustrialElec(ie['shapefile'],
File "C:\Users/User/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\UMEP\GreaterQF\PythonQF2\EnergyUseData.py", line 76, in setIndustrialElec
return self.indElec.addInput(input, startTime, attributeToUse, inputFieldId, weight_by=weight_by, epsgCode=epsgCode)
File "C:\Users/User/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\UMEP\GreaterQF\PythonQF2\DataManagement\SpatialTemporalResampler.py", line 448, in addInput
return self.dealWithVectorLayer(input, epsgCode, startTime, attributeToUse, weight_by, inputFieldId)
File "C:\Users/User/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\UMEP\GreaterQF\PythonQF2\DataManagement\SpatialTemporalResampler.py", line 168, in dealWithVectorLayer
resampled = self.resampleLayer(vectorLayer, attributeToUse, weight_by, inputIdField)
File "C:\Users/User/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\UMEP\GreaterQF\PythonQF2\DataManagement\SpatialTemporalResampler.py", line 325, in resampleLayer
if sameFeatures(inputLayer, self.outputLayer):
File "C:\Users/User/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\UMEP\GreaterQF\PythonQF2\DataManagement\spatialHelpers.py", line 913, in sameFeatures
infeat = layer1.selectedFeatures()[0]
IndexError: list index out of range
So, now that I've tried it on my PC and have the same problem, I hope you guys have a solution to this issue? After pressing the button once, I can no longer use it and have to restart QGIS.
The text was updated successfully, but these errors were encountered:
Hi,
I transferred this to the issue section as this most likely is a bug. The last known time the GQF tool was working was QGIS version 3.2. Since then, QGIS has been updated multiple times and this is probably the reason of your issue. Since we do not have any one person working with GQF within our development team, I am not sure we can help you to fix this issue in the near future.
Discussed in #565
Originally posted by 030Skript October 30, 2023
Hello all,
I wanted to use the GQF module for my master thesis. While trying to start the tutorial, I encountered the following problem on 2 different computers (Windows 10). After installing UMEP (4.0.2) for QGIS (3.34) and downloading the following packages, I prepared the data sources and clicked on "Prepare input data via data sources" and after a few seconds I got:
An error has occurred while executing Python code
version info:
So, now that I've tried it on my PC and have the same problem, I hope you guys have a solution to this issue? After pressing the button once, I can no longer use it and have to restart QGIS.
The text was updated successfully, but these errors were encountered: