Create Watershed Python Error in QSWAT+

15 views
Skip to first unread message

Scott Nelson

unread,
May 29, 2026, 5:16:49 AM (12 days ago) May 29
to SWAT+

1. Primary Issue Location

  • Component:  QSWAT+
  • Area of impact: Model input

2. Software Versions

  • GIS Interface: * SWAT+ Editor: * SWAT+ Revision:

3. Project Characteristics

  • Watershed Details: 1.5 km^2
  • Modeling Aim: Water balance, ET, crop growth

4. Description of Issue

  • The Problem: I keep getting this python error code in LTR QGIS.
  • 2026-05-26T11:19:28     CRITICAL    Failed to remove old inlet/outlet file C:\Users\scott\OneDrive\Desktop\Consulting\Acumen\Machine\Chris Johnson_RG\swat9\Watershed\Shapes\drawoutlets_snap.dbf: try repeating last click, else remove manually.

  • Trying to add a manual outlet point.
  • If I ignore, the delineate watershed spins forever. 

5. 

Chris George

unread,
May 29, 2026, 6:43:39 AM (12 days ago) May 29
to Scott Nelson, SWAT+
Sometimes some of the files making a shapefile get removed while others
are left. Exit from QGIS and delete all the files
C:\Users\scott\OneDrive\Desktop\Consulting\Acumen\Machine\Chris
Johnson_RG\swat9\Watershed\Shapes\drawoutlets_snap.* and restart
choosing the drawoutlets.shp as the inlets/outlets file.

For added security you could also delete all the files
C:\Users\scott\OneDrive\Desktop\Consulting\Acumen\Machine\Chris
Johnson_RG\swat9\Watershed\Shapes\drawoutlets.* as well if you are happy
to draw the outlet point again.

Chris

On 5/26/2026 7:20 PM, Scott Nelson wrote:
> 1. Primary Issue Location Component:   QSWAT+ Area of impact:  Model
> input 2. Software Versions GIS Interface:  * SWAT+ Editor:  * SWAT+
> Revision: 3. Project Characteristics Watershed Details:  1. 5 km^2
> Modeling Aim:  Water balance, ET, crop growth
> ZjQcmQRYFpfptBannerStart
> This Message Is From an External Sender
> This message came from outside your organization.
> ZjQcmQRYFpfptBannerEnd
>
> *1. Primary Issue Location*
>
> * *Component:*  QSWAT+
> * *Area of impact:* Model input
>
> *2. Software Versions*
>
> * *GIS Interface:* * *SWAT+ Editor:* * *SWAT+ Revision:*
>
> *3. Project Characteristics*
>
> * *Watershed Details:* 1.5 km^2
> * *Modeling Aim:* Water balance, ET, crop growth
>
> *4. Description of Issue*
>
> * *The Problem:* I keep getting this python error code in LTR QGIS.
> *
>
> 2026-05-26T11:19:28     CRITICAL Failed to remove old inlet/outlet
> file C:\Users\scott\OneDrive\Desktop\Consulting\Acumen\Machine\Chris
> Johnson_RG\swat9\Watershed\Shapes\drawoutlets_snap.dbf: try
> repeating last click, else remove manually.
>
> * Trying to add a manual outlet point.
> * If I ignore, the delineate watershed spins forever.
>
> *5. *
>
> --
> You received this message because you are subscribed to the Google
> Groups "SWAT+" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to swatplus+u...@googlegroups.com
> <mailto:swatplus+u...@googlegroups.com>.
> To view this discussion visit https://groups.google.com/d/msgid/
> swatplus/2bd33181-33a3-4c27-9474-0d5b494d4fabn%40googlegroups.com
> <https://urldefense.com/v3/__https://groups.google.com/d/msgid/
> swatplus/2bd33181-33a3-4c27-9474-0d5b494d4fabn*40googlegroups.com?
> utm_medium=email&utm_source=footer__;JQ!!KwNVnqRv!
> G11ng7LOgonWfQBDS6s_xN4TLHwCy_QV79xyUWI66kAkwaBTUvno6Qv7075r7SadC0Q-
> D5313XeMwVs_U7Y$>.

Reply all
Reply to author
Forward
0 new messages