- Warning
- SENZING_DATA_SOURCE not set.
- Background
stream-loader.py
usesSENZING_DATA_SOURCE
value to add aDATA_SOURCE
JSON key/value to JSON lines without theDATA_SOURCE
key.
- Documentation
- Error
- Cannot find G2Project.ini.
- Problem
stream-loader.py
needs the contents ofG2Project.ini
, but the file cannot be found.
- Solution
- Place the
G2Project.ini
file in a location that can be found by stream-loader.py'sget_g2project_ini_filename(...)
function. Example: /opt/senzing/g2/python/G2Project.ini
- Place the
- Error
- G2Engine licensing error. Error: {0}
- Problem
- The Senzing license is not valid for the workload. It may be expired. The license file is
${SENZING_DIR}/g2/data/g2.lic
. Ifg2.lic
is not at that location, the free, limited license is being used.
- The Senzing license is not valid for the workload. It may be expired. The license file is
- Solution
- If using a free, limited license, download and extract a new copy of Senzing_API.tgz.
- If using a production license, contact Senzing to obtain a new license to be placed at
${SENZING_DIR}/g2/data/g2.lic
.
- Error
- LD_LIBRARY_PATH environment variable not set.
- Problem
stream-loader.py
needsLD_LIBRARY_PATH
environment variable to find shared libraries.
- Solution
- Debian: See Set Environment variables
- RPM: See Set Environment variables
- Error
- PYTHONPATH environment variable not set.
- Problem
stream-loader.py
needsPYTHONPATH
environment variable to find shared python libraries.
- Solution
- Debian: See Set Environment variables
- RPM: See Set Environment variables
- Error
- When using a PostgreSQL database,
senzing_governor.py
is not found anywhere inPYTHONPATH
.
- When using a PostgreSQL database,
- Problem
- The
senzing_governor.py
script was not downloaded from Senzing/governor-postgresql-transaction-id and placed somewhere in thePYTHONPATH
. - This is done automatically by init-container.py.
- In an air-gapped environment, the downloading of
senzing_governor.py
is blocked.
- The
- Solution
-
Download
senzing_governor.py
locally. Example:curl -X GET \ --output /path/on/local/system/senzing_governor.py \ https://raw.githubusercontent.com/Senzing/governor-postgresql-transaction-id/main/senzing_governor.py
-
Copy the downloaded
senzing_governor.py
file to a directory listed in thePYTHONPATH
environment variable on the machine running Senzing.
-