PedroVenancio / export_to_sql_server

Exports a vector layer in QGIS to a SQL Server database
GNU General Public License v3.0
2 stars 0 forks source link

Hi Pedro, ¿Can you help me please ? #6

Open PrecilianoFausto opened 1 month ago

PrecilianoFausto commented 1 month ago

cmd.exe /C ogr2ogr.exe -progress --config SHAPE_ENCODING "UTF-8" -f MSSQLSpatial "MSSQL:server=; driver={SQL Server Native Client 11.0}; database=geometrias; uid=; pwd=; active_schema=dbo" -lco DIM=2 "D:\Abasto IMO\2022-2023\1.- Abasto 2022-2023\Abasto total 2023\parcelas.shp" parcelas -lco GEOMETRY_NAME=geom -lco FID=id -nln dbo.mo_2023_q -t_srs EPSG:4326 -skipfailures -nlt PROMOTE_TO_MULTI --config MSSQLSPATIAL_USE_BCP NO

Traceback (most recent call last): File "D:\PROGRA~1/QGIS33~1.3/apps/qgis/./python/plugins\processing\algs\gdal\GdalUtils.py", line 131, in on_stdout val = ba.data().decode('UTF-8') ^^^^^^^ File "D:\PROGRA~1/QGIS33~1.3/apps/qgis/./python/plugins\processing\algs\gdal\GdalUtils.py", line 131, in on_stdout val = ba.data().decode('UTF-8') ^^^^^^^ File "D:\PROGRA~1/QGIS33~1.3/apps/qgis/./python/plugins\processing\algs\gdal\GdalUtils.py", line 131, in on_stdout val = ba.data().decode('UTF-8') ^^^^^^^ [Previous line repeated 26 more times] File "D:\PROGRA~1/QGIS33~1.3/apps/qgis/./python/plugins\processing\algs\gdal\GdalUtils.py", line 162, in on_stderr val = ba.data().decode('UTF-8') ^^^^^^^ File "D:\PROGRA~1/QGIS33~1.3/apps/qgis/./python/plugins\processing\algs\gdal\GdalUtils.py", line 162, in on_stderr val = ba.data().decode('UTF-8') ^^^^^^^ File "D:\PROGRA~1/QGIS33~1.3/apps/qgis/./python/plugins\processing\algs\gdal\GdalUtils.py", line 162, in on_stderr val = ba.data().decode('UTF-8') ^^^^^^^ [Previous line repeated 24 more times] File "D:\PROGRA~1/QGIS33~1.3/apps/qgis/./python/plugins\processing\algs\gdal\GdalUtils.py", line 131, in on_stdout val = ba.data().decode('UTF-8') ^^^^^^^ File "D:\PROGRA~1/QGIS33~1.3/apps/qgis/./python/plugins\processing\algs\gdal\GdalUtils.py", line 162, in on_stderr val = ba.data().decode('UTF-8') ^^^^^^^ File "D:\PROGRA~1/QGIS33~1.3/apps/qgis/./python/plugins\processing\algs\gdal\GdalUtils.py", line 162, in on_stderr val = ba.data().decode('UTF-8') ^^^^^^^ File "D:\PROGRA~1/QGIS33~1.3/apps/qgis/./python/plugins\processing\algs\gdal\GdalUtils.py", line 162, in on_stderr val = ba.data().decode('UTF-8') ^^^^^^^ [Previous line repeated 96 more times] UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf3 in position 117: invalid continuation byte

The above exception was the direct cause of the following exception:

SystemError: <class 'PyQt5.QtCore.QByteArray'> returned a result with an exception set

The above exception was the direct cause of the following exception:

SystemError: <class 'PyQt5.QtCore.QByteArray'> returned a result with an exception set

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "D:\PROGRA~1/QGIS33~1.3/apps/qgis/./python/plugins\processing\algs\gdal\GdalAlgorithm.py", line 153, in processAlgorithm GdalUtils.runGdal(commands, feedback) File "D:\PROGRA~1/QGIS33~1.3/apps/qgis/./python/plugins\processing\algs\gdal\GdalUtils.py", line 178, in runGdal res = proc.run(feedback) ^^^^^^^^^^^^^^^^^^ SystemError: <built-in method run of QgsBlockingProcess object at 0x0000017C0D52DA30> returned a result with an exception set

Execution failed after 64.63 seconds (1 minute 5 seconds)