airbytehq / airbytehq/PyAirbyte

Bug in PyAirbyte / Pinterest Source

Ouverte
#824 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
344
Forks
77
Merge moyen
1 j 11 h
PR mergées (30 j)
35

Description

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?

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.