You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Debug mode: on
Traceback (most recent call last):
File "/usr/local/bin/flask", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.9/site-packages/flask/cli.py", line 990, in main
cli.main(args=sys.argv[1:])
File "/usr/local/lib/python3.9/site-packages/flask/cli.py", line 596, in main
return super().main(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/click/decorators.py", line 92, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/flask/cli.py", line 845, in run_command
app = DispatchingApp(info.load_app, use_eager_loading=eager_loading)
File "/usr/local/lib/python3.9/site-packages/flask/cli.py", line 321, in init
self._load_unlocked()
File "/usr/local/lib/python3.9/site-packages/flask/cli.py", line 346, in _load_unlocked
self._app = rv = self.loader()
File "/usr/local/lib/python3.9/site-packages/flask/cli.py", line 402, in load_app
app = locate_app(self, import_name, name)
File "/usr/local/lib/python3.9/site-packages/flask/cli.py", line 256, in locate_app import(module_name)
File "/opt/app-root/src/georef-ar-api/service/init.py", line 17, in
import service.routes
File "/opt/app-root/src/georef-ar-api/service/routes.py", line 77, in
add_complete_downloads(bp_v1_0, current_app.config['COMPLETE_DOWNLOAD_URLS'])
File "/opt/app-root/src/georef-ar-api/service/routes.py", line 51, in add_complete_downloads
entity_urls = urls[entity]
KeyError: 'cuadras'
`
The text was updated successfully, but these errors were encountered:
Hola @AcquaNet , gracias por escribir.
Primero quisiera indicar que el proyecto se divide en dos subproyectos: Georef-ETL y Georef-API. La documentación del link que compartiste refiere al primero, mientras que el error refiere al segundo. La documentación del segundo proyecto podés encontrarla en este link: https://datosgobar.github.io/georef-ar-api/georef-api-development/#d11-instalacion
Por otro lado, el proyecto de Georef-API hace uso de los archivos .ndjson generados con Georef-ETL. Si estás corriendo localmente o en un servidor de tu propiedad el proyecto Georef-ETL podés indicar en el archivo de configuración ./config/georef.cfg la URL a estos archivos. De otra forma podés dejar las URL's que hay en los nuevos archivos de ejemplo georef.example.cfg, que ahora apuntan a las .ndjson generados por el ETL productivo oficial.
Ahora deberías poder actualizar tu rama master y reconstruir la imagen de tus contenedores para correr la app sin problemas.
Siguiendo estas instrucciones:
https://datosgobar.github.io/georef-ar-api/etl-install/
Cuando ejecuto
docker-compose up -d
Veo el siguiente error:
`root@ubuntu-s-2vcpu-4gb-intel-fra1-01:/home/georef/georef-ar-api/docker# docker logs 7ec4360d5154
Traceback (most recent call last):
File "/usr/local/bin/flask", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.9/site-packages/flask/cli.py", line 990, in main
cli.main(args=sys.argv[1:])
File "/usr/local/lib/python3.9/site-packages/flask/cli.py", line 596, in main
return super().main(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/click/decorators.py", line 92, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/flask/cli.py", line 845, in run_command
app = DispatchingApp(info.load_app, use_eager_loading=eager_loading)
File "/usr/local/lib/python3.9/site-packages/flask/cli.py", line 321, in init
self._load_unlocked()
File "/usr/local/lib/python3.9/site-packages/flask/cli.py", line 346, in _load_unlocked
self._app = rv = self.loader()
File "/usr/local/lib/python3.9/site-packages/flask/cli.py", line 402, in load_app
app = locate_app(self, import_name, name)
File "/usr/local/lib/python3.9/site-packages/flask/cli.py", line 256, in locate_app
import(module_name)
File "/opt/app-root/src/georef-ar-api/service/init.py", line 17, in
import service.routes
File "/opt/app-root/src/georef-ar-api/service/routes.py", line 77, in
add_complete_downloads(bp_v1_0, current_app.config['COMPLETE_DOWNLOAD_URLS'])
File "/opt/app-root/src/georef-ar-api/service/routes.py", line 51, in add_complete_downloads
entity_urls = urls[entity]
KeyError: 'cuadras'
`
The text was updated successfully, but these errors were encountered: