airbytehq / airbytehq/PyAirbyte
Bug in PyAirbyte / Pinterest Source
- Lingua principale
- Python
- Stelle
- 344
- Fork
- 77
- Merge medio
- 1g 11h
- PR unite (30g)
- 35
Descrizione
Hey,
we are running "airbyte==0.31.7".
We have a minimal Python file using PyAirbyte with the following content:
```python
import airbyte as ab
source = ab.get_source(
"source-pinterest",
config={"count": 5_000},
install_if_missing=True,
)
source.check()
```
However, when we run this, we will get the following error:
```
Writing PyAirbyte logs to file: /tmp/airbyte/logs/2025-10-07/airbyte-log-K6YYKVR35.log
Writing `source-pinterest` logs to file: /tmp/airbyte/logs/source-pinterest/source-pinterest-log-K6YYKVR4F.log
{"type":"TRACE","trace":{"type":"ERROR","emitted_at":1759827851075,"error":{"message":"Something went wrong in the connector. See the logs for more details.","internal_message":"Connector check failed. (AirbyteConnectorCheckFailedError)
------------------------------------------------------------
AirbyteConnectorCheckFailedError: Connector check failed.
Please review the log file for more information.
More info: https://docs.airbyte.com/integrations/sources/pinterest
Connector Name: 'source-pinterest'
Failure Reason: \"'Encountered an error while discovering streams. Error: Could not load module `source_declarative_manifest.components`.'\"
Log file: /tmp/airbyte/logs/source-pinterest/source-pinterest-log-K6YYKVR4F.log","stack_trace":"Traceback (most recent call last):
File \".../git/playground/pyair/main.py\", line 8, in
source.check()
File \".../git/playground/pyair/.venv/lib/python3.12/site-packages/airbyte/_connector_base.py\", line 357, in check
raise exc.AirbyteConnectorCheckFailedError(
airbyte.exceptions.AirbyteConnectorCheckFailedError: Connector check failed. (AirbyteConnectorCheckFailedError)
------------------------------------------------------------
AirbyteConnectorCheckFailedError: Connector check failed.
Please review the log file for more information.
More info: https://docs.airbyte.com/integrations/sources/pinterest
Connector Name: 'source-pinterest'
Failure Reason: \"'Encountered an error while discovering streams. Error: Could not load module `source_declarative_manifest.components`.'\"
Log file: /tmp/airbyte/logs/source-pinterest/source-pinterest-log-K6YYKVR4F.log
","failure_type":"system_error"}}}
```
Unfortunately, the log files are empty.
Can you give us a hint what is wrong?
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.