QSWAT + plugin (Linux Manjaro)

154 views
Skip to first unread message

Stefano Casirati

unread,
Dec 29, 2021, 9:37:49 AM12/29/21
to QSWAT+
Good Morning all,
I tried to install QSWAT plus plugin on my Linux Manjaro Machine (Arch Linux Based).
I have the common problem that, in QGIS, the icon doesn't show up.
However, QSWAT+ appears in the plugins list but with the same icon of the not installed plugins.
QGIS is 64 bits (3.22.1), and I have Python 3.9.9 installed.
I tried the same procedure using the ltr 3.16 but, it doesn't work either.
If anyone has some advice on how to make it work on Linux Manjaro, I would appreciate it. Otherwise, I will run it on Windows.
Thank you,
Best,
Stefano

Here is the error message reported in QGIS when I load the plugin.

2021-12-27T12:41:08     INFO    QSWAT+ failed to import HRUs: Traceback (most recent call last):
              File "/usr/share/qgis/python/plugins/QSWATPlusLinux3_64/DBUtils.py", line 40, in
              from .dataInC import BasinData, CellData, LSUData, WaterBody # type: ignore @UnresolvedImport
              File "/usr/lib/python3.9/site-packages/qgis/utils.py", line 888, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
             ModuleNotFoundError: No module named 'QSWATPlusLinux3_64.dataInC'
             
             During handling of the above exception, another exception occurred:
             
             Traceback (most recent call last):
              File "/usr/share/qgis/python/plugins/QSWATPlusLinux3_64/QSWATTopology.py", line 39, in
              from .DBUtils import DBUtils # type: ignore @UnusedImport
              File "/usr/lib/python3.9/site-packages/qgis/utils.py", line 888, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
              File "/usr/share/qgis/python/plugins/QSWATPlusLinux3_64/DBUtils.py", line 44, in
              from QSWATUtils import QSWATUtils, FileTypes # @UnresolvedImport
              File "/usr/lib/python3.9/site-packages/qgis/utils.py", line 888, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
             ModuleNotFoundError: No module named 'QSWATUtils'
             
             During handling of the above exception, another exception occurred:
             
             Traceback (most recent call last):
              File "/usr/share/qgis/python/plugins/QSWATPlusLinux3_64/QSWATPlus.py", line 51, in
              from .hrus import HRUs
              File "/usr/lib/python3.9/site-packages/qgis/utils.py", line 888, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
              File "/usr/share/qgis/python/plugins/QSWATPlusLinux3_64/hrus.py", line 45, in
              from .QSWATTopology import QSWATTopology # type: ignore
              File "/usr/lib/python3.9/site-packages/qgis/utils.py", line 888, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
              File "/usr/share/qgis/python/plugins/QSWATPlusLinux3_64/QSWATTopology.py", line 45, in
              from QSWATUtils import QSWATUtils, FileTypes, ListFuns # @UnresolvedImport @Reimport
              File "/usr/lib/python3.9/site-packages/qgis/utils.py", line 888, in _import
              mod = _builtin_import(name, globals, locals, fromlist, level)
             ModuleNotFoundError: No module named 'QSWATUtils'
             

2021-12-27T12:41:08     INFO    Failed to load Cython module: wrong architecture?: Traceback (most recent call last):
              File "/usr/share/qgis/python/plugins/QSWATPlusLinux3_64/QSWATPlus.py", line 84, in __init__
              from . import dataInC # @UnusedImport
             ImportError: cannot import name 'dataInC' from 'QSWATPlusLinux3_64' (/usr/share/qgis/python/plugins/QSWATPlusLinux3_64/__init__.py)
            


Joel Bonilla

unread,
Jul 7, 2023, 12:48:22 PM7/7/23
to QSWAT+
Hi everyone:

I HAVE THE SAME PROBLEM, IN THE PREVIOUS VERSION OF QGIS The plugin ran for me, but since it was updated to the current version I have not been able to get it to start. I use Big linux, a derivative of Manjaro linux. Does anyone have any idea what can be done?

George, Christopher

unread,
Jul 9, 2023, 1:50:49 PM7/9/23
to Joel Bonilla, QSWAT+
Please send me the complete contents of the QSWAT+ log: open log messages panel with button at bottom right, select QSWAT+ tab, right mouse button to select all and copy to paste into an email.

Chris


From: qswa...@googlegroups.com <qswa...@googlegroups.com> on behalf of Joel Bonilla <bonilla...@gmail.com>
Sent: 29 June 2023 15:39
To: QSWAT+ <qswa...@googlegroups.com>
Subject: [QSWAT+ User Group] Re: QSWAT + plugin (Linux Manjaro)
 
Caution: This email may have originated from outside the organization. Please exercise additional caution with any links and attachments.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/qswatplus/2e239281-860c-43d0-9bc1-33edf20a5a05n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages