Hello guys ! We are facing this issue when we try...
# replication-troubleshooting
m
Hello guys ! We are facing this issue when we try to install the dependencies in the Low-code connector development (Step 2
python main.py spec
) :
Copy code
Traceback (most recent call last):
  File "/Users/matrousseau/Programming/Python/beamy/airbyte/airbyte-integrations/connectors/source-netskope/.venv/lib/python3.10/site-packages/airbyte_cdk/sources/declarative/manifest_declarative_source.py", line 141, in _validate_source
    validate(self._source_config, declarative_component_schema)
  File "/Users/matrousseau/Programming/Python/beamy/airbyte/airbyte-integrations/connectors/source-netskope/.venv/lib/python3.10/site-packages/jsonschema/validators.py", line 934, in validate
    raise error
jsonschema.exceptions.ValidationError: 'DpathExtractor' is not one of ['CustomRecordExtractor']

Failed validating 'enum' in schema[0]['properties']['type']:
    {'enum': ['CustomRecordExtractor'], 'type': 'string'}

On instance['type']:
    'DpathExtractor'
Do you have any information on this?
n
Hey, Matthieu! The low-code connector development is still in alpha, I believe, so it can be buggy and we encourage users to report those on GitHub 🙂 Looking through the log I see you're using Python
3.10
, when our environment requires 3.9: https://docs.airbyte.com/contributing-to-airbyte/developing-locally Could you change to the correct Python version and see if that fixes this?
r
Hey! I ran into the same issue. What worked as a quick fix for me was updating the CDK version in setup.py. If you change that to be
airbyte-cdk==0.28.1
Then re install dependencies that hopefully will unblock you.
🙏 1
This is related to the post here.