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
This means we cannot take a snapshot against a postgres database. Actually G2Snapshot recognizes it can't get to the database and does an api export instead.
To replicate the problem just go into python3 in the container and try to "import psycopg2". It will error and say it cannot be found. Yet the Dockerfile does install it.
After clever debugging from Ant, adding this to the PYTHONPATH fixes it:
He suggested that changing the setting of PYTHONPATH in the Dockerfile is overwriting instead of updating. Maybe export PYTHONPATH=$PYTHONPATH:/opt/senzing ... etc will fix it.
The text was updated successfully, but these errors were encountered:
This means we cannot take a snapshot against a postgres database. Actually G2Snapshot recognizes it can't get to the database and does an api export instead.
To replicate the problem just go into python3 in the container and try to "import psycopg2". It will error and say it cannot be found. Yet the Dockerfile does install it.
After clever debugging from Ant, adding this to the PYTHONPATH fixes it:
export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python3.9/dist-packages:/usr/lib/python3/dist-packages:/usr/lib/python3/dist-packages/IPython/extensions
He suggested that changing the setting of PYTHONPATH in the Dockerfile is overwriting instead of updating. Maybe export PYTHONPATH=$PYTHONPATH:/opt/senzing ... etc will fix it.
The text was updated successfully, but these errors were encountered: