https://dagster.io/ logo
Title
f

Faisal Anees

03/14/2023, 5:40 AM
Hi ! Can someone help me with this
dasgter-airbyte
issue ? I'm trying to follow the "Airbyte ingestion as code" guide to programmatically create Airbyte connections using Dagster and I'm falling into some strange errors. I'm running a fresh install of Dagster and Airbyte locally. This is the stacktrace that i get when i run until Step 4 in the guide : (Please see the stacktrace in the thread):
dagster-airbyte apply -m dagster_pipelines.repo -d .
Found 1 reconcilers, applying...
Traceback (most recent call last):
  File "/home/faisal_georgian_io/.cache/pypoetry/virtualenvs/dagster-pipelines-OEXqmQhv-py3.10/bin/dagster-airbyte", line 8, in <module>
    sys.exit(main())
  File "/home/faisal_georgian_io/.cache/pypoetry/virtualenvs/dagster-pipelines-OEXqmQhv-py3.10/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/home/faisal_georgian_io/.cache/pypoetry/virtualenvs/dagster-pipelines-OEXqmQhv-py3.10/lib/python3.10/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/home/faisal_georgian_io/.cache/pypoetry/virtualenvs/dagster-pipelines-OEXqmQhv-py3.10/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/faisal_georgian_io/.cache/pypoetry/virtualenvs/dagster-pipelines-OEXqmQhv-py3.10/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/faisal_georgian_io/.cache/pypoetry/virtualenvs/dagster-pipelines-OEXqmQhv-py3.10/lib/python3.10/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/home/faisal_georgian_io/.cache/pypoetry/virtualenvs/dagster-pipelines-OEXqmQhv-py3.10/lib/python3.10/site-packages/dagster_managed_elements/cli.py", line 191, in apply_cmd
    diff = apply(working_directory, module, include_all_secrets=include_all_secrets)
  File "/home/faisal_georgian_io/.cache/pypoetry/virtualenvs/dagster-pipelines-OEXqmQhv-py3.10/lib/python3.10/site-packages/dagster_managed_elements/cli.py", line 103, in apply
    result = obj.apply(**kwargs)
  File "/home/faisal_georgian_io/.cache/pypoetry/virtualenvs/dagster-pipelines-OEXqmQhv-py3.10/lib/python3.10/site-packages/dagster_airbyte/managed/reconciliation.py", line 689, in apply
    return reconcile_config(
  File "/home/faisal_georgian_io/.cache/pypoetry/virtualenvs/dagster-pipelines-OEXqmQhv-py3.10/lib/python3.10/site-packages/dagster_airbyte/managed/reconciliation.py", line 390, in reconcile_config
    all_sources, sources_diff = reconcile_sources(
  File "/home/faisal_georgian_io/.cache/pypoetry/virtualenvs/dagster-pipelines-OEXqmQhv-py3.10/lib/python3.10/site-packages/dagster_airbyte/managed/reconciliation.py", line 202, in reconcile_sources
    defn_id = check.not_none(
  File "/home/faisal_georgian_io/.cache/pypoetry/virtualenvs/dagster-pipelines-OEXqmQhv-py3.10/lib/python3.10/site-packages/dagster/_check/__init__.py", line 1081, in not_none
    raise CheckError(f"Expected non-None value: {additional_message}")
dagster._check.CheckError: Expected non-None value: None