Error with GlobalVars

192 views
Skip to first unread message

Arantxa Ortiz

unread,
Sep 5, 2023, 10:47:18 AM9/5/23
to QSWAT+
Hello,

I am trying for the first time to start Qswat with the example data provided when downloading, but when I choose the folder containing the data, I can´t continue since there is an error with GlobalVars in phyton. How can I fix this?

Chris George

unread,
Sep 6, 2023, 6:17:52 AM9/6/23
to Arantxa Ortiz, QSWAT+
Check your QSWAT+ log (button at bottom right of QGIS window, QSWAT+
tab). If you see somewhere a reference to matplotlib_scalebar then
replace gwflow.py with the attached. You will find gwflow.py in

C:\Users\<username>\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\QSWATPlus3_9\QSWATPlus


if you installed just for yourself, else in

C:\Program Files\<QGIS>\apps\qgis-ltr\python\plugins\QSWATPlus3_9\QSWATPlus

If this is not the problem send me the complete QSWAT+ log contents.

Chris
> --
> You received this message because you are subscribed to the Google
> Groups "QSWAT+" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to qswatplus+...@googlegroups.com
> <mailto:qswatplus+...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/qswatplus/c2d565d3-c7cf-4492-8108-bf6ec5c25181n%40googlegroups.com <https://groups.google.com/d/msgid/qswatplus/c2d565d3-c7cf-4492-8108-bf6ec5c25181n%40googlegroups.com?utm_medium=email&utm_source=footer>.
gwflow.py

Sven Northwest

unread,
Sep 7, 2023, 7:33:52 AM9/7/23
to QSWAT+
I also experienced this problem and was able to solve it by manually replacing the gwflow.py

IMUWAHEN AIGBEDION

unread,
Mar 13, 2026, 9:57:05 AM (8 days ago) Mar 13
to QSWAT+

I have this error that states  'Parameters' is not defined above when I try to open  the SWAT+3.12 user interface, on the qswat parameter tab

Pls what  have I possibly done wrong?Kindly help with a solution.

Thank you

Priscilla

IMUWAHEN AIGBEDION

unread,
Mar 15, 2026, 11:10:14 PM (5 days ago) Mar 15
to QSWAT+
image.png

To unsubscribe from this group and stop receiving emails from it, send an email to qswatplus+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/qswatplus/c470ae93-1653-4ad6-8ddc-1131d9bfd391n%40googlegroups.com.
python error.txt

IMUWAHEN AIGBEDION

unread,
Mar 15, 2026, 11:10:19 PM (5 days ago) Mar 15
to QSWAT+
pls kindly see the files attached, 
do not know why the error still persists.
kindly assist.
Imuwahen

Chris George

unread,
Mar 16, 2026, 9:24:44 AM (5 days ago) Mar 16
to IMUWAHEN AIGBEDION, QSWAT+
This error is caused by some module not loading (probably not the
Parameters module). You need to look at the complete messages in the
QSWAT+ tab for the reason. Send me the complete QSWAT+ messages if you
can't solve it yourself.

Chris


On 3/13/2026 4:33 PM, IMUWAHEN AIGBEDION wrote:
> pls kindly see the files attached,  do not know why the error still
> persists. kindly assist. Imuwahen On Fri, 13 Mar 2026 at 09: 08,
> IMUWAHEN AIGBEDION <uwa. priscilla@ gmail. com> wrote: On Fri, 13 Mar
> 2026 at 06: 57, IMUWAHEN AIGBEDION <uwa. priscilla@ gmail. com>
> ZjQcmQRYFpfptBannerStart
> This Message Is From an External Sender
> This message came from outside your organization.
> ZjQcmQRYFpfptBannerEnd
> urldefense.com/v3/__https://groups.google.com/d/msgid/
> qswatplus/c2d565d3-c7cf-4492-8108-
> bf6ec5c25181n*40googlegroups.com__;JQ!!KwNVnqRv!
> HOeYowCNIA88ZyWyjBi8AbnfoUsdAtK_vOGY7Wj9TMJRAHDoHpsHMIV-
> _GXWBD63lBWJ3HnqxaTYOa5LlcVt1FU$> <https://
> groups.google.com/d/msgid/qswatplus/c2d565d3-c7cf-4492-8108-
> bf6ec5c25181n%40googlegroups.com?
> utm_medium=email&utm_source=footer <https://urldefense.com/
> v3/__https://groups.google.com/d/msgid/qswatplus/c2d565d3-
> c7cf-4492-8108-bf6ec5c25181n*40googlegroups.com?
> utm_medium=email&utm_source=footer__;JQ!!KwNVnqRv!
> HOeYowCNIA88ZyWyjBi8AbnfoUsdAtK_vOGY7Wj9TMJRAHDoHpsHMIV-
> _GXWBD63lBWJ3HnqxaTYOa5LEA9Pmmg$>>.
>
> --
> You received this message because you are subscribed to the
> Google Groups "QSWAT+" group.
> To unsubscribe from this group and stop receiving emails from
> To view this discussion visit https://groups.google.com/d/msgid/
> qswatplus/
> c470ae93-1653-4ad6-8ddc-1131d9bfd391n%40googlegroups.com
> <https://urldefense.com/v3/__https://groups.google.com/d/msgid/
> qswatplus/
> c470ae93-1653-4ad6-8ddc-1131d9bfd391n*40googlegroups.com?
> utm_medium=email&utm_source=footer__;JQ!!KwNVnqRv!
> HOeYowCNIA88ZyWyjBi8AbnfoUsdAtK_vOGY7Wj9TMJRAHDoHpsHMIV-
> _GXWBD63lBWJ3HnqxaTYOa5LFTHTxvg$>.
>
> --
> You received this message because you are subscribed to the Google
> Groups "QSWAT+" group.
> To unsubscribe from this group and stop receiving emails from it, send
> To view this discussion visit https://groups.google.com/d/msgid/
> qswatplus/
> CACNmuML8_zV3Eu6JhLBVQZxBinZ16xt%3Dq%3DvXemRiMH_KnUAZfw%40mail.gmail.com
> <https://urldefense.com/v3/__https://groups.google.com/d/msgid/
> qswatplus/
> CACNmuML8_zV3Eu6JhLBVQZxBinZ16xt*3Dq*3DvXemRiMH_KnUAZfw*40mail.gmail.com?utm_medium=email&utm_source=footer__;JSUl!!KwNVnqRv!HOeYowCNIA88ZyWyjBi8AbnfoUsdAtK_vOGY7Wj9TMJRAHDoHpsHMIV-_GXWBD63lBWJ3HnqxaTYOa5LvQO5X98$>.

Reply all
Reply to author
Forward
0 new messages