Hi , Getting this error while testing our custom d...
# replication-troubleshooting
s
Hi , Getting this error while testing our custom destination build with python,
Copy code
(.venv) sheshan@sheshan:~/Documents/Airbyte/airbyte/airbyte-integrations/connectors/destination-weav-destination$ cat messages.jsonl | python main.py write --config secrets/config.json --catalog sample_files/configured_catalog.json
{"type": "LOG", "log": {"level": "INFO", "message": "Begin writing to the destination..."}}
{"type": "LOG", "log": {"level": "FATAL", "message": "write() missing 1 required positional argument: 'logger'\nTraceback (most recent call last):\n  File \"main.py\", line 11, in <module>\n    DestinationWeavDestination().run(sys.argv[1:])\n  File \"/home/sheshan/Documents/Airbyte/airbyte/airbyte-integrations/connectors/destination-weav-destination/.venv/lib/python3.8/site-packages/airbyte_cdk/destinations/destination.py\", line 109, in run\n    for message in output_messages:\n  File \"/home/sheshan/Documents/Airbyte/airbyte/airbyte-integrations/connectors/destination-weav-destination/.venv/lib/python3.8/site-packages/airbyte_cdk/destinations/destination.py\", line 104, in run_cmd\n    yield from self._run_write(config=config, configured_catalog_path=parsed_args.catalog, input_stream=wrapped_stdin)\n  File \"/home/sheshan/Documents/Airbyte/airbyte/airbyte-integrations/connectors/destination-weav-destination/.venv/lib/python3.8/site-packages/airbyte_cdk/destinations/destination.py\", line 48, in _run_write\n    yield from self.write(config=config, configured_catalog=catalog, input_messages=input_messages)\nTypeError: write() missing 1 required positional argument: 'logger'"}}