swat check error message 'given key was not present in the dictionary'

765 views
Skip to first unread message

Dheeraj Gupta

unread,
Nov 15, 2018, 4:05:16 AM11/15/18
to swat...@googlegroups.com, qs...@googlegroups.com
Dear Swat Users,
                          While using QSWAT v1.7 (on qgis 2.6.1 32 bit on 64 bit windows 10) and swat editor v2012.10_5.21, I am getting following error message in swat check

********** Starting Analysis *************

Reading output.std...

Finished reading output.std in 00h:00m:00.49s. Reading output.rch...The given key was not present in the dictionary.

 

If you cannot resolve the error, please contact technical support with the message listed below.

----------------------------------------------------------------------

Type: System.Collections.Generic.KeyNotFoundException

Message: The given key was not present in the dictionary.

Source: mscorlib

Location: System.Collections.Generic.Dictionary`2, line 0, column 0

StackTrace:

   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)

   at SWAT.OutputProcessor.Parsers.OutputRchParser.ReadFile()

   at SWAT.Check.Desktop.SWATCheck.backgroundWorker_DoWork(Object sender, DoWorkEventArgs e)

   at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)

   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)


Please tell me what to do?


regards

dheeraj



Natalja C.

unread,
Nov 19, 2018, 4:04:15 AM11/19/18
to SWAT-user
Hello,
There are two swat-checks:
- the latest version runs with swat rev. 670;
- the previous versions runs with earlier builds.

See which swat version do you have (open a output.std file and the version should be among the first lines) and use the appropriate swat-check version.

Best,
Natalja

Albert Johan Mamani Larico

unread,
Feb 10, 2019, 6:32:19 PM2/10/19
to SWAT-user
Dear Dheeraj Gupta

I have the same error, did you get the solution?
I am using SWAT VER 2018/Rev 670  and SWAT checker 1.2.0.10 (November 2018), the latest version

Thanks

Albert

Leelambar Singh

unread,
Feb 10, 2019, 10:41:44 PM2/10/19
to SWAT-user
You can download SWAT checker installer and run separately 
Capture.JPG

Shubham Aggarwal

unread,
Feb 15, 2023, 4:07:53 PM2/15/23
to SWAT-user
Respected Sir/Ma'am,

I am getting the similar error (shown below). The version written in output.std is: SWAT Dec 19   VER 2022/Rev 687. In the 'About' section of SWAT check it is written: This version of SWAT Check has been tested with SWAT 2009 rev. 525 through SWAT 2012 rev. 670. Previous revisions of SWAT may not run properly. Kindly help

Screenshot (1).png
Regards,
Shubham.
The information contained in this electronic communication is intended solely for the individual(s) or entity to which it is addressed. It may contain proprietary, confidential and/or legally privileged information. Any review, retransmission, dissemination, printing, copying or other use of, or taking any action in reliance on the contents of this information by person(s) or entities other than the intended recipient is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us by responding to this email or telephone and immediately and permanently delete all copies of this message and any attachments from your system(s). The contents of this message do not necessarily represent the views or policies of BITS Pilani.
Reply all
Reply to author
Forward
0 new messages