nens / threedi-api-qgis-client

3Di Models & Simulations plugin
https://plugins.lizard.net/
Other
2 stars 0 forks source link

Compatibility with schema 217 #462

Closed leendertvanwolfswinkel closed 1 year ago

leendertvanwolfswinkel commented 1 year ago
leendertvanwolfswinkel commented 1 year ago

@ldebek I tested uploading the data for a schematisation that has both vegetation and interflow rasters. I get the error below. Schematisation data: https://we.tl/t-PAeG9hCpKf

An error has occurred while executing Python code: 

AttributeError: 'SelectFilesWidget' object has no attribute 'widget_interflow' 
Traceback (most recent call last):
  File "C:\Users\leendert.vanwolfswin\AppData\Roaming\3Di\QGIS3\profiles\From the developers desk/python/plugins\threedi_models_and_simulations\widgets\upload_overview.py", line 162, in upload_new_model
    upload_wizard_dialog = UploadWizard(self.plugin_dock, self)
  File "C:\Users\leendert.vanwolfswin\AppData\Roaming\3Di\QGIS3\profiles\From the developers desk/python/plugins\threedi_models_and_simulations\widgets\upload_wizard.py", line 622, in __init__
    self.select_files_page = SelectFilesPage(self)
  File "C:\Users\leendert.vanwolfswin\AppData\Roaming\3Di\QGIS3\profiles\From the developers desk/python/plugins\threedi_models_and_simulations\widgets\upload_wizard.py", line 592, in __init__
    self.main_widget = SelectFilesWidget(self)
  File "C:\Users\leendert.vanwolfswin\AppData\Roaming\3Di\QGIS3\profiles\From the developers desk/python/plugins\threedi_models_and_simulations\widgets\upload_wizard.py", line 238, in __init__
    self.initialize_widgets()
  File "C:\Users\leendert.vanwolfswin\AppData\Roaming\3Di\QGIS3\profiles\From the developers desk/python/plugins\threedi_models_and_simulations\widgets\upload_wizard.py", line 363, in initialize_widgets
    self.widget_interflow,
AttributeError: 'SelectFilesWidget' object has no attribute 'widget_interflow'
ldebek commented 1 year ago

@leendertvanwolfswinkel Error above should be fixed now.

leendertvanwolfswinkel commented 1 year ago

yes, it works. please merge