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

[File source] cannot add File source (local filesystem) as source in airbyte (k8s deployment) #55863

Open
1 task
eng-dsw opened this issue Mar 20, 2025 · 0 comments

Comments

@eng-dsw
Copy link

eng-dsw commented Mar 20, 2025

Connector Name

source-file

Connector Version

0.2.13

What step the error happened?

Configuring a new connector

Relevant information

Hi,
I am using airbyte 0.39.36-alpha version deployed on kubernetes cluster.
I want to add source file mainly excel & csv as source connector in the airbyte. But It is giving me error: "File or Folder not present at location."
As per my Information, file should be present at "/tmp/airbyte_local" location & url while adding connector should be "/local/". This config is not working for me.
Earlier I have tried using airbyte with docker installation, in which I have successfully used file as source with above method. Can anyone help me here
Thanks

Relevant log output

The connection tests failed.
Failed to load file:///local/Aadhaar_Extracted_Details.xlsx: FileNotFoundError(2, 'No such file or directory') Traceback (most recent call last): File "/airbyte/integration_code/source_file/source.py", line 86, in check with client.reader.open(binary=client.binary_source): File "/airbyte/integration_code/source_file/client.py", line 80, in open self._file = self._open(binary=binary) File "/airbyte/integration_code/source_file/client.py", line 129, in _open return smart_open.open(self.full_url, mode=mode) File "/usr/local/lib/python3.9/site-packages/smart_open/smart_open_lib.py", line 174, in open fobj = _shortcut_open( File "/usr/local/lib/python3.9/site-packages/smart_open/smart_open_lib.py", line 346, in _shortcut_open return _builtin_open(local_path, mode, buffering=buffering, **open_kwargs) FileNotFoundError: [Errno 2] No such file or directory: '/local/Aadhaar_Extracted_Details.xlsx'

Contribute

  • Yes, I want to contribute
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants