Open epifanio opened 2 years ago
@tomkralidis trying to get the plug-in running
I tried to modify the entry point so that the db postgres is not called - but that is not enough.
This log:
https://gist.github.com/epifanio/84aef6743d9f2d39e971d229653c71ad#file-gistfile1-txt-L31-L33
I am looking into pycsw/pycsw/wsgi_flask.py
and pycsw/pycsw/ogc/api/records.py
to understand how to pass the SOLR backend from the plug-in.
It seems the plug-in is ignored by pycsw and the code still looks for the database backend. @tomkralidis, any clue on how to debug the issue?
The docker set-up uses the entrypoint.py to start pycsw which has pointers to a repository table:
https://github.com/geopython/pycsw/blob/master/docker/entrypoint.py#L88 which returns:
Trying to add a table entry in the pycsw.cfg for debugging, I then got:
I guess to fix this we have to modify the
entrypoint.py
, should suffice to just avoid to execute thedb_handler()
if therepository.database
is set to None in the config?