airbytehq / airbytehq/PyAirbyte

docker_image=True fails on Windows (for Slack connector)

未关闭
#431 0 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
344
派生
77
平均合并
1 天 11 小时
30 天内合并 PR
35

描述

When I try to run the PyAirbyte Slack connector on Windows with `docker_image=True` to avoid creating local venv with potential Windows gotchas there, I get the following error messsage, suggesting Unix-specific path handling (`invalid mode: \Users\EGORKR~1\AppData\Local\Temp`).
The log file referred to below is empty.
```
...
2e228109a974: Download complete
Digest: sha256:a92d8ce61660a1617152769e354f11f4b2c13b61ad28ffcd86a221e8e66ae3f2
Status: Downloaded newer image for airbyte/source-slack:latest
docker: Error response from daemon: invalid mode: \Users\EGORKR~1\AppData\Local\Temp.
See 'docker run --help'.
Traceback (most recent call last):
File "C:\Users\EgorKraev\miniconda3\envs\motleycrew3.10\lib\contextlib.py", line 153, in __exit__
self.gen.throw(typ, value, traceback)
File "C:\Users\EgorKraev\miniconda3\envs\motleycrew3.10\lib\site-packages\airbyte\_util\temp_files.py", line 42, in as_temp_files
yield [file.name for file in temp_files]
File "C:\Users\EgorKraev\miniconda3\envs\motleycrew3.10\lib\site-packages\airbyte\_connector_base.py", line 336, in check
raise exc.AirbyteConnectorCheckFailedError(
airbyte.exceptions.AirbyteConnectorCheckFailedError: Connector check failed. (AirbyteConnectorCheckFailedError)
------------------------------------------------------------
AirbyteConnectorCheckFailedError: Connector check failed.
Please review the log file for more information.
Connector Name: 'source-slack'
Log file: C:\Users\EGORKR~1\AppData\Local\Temp\airbyte\logs\source-slack\source-slack-log-JB1G0YNNV.log
------------------------------------------------------------
Caused by: Connector failed. (AirbyteConnectorFailedError)
------------------------------------------------------------
AirbyteConnectorFailedError: Connector failed.
Please review the log file for more information.
Connector Name: 'source-slack'
Exit Code: 125
Log file: C:\Users\EGORKR~1\AppData\Local\Temp\airbyte\logs\source-slack\source-slack-log-JB1G0YNNV.log

Process finished with exit code 1
```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。