Issue with importing to Editor _SWAT+ 3.0.0 released 24 June 2024

175 views
Skip to first unread message

George Paul

unread,
Jun 27, 2024, 3:42:59 PM6/27/24
to SWAT+ Editor
I have the same model working well with SWAT+ Editor 2.1.4.
After installing the new release from 24 June 2024 on a new machine and starting to build the model, I encountered this error in the third step while importing from QSWAT+ to SWAT+ Editor. 
Any help would be greatly appreciated. 

Traceback (most recent call last):
  File "actions\import_gis.py", line 140, in insert_default
  File "actions\import_gis.py", line 935, in insert_hrus
  File "actions\import_gis.py", line 813, in insert_landuse
AttributeError: 'NoneType' object has no attribute 'name'

Screenshot 2024-06-26 144704.png

Thank you,

George Paul


Chris R

unread,
Jun 28, 2024, 2:44:18 AM6/28/24
to SWAT+ Editor
I encounterd the same issue, however the model was imported into the editor anyways and I could set up and successfully run the model. (After closing and opening the editor outside of QSWAT+.)

Jaclyn Tech

unread,
Jul 2, 2024, 11:31:14 AM7/2/24
to SWAT+ Editor
Hi all, I believe this was a bug and I'm hoping to have fixed in v3.0.1 available here: https://github.com/swat-model/swatplus-editor/releases

Please let me know if it still occurs.

George Paul

unread,
Jul 3, 2024, 7:54:59 AM7/3/24
to SWAT+ Editor

Hi Jaclyn,

The bug fix worked perfectly! I appreciate all your efforts in resolving this issue and ensuring everything is running smoothly.

Thanks again, 

George

George Paul

unread,
Jul 3, 2024, 7:55:00 AM7/3/24
to SWAT+ Editor
I was too quick to conclude. Gave the following error. What's surprising is it was working in 61.0.0 version.
Could you please look into it. 
Thanks,
George
Screenshot 2024-07-02 134942.png


On Tuesday, July 2, 2024 at 8:31:14 AM UTC-7 jaclyn...@tamu.edu wrote:

Nancy B. Sammons

unread,
Jul 3, 2024, 7:59:19 AM7/3/24
to George Paul, SWAT+ Editor

George Paul:  I can take a quick look at this for you if you will send me your current txtinout in a compressed format. 

Thanks,

Nancy

 

 

From: swatplu...@googlegroups.com <swatplu...@googlegroups.com> On Behalf Of George Paul
Sent: Tuesday, July 2, 2024 3:51 PM
To: SWAT+ Editor <swatplu...@googlegroups.com>
Subject: [SWAT+ Editor User Group] Re: Issue with importing to Editor _SWAT+ 3.0.0 released 24 June 2024

 

You don't often get email from sino...@gmail.com. Learn why this is important

I was too quick to conclude. Gave the following error. What's surprising is it was working in 61.0.0 version.

Could you please look into it. 

Thanks,

George

 

On Tuesday, July 2, 2024 at 8:31:14AM UTC-7 jaclyn...@tamu.edu wrote:

Hi all, I believe this was a bug and I'm hoping to have fixed in v3.0.1 available here: https://github.com/swat-model/swatplus-editor/releases

 

Please let me know if it still occurs.

On Friday, June 28, 2024 at 1:44:18AM UTC-5 chris.j...@gmail.com wrote:

I encounterd the same issue, however the model was imported into the editor anyways and I could set up and successfully run the model. (After closing and opening the editor outside of QSWAT+.)

sino...@gmail.com schrieb am Donnerstag, 27. Juni 2024 um 21:42:59 UTC+2:

I have the same model working well with SWAT+ Editor 2.1.4.

After installing the new release from 24 June 2024 on a new machine and starting to build the model, I encountered this error in the third step while importing from QSWAT+ to SWAT+ Editor. 

Any help would be greatly appreciated. 

 

Traceback (most recent call last):
  File "actions\import_gis.py", line 140, in insert_default
  File "actions\import_gis.py", line 935, in insert_hrus
  File "actions\import_gis.py", line 813, in insert_landuse
AttributeError: 'NoneType' object has no attribute 'name'

 

Thank you,

George Paul



--
You received this message because you are subscribed to the Google Groups "SWAT+ Editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swatplus-edit...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/swatplus-editor/de61b3f1-a6b8-449a-b6c6-1045d34e3455n%40googlegroups.com.

Jaclyn Tech

unread,
Jul 3, 2024, 2:05:34 PM7/3/24
to SWAT+ Editor
For all following this latest issue. There is a problem in codes.bsn, setting i_fpwet to 2, which was the default. Change this to 1 to correct this error.

We also have a patched editor version 3.0.2 that updates the default to 1: https://github.com/swat-model/swatplus-editor/releases

Abhijit Behera

unread,
Jul 3, 2024, 3:16:32 PM7/3/24
to SWAT+ Editor
Not able to run after replace 2 to 1

Abhijit Behera

unread,
Jul 3, 2024, 5:12:02 PM7/3/24
to SWAT+ Editor
Screenshot (109).png

Nancy B. Sammons

unread,
Jul 5, 2024, 7:06:01 AM7/5/24
to Abhijit Behera, SWAT+ Editor

Abhijit Behera: 

I hadn’t seen this email when sending out the previous one to you and the group.  I can take a look at this for you if you sent me your current txtinout (compressed format). 

Thank you,

Nancy

 

 

From: swatplu...@googlegroups.com <swatplu...@googlegroups.com> On Behalf Of Abhijit Behera


Sent: Wednesday, July 3, 2024 2:21 PM
To: SWAT+ Editor <swatplu...@googlegroups.com>

Subject: Re: [SWAT+ Editor User Group] Re: Issue with importing to Editor _SWAT+ 3.0.0 released 24 June 2024

 

You don't often get email from abhijit...@gmail.com. Learn why this is important

--

You received this message because you are subscribed to the Google Groups "SWAT+ Editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email to swatplus-edit...@googlegroups.com.

Message has been deleted

liu jing

unread,
Jul 5, 2024, 9:28:49 AM7/5/24
to SWAT+ Editor

Yes, I have also encountered this issue. When I do not select SWAT+Ite, it shows "error (72) floating overflow." When I select SWAT+Ite, it shows "Subscript #1 of the array LSUS_CONNECTED has value 0 which is less than the lower bound of 1."

My SWAT+ editor version is 3.0.2.

1.png2.png
Reply all
Reply to author
Forward
0 new messages