airbytehq / airbytehq/PyAirbyte

docker_image=True fails on Windows (for Slack connector)

Abierto
#431 0 comentarios 2 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
344
Forks
77
Merge medio
1 d 11 h
PR fusionados (30 d)
35

Descripción

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
```

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.