TypeError: an integer is required

38 views
Skip to first unread message

Letícia Freire

unread,
Jan 11, 2023, 11:55:38 AM1/11/23
to SWAT+ Editor

Could someone help me with this error in inserting ponds? 

TypeError: an integer is required

Traceback (most recent call last):

  File "C:\PROGRA~1/QGIS32~1.5/apps/qgis-ltr/./python/plugins\QSWATPlus3_9\QSWATPlus\delineation.py", line 332, in finishDelineation
    self.addLakes()
  File "C:\PROGRA~1/QGIS32~1.5/apps/qgis-ltr/./python/plugins\QSWATPlus3_9\QSWATPlus\delineation.py", line 502, in addLakes
    self._gv.topo.addLakes(lakesLayer, subbasinsLayer, chBasinsLayer, streamsLayer, channelsLayer,
  File "C:\PROGRA~1/QGIS32~1.5/apps/qgis-ltr/./python/plugins\QSWATPlus3_9\QSWATPlus\QSWATTopology.py", line 828, in addLakes
    lakeData = LakeData(lakeArea, lakeOverrideArea, lakeCentroid, waterRole)
  File "dataInC.pyx", line 1263, in QSWATPlus.dataInC.LakeData.__init__
TypeError: an integer is required
Reply all
Reply to author
Forward
0 new messages