CRITICAL: Could not write to the Robit_usersoil

15 views
Skip to first unread message

hidrologia corpochivor

unread,
Jul 29, 2025, 12:41:12 AM7/29/25
to QSWAT+
Hello, how are you? SWAT+ is giving me the following error. Could you please help? CRITICAL: Could not write to the Robit_usersoil table in the D:/SWAT/SWAT\SWAT.sqlite database from the D:/SWAT/SWAT_IMPUT_MAPS/XLS/SUELOS/Robit_usersoil.csv file: Traceback (last recent call): File "C:\Users/lauri/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QSWATPlus\QSWATPlus\DBUtils.py", line 2706, in importCsv cursor.execute(sql, tuple(line)) sqlite3.ProgrammingError: Incorrect number of links provided. The current statement uses 2 and 152 were provided.

Chris George

unread,
Jul 29, 2025, 5:39:51 AM7/29/25
to hidrologia corpochivor, QSWAT+
You are trying to use the usersoil csv file Robit_usersoil.csv for the
lookup table. The lookup table is Robit_soils.csv.

Chris

On 7/28/2025 2:36 AM, hidrologia corpochivor wrote:
> Hello, how are you? SWAT+ is giving me the following error. Could you
> please help? CRITICAL: Could not write to the Robit_usersoil table in
> the D: /SWAT/SWAT\SWAT. sqlite database from the D: /SWAT/
> SWAT_IMPUT_MAPS/XLS/SUELOS/Robit_usersoil. csv
> ZjQcmQRYFpfptBannerStart
> This Message Is From an External Sender
> This message came from outside your organization.
> ZjQcmQRYFpfptBannerEnd
> --
> 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 visit https://groups.google.com/d/msgid/
> qswatplus/f24e60cd-70f3-4046-87bc-6dfc3edf7d4cn%40googlegroups.com
> <https://urldefense.com/v3/__https://groups.google.com/d/msgid/
> qswatplus/f24e60cd-70f3-4046-87bc-6dfc3edf7d4cn*40googlegroups.com?
> utm_medium=email&utm_source=footer__;JQ!!KwNVnqRv!F8SqxUc8JmOu2NPSjw-
> eo71dq_A-v0x15bVmPZSj0ePtuvZJR8EbFdP6b6MCZ2NCPLn3K8AfDfwxaccnbIutAqZu$>.

Reply all
Reply to author
Forward
0 new messages