aleksei_razvodov
01/29/2023, 10:47 AMaleksei_razvodov
01/29/2023, 10:49 AMversion: 1
default_environment: dev
project_id: 183d71ea-2fe8-44fe-93bc-1bc9d285e5d6
environments:
- name: dev
- name: staging
- name: prod
plugins:
extractors:
- name: tap-stackexchange
variant: meltanolabs
pip_url: git+<https://github.com/MeltanoLabs/tap-stackexchange.git>
config:
tags:
- python
start_date: 1674981000
loaders:
- name: target-jsonl
variant: andyh1203
pip_url: target-jsonl
- name: target-postgres
variant: transferwise
pip_url: pipelinewise-target-postgres
config:
host: localhost
port: 5432
user: meltano
dbname: postgres
add_metadata_columns: true
orchestrators:
- name: airflow
variant: apache
pip_url: apache-airflow==2.1.2 --constraint <https://raw.githubusercontent.com/apache/airflow/constraints-2.1.2/constraints-${MELTANO__PYTHON_VERSION}.txt>
files:
- name: files-airflow
variant: meltano
pip_url: git+<https://github.com/meltano/files-airflow.git>
jobs:
- name: tap-stackexchange-to-target-postgres
tasks:
- - tap-stackexchange
- target-postgres
schedules:
- name: minutely-stackexchange-load
interval: '*/1 * * * *'
job: tap-stackexchange-to-target-postgres
aleksei_razvodov
01/29/2023, 10:50 AMaleksei_razvodov
01/29/2023, 10:52 AMaleksei_razvodov
01/29/2023, 10:54 AMRunning command: ['bash', '-c', 'cd /home/AlexRaz/meltano_projects/try2; .meltano/run/bin run tap-stackexchange target-postgres']
and gets
'false' is not a valid EnvVarMissingBehavior
when I run this command via VM's console it's perfectly fine
cd /home/AlexRaz/meltano_projects/try2; .meltano/run/bin run tap-stackexchange target-postgres
aleksei_razvodov
01/29/2023, 11:03 AMaleksei_razvodov
01/29/2023, 11:45 AMWill Da Silva (Arch)
01/29/2023, 3:16 PMWill Da Silva (Arch)
01/29/2023, 3:17 PMWill Da Silva (Arch)
01/29/2023, 3:40 PMstrict_env_var_mode = 'false'
, i.e. that it has a str
value when it ought to be a bool
. Now to figure out how that happened...Will Da Silva (Arch)
01/29/2023, 3:52 PMstrict_env_var_mode
is set by the env var MELTANO_FF_STRICT_ENV_VAR_MODE
Will Da Silva (Arch)
01/29/2023, 3:59 PMaleksei_razvodov
01/29/2023, 4:46 PMWill Da Silva (Arch)
01/29/2023, 4:48 PMMELTANO_FF_STRICT_ENV_VAR_MODE
env var it shouldn't error. Do you know where the env var is being set?aleksei_razvodov
01/29/2023, 6:26 PMecho $MELTANO_FF_STRICT_ENV_VAR_MODE
equals empty string, like any unset env var. Where I can check it?aaronsteers
01/30/2023, 12:03 AM.env
file by chance and can you double check there's not a value for this env var there?aleksei_razvodov
01/30/2023, 5:50 AMaleksei_razvodov
02/02/2023, 6:07 AMaaronsteers
02/08/2023, 11:11 PMMELTANO_FF_STRICT_ENV_VAR_MODE
was being loaded into your project. We're doing a post-mortem to try to identify possible root causes. Another user ran into this when using Airflow so we're wondering if the Airflow process is hiding some config perhaps. I know you already checked your Meltano .env and I double-checked your DAG files above. Do you mind checking your Airflow configuration to see if that environment variable is declared somewhere in the Airflow server or processes?