SwissTierrasColombia / Asistente-LADM-COL

Complemento para QGIS v3 que permite capturar, consultar, mantener, validar y exportar datos conformes con el modelo LADM-COL.
https://swisstierrascolombia.github.io/Asistente-LADM-COL
GNU General Public License v3.0
26 stars 25 forks source link

problema para crear una nueva estructura en el modelo ladm - col con el phyton #425

Closed carloshormisda1985 closed 3 years ago

carloshormisda1985 commented 3 years ago

problema phyton Traceback (most recent call last): File "C:\PROGRA~1\QGIS3~1.14\apps\Python37\lib\code.py", line 63, in runsource code = self.compile(source, filename, symbol) File "C:\PROGRA~1\QGIS3~1.14\apps\Python37\lib\codeop.py", line 168, in call return _maybe_compile(self.compiler, source, filename, symbol) File "C:\PROGRA~1\QGIS3~1.14\apps\Python37\lib\codeop.py", line 99, in _maybe_compile raise err1 File "C:\PROGRA~1\QGIS3~1.14\apps\Python37\lib\codeop.py", line 87, in _maybe_compile code1 = compiler(source + "\n", filename, symbol) File "C:\PROGRA~1\QGIS3~1.14\apps\Python37\lib\codeop.py", line 133, in call codeob = compile(source, filename, symbol, self.flags, 1) File "", line 1 C:/Users/FAMILIA GARNICA/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\asistente_ladm_col\resources\models ^ SyntaxError: invalid syntax

se me presenta este error que debo hacer

gacarrillor commented 3 years ago

se me presenta este error que debo hacer

Lo primero es contarnos en detalle cómo llegas a ese error y cuál versión del Asistente LADM-COL estás usando.

carloshormisda1985 commented 3 years ago

la versión que manejo es version 3.1.4  estaba creando una nueva estructura y me reporto el error de la imagen anterior

gacarrillor commented 3 years ago

Al parecer no tienes instalado/configurado Java 1.8 en tu máquina, el Asistente LADM-COL lo está intentando instalar en C:\\Users\\FAMILIA GARNICA\\Asistente-LADM-COL, pero no tiene permisos de escritura allí.

O bien instalas Java 1.8 y lo agregas al JAVA_PATH, o, más sencillo aún, das permisos de escritura al usuario con el que usas el Asistente LADM-COL para que el plugin instale Java allí.

gacarrillor commented 3 years ago

En la siguiente versión oficial, el error de Python no aparecerá.

Por ahora puedes probar con esta versión de desarrollo para evitar el error de Python: asistente_ladm_col_dev_stc_03161.zip

La puedes instalar como ZIP desde el administrador de complementos de QGIS.

carloshormisda1985 commented 3 years ago

Hola buen día probé no me resulto las indicaciones

gacarrillor commented 3 years ago

Debes dar más información para poder ayudarte. Copia como texto el mensaje de error, no como imagen. Dinos cómo procedes y cuál configuración de Java usarás, etc...

carloshormisda1985 commented 3 years ago

TypeError: normalize_local_url() takes 1 positional argument but 2 were given Traceback (most recent call last): File "C:/Users/FAMILIA GARNICA/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\asistente_ladm_col\lib\dependency\java_dependency.py", line 73, in _save_dependency_file tar.extractall(DEPENDENCIES_BASE_PATH) File "C:\PROGRA~1\QGIS3~1.14\apps\Python37\lib\tarfile.py", line 2000, in extractall numeric_owner=numeric_owner) File "C:\PROGRA~1\QGIS3~1.14\apps\Python37\lib\tarfile.py", line 2042, in extract numeric_owner=numeric_owner) File "C:\PROGRA~1\QGIS3~1.14\apps\Python37\lib\tarfile.py", line 2112, in _extract_member self.makefile(tarinfo, targetpath) File "C:\PROGRA~1\QGIS3~1.14\apps\Python37\lib\tarfile.py", line 2153, in makefile with bltn_open(targetpath, "wb") as target: PermissionError: [Errno 13] Permission denied: 'C:\Users\FAMILIA GARNICA\Asistente-LADM-COL\jre1.8.0_231\COPYRIGHT'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:/Users/FAMILIA GARNICA/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\asistente_ladm_col\lib\dependency\java_dependency.py", line 80, in _save_dependency_file "Java couldn't be installed. Check if it is possible to write into this folder: {path}").format(path=normalize_local_url(os.path.join(DEPENDENCIES_BASE_PATH), DICT_JAVA_DIR_NAME[KEY_JAVA_OS_VERSION]))) TypeError: normalize_local_url() takes 1 positional argument but 2 were given

Versión de Python: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] Versión de QGIS: 3.14.16-Pi Pi, df27394552

Ruta de Python: C:/PROGRA~1/QGIS3~1.14/apps/qgis/./python C:/Users/FAMILIA GARNICA/AppData/Roaming/QGIS/QGIS3\profiles\default/python C:/Users/FAMILIA GARNICA/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins C:/PROGRA~1/QGIS3~1.14/apps/qgis/./python/plugins C:\PROGRA~1\QGIS3~1.14\apps\Python37 C:\PROGRA~1\QGIS3~1.14\apps\Python37\Scripts C:\Program Files\QGIS 3.14\bin\python37.zip C:\PROGRA~1\QGIS3~1.14\apps\Python37\DLLs C:\PROGRA~1\QGIS3~1.14\apps\Python37\lib C:\Program Files\QGIS 3.14\bin C:\PROGRA~1\QGIS3~1.14\apps\Python37\lib\site-packages C:\PROGRA~1\QGIS3~1.14\apps\Python37\lib\site-packages\win32 C:\PROGRA~1\QGIS3~1.14\apps\Python37\lib\site-packages\win32\lib C:\PROGRA~1\QGIS3~1.14\apps\Python37\lib\site-packages\Pythonwin C:/Users/FAMILIA GARNICA/AppData/Roaming/QGIS/QGIS3\profiles\default/python

buen día este el error que me genera cuando estoy creando una nueva estructura en el la LADM-COL

image configuración del java

gacarrillor commented 3 years ago

Descarga este Java y ubícalo en

C:\Users\FAMILIA GARNICA\Asistente-LADM-COL\

de tal manera que la carpeta

C:\Users\FAMILIA GARNICA\Asistente-LADM-COL\jre1.8.0_231\

exista (allí es donde el Asistente LADM-COL buscará Java).

carloshormisda1985 commented 3 years ago

ok gracias

gacarrillor commented 3 years ago

Reinicias QGIS y si todo va bien, el plugin debería poder encontrar Java y continuar sin problema.

carloshormisda1985 commented 3 years ago

gracias Solucionado muy amable

carloshormisda1985 commented 3 years ago

buenas noches señor German tengo un problema cuando quiero realizar una construcción cuando le pongo la distancia 3.8 la línea que genera es mayor me la lleva a una distancia muy elevada [image: image.png]

El mié, 17 mar 2021 a las 9:36, Germap @.***>) escribió:

Reinicias QGIS y si todo va bien, el plugin debería podr encontrar Java y continuar sin problema.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/SwissTierrasColombia/Asistente-LADM-COL/issues/425#issuecomment-801135958, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATIHUCF43N3GEFFTEEF6LRDTEC47ZANCNFSM4ZI2S3ZA .

gacarrillor commented 3 years ago

Hola Carlos, no llegó tu imagen. Cómo estás creando la línea. Descríbenos en detalle o envíanos un GIF o video. Saludos.

carloshormisda1985 commented 3 years ago

Ok

El 13/04/2021 10:38 p. m., "Germap" @.***> escribió:

Hola Carlos, no llegó tu imagen. Cómo estás creando la línea. Descríbenos en detalle o envíanos un GIF o video. Saludos.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/SwissTierrasColombia/Asistente-LADM-COL/issues/425#issuecomment-819205010, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATIHUCH3BFLQNWOY7RPZR2TTIUE2VANCNFSM4ZI2S3ZA .

Yolimar9654 commented 2 years ago

BUENOS DIAS TENGO UN PROBLEMA A LA HORA DE CREAR UNA ESTRUCTURA DEL MODELO LADM, YA QUE ME GENERA EL SIGUIENTE ERROR failed to create extension postgis ERROR: no se pudo cargar la biblioteca «C:/Program Files/PostgreSQL/10/lib/rtpostgis-2.4.dll»: The specified module could not be found. ¡Terminado con errores!

Yolimar9654 commented 2 years ago

Me pueden ayudar por favor a darle solución a este error failed to create extension postgis ERROR: no se pudo cargar la biblioteca «C:/Program Files/PostgreSQL/10/lib/rtpostgis-2.4.dll»: The specified module could not be found. ¡Terminado con errores!

seralra96 commented 2 years ago

Hola @Yolimar9654 ¿puedes confirmarnos si tienes la extensión PostGIS para PostgreSQL 10 instalada en tu equipo? es posible que el error suceda por no tenerla instalada, saludos.

Yolimar9654 commented 2 years ago

Realice la instalación de postgresSQL no de POSTGIS ,me pueden indicar como instalarla

Yolimar9654 commented 2 years ago

Al verificar si estaba la instalación de POSTGIS sin embargo voy a desinstalar todos y volver con la instalación de postgres

Yolimar9654 commented 2 years ago

Buenos dìas gracias por su amable respuesta, Ahora mi pregunta es la siguiente ASOMUNICIPIOS como gestor catastral del IGAC le entregó la base gráfica en formato Geodatabase o SHP y los registros R1 y R2 en excel. Nosotros actualmente nos encontramos en construcción de una plataforma tecnológica por tal motivo, queremos utilizar el asistente LADM-COL en QGIS para manejar el modelo. En este sentido ahora nos piden los reporte en formato XTF, pero no sabemos como pasar esa base geografía y esa informaciòn alfanumérica al modelo LADM-COL, existe algun tutorial que nos explique como realizar el procedimiento.

El vie, 18 mar 2022 a las 10:49, Sergio Ramírez @.***>) escribió:

Hola @Yolimar9654 https://github.com/Yolimar9654 ¿puedes confirmarnos si tienes la extensión PostGIS para PostgreSQL 10 instalada en tu equipo? es posible que el error suceda por no tenerla instalada, saludos.

— Reply to this email directly, view it on GitHub https://github.com/SwissTierrasColombia/Asistente-LADM-COL/issues/425#issuecomment-1072540071, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYIE45V2GHKBYK6ITGI7CKDVASQ2LANCNFSM4ZI2S3ZA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>