About the Creat Modflow River

21 views
Skip to first unread message

riad arefin

unread,
Dec 4, 2025, 2:55:40 AM (14 days ago) Dec 4
to SWAT-MODFLOW
Dear Friends and Team,

I am struggling to find a way to get solution about the "Modflow river creation".

Same error occurring. 

 QGIS version: 3.44.3-Solothurn; QSWAT version: 2.0.2; Qswatmodflow2 2.10.0 version using.


There is no null field all files attribute table shows extracted values. DEM grid size 70 by 70, modflow grid size taken 1000 by 1000. But during creating the Modflow river it is giving error:


I am attaching the problem here:


An error has occurred while executing Python code:

_core.QgsProcessingException: Could not write feature Traceback (most recent call last):
  File "C:\Users/riadg/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWATMOD2\dialogs\createMFmodel_dialog.py", line 724, in create_mf_riv
    self.river_grid()
  File "C:\Users/riadg/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWATMOD2\dialogs\createMFmodel_dialog.py", line 800, in river_grid
    processing.run('qgis:intersection', params)
  File "C:\PROGRA~1/QGIS34~1.3/apps/qgis/./python/plugins\processing\tools\general.py", line 106, in run
    return Processing.runAlgorithm(
          ^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\PROGRA~1/QGIS34~1.3/apps/qgis/./python/plugins\processing\core\Processing.py", line 228, in runAlgorithm
    ret, results = execute(
                  ^^^^^^^^
  File "C:\PROGRA~1/QGIS34~1.3/apps/qgis/./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.11 (main, Jun 17 2025, 13:41:12) [MSC v.1943 64 bit (AMD64)]
QGIS version: 3.44.3-Solothurn Solothurn, 1d1d67e9edd

Python Path:

  • C:/PROGRA~1/QGIS34~1.3/apps/qgis/./python
  • C:/Users/riadg/AppData/Roaming/QGIS/QGIS3\profiles\default/python
  • C:/Users/riadg/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
  • C:/PROGRA~1/QGIS34~1.3/apps/qgis/./python/plugins
  • C:\PROGRA~1\QGIS34~1.3\apps\grass\grass84\etc\python
  • C:\Users\riadg\Documents
  • C:\Program Files\QGIS 3.44.3\bin\python312.zip
  • C:\PROGRA~1\QGIS34~1.3\apps\Python312\DLLs
  • C:\PROGRA~1\QGIS34~1.3\apps\Python312\Lib
  • C:\Program Files\QGIS 3.44.3\bin
  • C:\PROGRA~1\QGIS34~1.3\apps\Python312
  • C:\PROGRA~1\QGIS34~1.3\apps\Python312\Lib\site-packages
  • C:\PROGRA~1\QGIS34~1.3\apps\Python312\Lib\site-packages\win32
  • C:\PROGRA~1\QGIS34~1.3\apps\Python312\Lib\site-packages\win32\lib
  • C:\PROGRA~1\QGIS34~1.3\apps\Python312\Lib\site-packages\Pythonwin
  • C:/Users/riadg/AppData/Roaming/QGIS/QGIS3\profiles\default/python
  • C:\Users/riadg/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWAT\QSWAT
  • C:\PROGRA~1\QGIS34~1.3\apps\Python312\Lib\site-packages\setuptools\_vendor

How I can get solution from this problem



Thanks

Riad




Screenshot 2025-12-04 012328.png
Reply all
Reply to author
Forward
0 new messages