airbytehq / airbytehq/PyAirbyte

Bug in PyAirbyte / Pinterest Source

Đang mở
#824 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
344
Fork
77
Merge trung bình
1 ngày 11 giờ
Pull request đã merge (30 ngày)
35

Mô tả

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?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.