Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warnings in HRU calculation #14

Open
jamaa opened this issue Apr 22, 2024 · 0 comments
Open

Warnings in HRU calculation #14

jamaa opened this issue Apr 22, 2024 · 0 comments

Comments

@jamaa
Copy link
Member

jamaa commented Apr 22, 2024

Testing the HRU calculation workflow, I get the following warnings in the console, not sure if they are significant?

2024-04-22T09:50:41     WARNING    Traceback (most recent call last):
              File "C:\Users/felixfroehlich/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QTalsim\qtalsim.py", line 1181, in fillLanduseTable
              item = QTableWidgetItem(data)
             TypeError: arguments did not match any overloaded call:
              QTableWidgetItem(type: int = QTableWidgetItem.ItemType.Type): argument 1 has unexpected type 'QVariant'
              QTableWidgetItem(str, type: int = QTableWidgetItem.ItemType.Type): argument 1 has unexpected type 'QVariant'
              QTableWidgetItem(QIcon, str, type: int = QTableWidgetItem.ItemType.Type): argument 1 has unexpected type 'QVariant'
              QTableWidgetItem(QTableWidgetItem): argument 1 has unexpected type 'QVariant'
             
2024-04-22T09:51:17     WARNING    Traceback (most recent call last):
              File "C:\Users/felixfroehlich/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QTalsim\qtalsim.py", line 1181, in fillLanduseTable
              item = QTableWidgetItem(data)
             TypeError: arguments did not match any overloaded call:
              QTableWidgetItem(type: int = QTableWidgetItem.ItemType.Type): argument 1 has unexpected type 'QVariant'
              QTableWidgetItem(str, type: int = QTableWidgetItem.ItemType.Type): argument 1 has unexpected type 'QVariant'
              QTableWidgetItem(QIcon, str, type: int = QTableWidgetItem.ItemType.Type): argument 1 has unexpected type 'QVariant'
              QTableWidgetItem(QTableWidgetItem): argument 1 has unexpected type 'QVariant'
             
2024-04-22T12:05:04     WARNING    Traceback (most recent call last):
              File "C:\Users/felixfroehlich/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QTalsim\qtalsim.py", line 1397, in createLanduseLayer
              resultDissolve = processing.run("native:dissolve", {'INPUT':self.landuseTalsim,'FIELD': self.selected_landuse_parameters,'SEPARATE_DISJOINT':True,'OUTPUT':'TEMPORARY_OUTPUT'})
              File "C:\OSGeo4W/apps/qgis-ltr/./python/plugins\processing\tools\general.py", line 108, in run
              return Processing.runAlgorithm(algOrName, parameters, onFinish, feedback, context)
              File "C:\OSGeo4W/apps/qgis-ltr/./python/plugins\processing\core\Processing.py", line 187, in runAlgorithm
              ret, results = execute(alg, parameters, context, feedback, catch_exceptions=False)
              File "C:\OSGeo4W/apps/qgis-ltr/./python/plugins\processing\gui\AlgorithmExecutor.py", line 72, in execute
              results, ok = alg.run(parameters, context, feedback, {}, False)
             _core.QgsProcessingException: Could not write feature into OUTPUT
lorenz3tla added a commit that referenced this issue May 3, 2024
- Bug fix for HRU calculation if there are small polygons without
  parameters or features without area
- Add user feedback for processes and also add visual indication (issue #12)
- Change names of edited layers (add name of optional editing step:
  overlap/gaps removal) (issue #11)
- Update all layer-comboboxes automatically if layer gets inserted in
  project or deleted from project (issue #10)
- Bug fix: Handling of land uses without land use type (issue #14)
- Change button to "Delete All Overlapping Features"
- Update documentation
-- Add tip to perform deletion of overlaps/gaps more often if they
are not deleted in first try
- Minor bug fix: Select features in "Check Overlaps"-Table
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant