Error in create river_grid

22 views
Skip to first unread message

Elhem Gandouzi

unread,
Oct 16, 2025, 9:58:30 AMOct 16
to SWAT-MODFLOW
Hello,

When i try to create the river_grid in QSWATMOD i had this error.  Any Help please? 

An error has occurred while executing Python code:

_core.QgsProcessingException: Could not write feature Traceback (most recent call last):
  File "C:\Users/gane3601/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWATMOD2\QSWATMOD2.py", line 733, in create_rivs
    linking_process.river_grid(self)
  File "C:\Users/gane3601/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWATMOD2\pyfolder\linking_process.py", line 450, in river_grid
    processing.run('qgis:intersection', params)
  File "C:\PROGRA~1/QGIS34~1.7/apps/qgis-ltr/./python/plugins\processing\tools\general.py", line 106, in run
    return Processing.runAlgorithm(
          ^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\PROGRA~1/QGIS34~1.7/apps/qgis-ltr/./python/plugins\processing\core\Processing.py", line 214, in runAlgorithm
    ret, results = execute(
                  ^^^^^^^^
  File "C:\PROGRA~1/QGIS34~1.7/apps/qgis-ltr/./python/plugins\processing\gui\AlgorithmExecutor.py", line 74, in execute
    results, ok = alg.run(parameters, context, feedback, {}, False)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_core.QgsProcessingException: Could not write feature


Python version: 3.12.10 (main, Apr  9 2025, 08:14:47) [MSC v.1943 64 bit (AMD64)]
QGIS version: 3.40.7-Bratislava Bratislava, 91d544fdd4


Seonggyu Park

unread,
Dec 16, 2025, 10:28:17 PM (23 hours ago) Dec 16
to SWAT-MODFLOW
Hi,

Are you trying using the option 1 or 2?

Best,
Seonggyu

Reply all
Reply to author
Forward
0 new messages