Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker_image=True fails on Windows (for Slack connector) #431

Open
EgorKraevTransferwise opened this issue Oct 25, 2024 · 0 comments
Open

Comments

@EgorKraevTransferwise
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant