fred_reimer
02/08/2023, 5:55 PM$ meltano run tap-hourly target-jsonl
A Meltano environment must be specified. Set the `default_environment` option in `meltano.yml`, or the `--environment` CLI option.
That is what the completely non-helpful log message show here are probably referring to:
{subprocess.py:85} INFO - Output:
[2023-02-08, 06:17:27 UTC] {subprocess.py:92} INFO - {"event": "'false' is not a valid EnvVarMissingBehavior", "exc_info": ["<class 'ValueError'>", "ValueError(\"'false' is not a valid EnvVarMissingBehavior\")", "<traceback object at 0x7f3a89e8dac0>"], "timestamp": "2023-02-08T06:17:27.304770Z", "level": "error"}
[2023-02-08, 06:17:27 UTC] {subprocess.py:92} INFO - Need help fixing this problem? Visit <http://melta.no/> for troubleshooting steps, or to
[2023-02-08, 06:17:27 UTC] {subprocess.py:92} INFO - join our friendly Slack community.
I will look, but is there any concern of our bookmarks not working properly if we "upgrade" to use environments?Will Da Silva (Arch)
02/08/2023, 6:07 PMWill Da Silva (Arch)
02/08/2023, 6:08 PM$MELTANO_FF_STRICT_ENV_VAR_MODE anywhere? That might be the cause of the problem herefred_reimer
02/08/2023, 6:09 PMfred_reimer
02/08/2023, 6:19 PMWill Da Silva (Arch)
02/08/2023, 6:22 PMff.strict_env_var_mode. The valid values are 'true', 'false', or any other value that are "truthy" or "falsey". Unfortunately they weren't being cast to booleans correctly, which is what the linked PR fixed.Will Da Silva (Arch)
02/08/2023, 6:22 PMfred_reimer
02/08/2023, 6:22 PM$ MELTANO_FF_STRICT_ENV_VAR_MODE=False meltano run tap-logzio-volume-hourly target-jsonl
Need help fixing this problem? Visit <http://melta.no/> for troubleshooting steps, or to
join our friendly Slack community.
'False' is not a valid EnvVarMissingBehavior
$ MELTANO_FF_STRICT_ENV_VAR_MODE=false meltano run tap-logzio-volume-hourly target-jsonl
Need help fixing this problem? Visit <http://melta.no/> for troubleshooting steps, or to
join our friendly Slack community.
'false' is not a valid EnvVarMissingBehaviorWill Da Silva (Arch)
02/08/2023, 6:23 PMWill Da Silva (Arch)
02/08/2023, 6:23 PMfred_reimer
02/08/2023, 6:23 PMWill Da Silva (Arch)
02/08/2023, 6:25 PMfred_reimer
02/08/2023, 6:26 PMA Meltano environment must be specified. Set the `default_environment` option in `meltano.yml`, or the `--environment` CLI option.
Or is that something completely different? I don't want to assume that a Meltano "environment" is the same as this strict env var setting.Will Da Silva (Arch)
02/08/2023, 6:27 PMWill Da Silva (Arch)
02/08/2023, 6:29 PMWill Da Silva (Arch)
02/08/2023, 6:29 PMfred_reimer
02/08/2023, 6:36 PMfred_reimer
02/08/2023, 7:28 PMfred_reimer
02/08/2023, 7:34 PM$ meltano config meltano list
default_environment [env: MELTANO_DEFAULT_ENVIRONMENT] current value: None (default)
...
ff.strict_env_var_mode [env: MELTANO_FF_STRICT_ENV_VAR_MODE] current value: False (default)
Where would that be set? I certainly didn't set it.Will Da Silva (Arch)
02/08/2023, 7:35 PMMELTANO_FF_STRICT_ENV_VAR_MODE can be used to set that setting, but that the current setting is the default, rather than coming from the env var.Will Da Silva (Arch)
02/08/2023, 7:36 PMMELTANO_FF_STRICT_ENV_VAR_MODE. I'm wondering if somehow it's exporting MELTANO_FF_STRICT_ENV_VAR_MODE=false, and then consuming that later. I don't yet know how that could be happening, but it's plausible.fred_reimer
02/08/2023, 7:39 PMWill Da Silva (Arch)
02/08/2023, 8:42 PMfred_reimer
02/08/2023, 8:45 PMfred_reimer
02/08/2023, 11:37 PM