ks
05/17/2021, 9:34 PMmeltano invoke scheduler -D
StrictVersion object has no attribute 'version'douwe_maan
05/17/2021, 9:35 PMmeltano --log-level=debug ?ks
05/17/2021, 9:53 PMFile "/Users/kaan.simsek/opt/miniconda3/envs/elt/lib/python3.7/distutils/version.py", line 170, in _cmp
if self.version != other.version:
AttributeError: 'StrictVersion' object has no attribute 'version'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/kaan.simsek/opt/miniconda3/envs/elt/lib/python3.7/site-packages/meltano/cli/__init__.py", line 51, in main
raise CliError(str(err)) from err
meltano.cli.utils.CliError: 'StrictVersion' object has no attribute 'version'
'StrictVersion' object has no attribute 'version'ks
05/17/2021, 9:54 PMks
05/17/2021, 9:59 PMFile "/Users/kaan.simsek/opt/miniconda3/envs/elt/lib/python3.7/site-packages/meltano/core/behavior/hookable.py", line 89, in trigger
hook_func(target, *args, **kwargs)
File "/Users/kaan.simsek/opt/miniconda3/envs/elt/lib/python3.7/site-packages/meltano/core/plugin/airflow.py", line 92, in before_configure
if StrictVersion(version) < StrictVersion("2.0.0")
File "/Users/kaan.simsek/opt/miniconda3/envs/elt/lib/python3.7/distutils/version.py", line 52, in __lt__
c = self._cmp(other)
File "/Users/kaan.simsek/opt/miniconda3/envs/elt/lib/python3.7/distutils/version.py", line 170, in _cmp
if self.version != other.version:
AttributeError: 'StrictVersion' object has no attribute 'version'douwe_maan
05/17/2021, 10:09 PMmeltano --log-level=debug ... output, you should see a line prefixed with Invoking: , followed by an absolute path that includes .meltano/orchestrators/airflow/venv and probably end with bin/airflow. Can you take that path and run it by itself with version , as in:
/Users/.../path/to/project/.../.meltano/orchestrators/airflow/venv/bin/airflow versiondouwe_maan
05/17/2021, 10:09 PMks
05/17/2021, 10:15 PMdouwe_maan
05/17/2021, 10:18 PM'StrictVersion' object has no attribute 'version' suggests that when Meltano tried to call airflow version itself, it got an error or empty outputdouwe_maan
05/17/2021, 10:18 PMmeltano invoke airflow scheduler is still failing?ks
05/17/2021, 10:23 PMdouwe_maan
05/17/2021, 10:26 PM/Users/kaan.simsek/opt/miniconda3/envs/elt/lib/python3.7/site-packages/meltano/core/plugin/airflow.py , and just after the line version, err = handle.communicate() add:
logging.warning(f"Stdout: {version}")
logging.warning(f"Stderr: {err}")douwe_maan
05/17/2021, 10:26 PMmeltano invoke airflow scheduler againks
05/17/2021, 10:39 PMks
05/17/2021, 10:39 PMself.get('core', 'executor')))
airflow.exceptions.AirflowConfigException: error: cannot use sqlite with the LocalExecutordouwe_maan
05/17/2021, 10:47 PMdouwe_maan
05/17/2021, 10:47 PMStrictVersion object has no attribute 'version' error? We should always be printing the actual error messageks
05/17/2021, 11:13 PMdouwe_maan
05/17/2021, 11:13 PM