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

Client path functionality doesn't handle symlinks correctly #99

Open
cjh1 opened this issue Feb 14, 2025 · 0 comments
Open

Client path functionality doesn't handle symlinks correctly #99

cjh1 opened this issue Feb 14, 2025 · 0 comments

Comments

@cjh1
Copy link
Collaborator

cjh1 commented Feb 14, 2025

025-02-14T20:37:41.927055972Z     return await anext(self.gen)
2025-02-14T20:37:41.927058932Z            ^^^^^^^^^^^^^^^^^^^^^
2025-02-14T20:37:41.927064072Z   File "/usr/local/lib/python3.13/site-packages/sfapi_client/_async/paths.py", line 306, in open
2025-02-14T20:37:41.927068152Z     if not await self.parent.is_dir():
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-02-14T20:37:41.927075672Z   File "/usr/local/lib/python3.13/site-packages/sfapi_client/_async/paths.py", line 128, in is_dir
2025-02-14T20:37:41.927080373Z     await self.update()
2025-02-14T20:37:41.927084013Z   File "/usr/local/lib/python3.13/site-packages/sfapi_client/_async/paths.py", line 231, in update
2025-02-14T20:37:41.927087383Z     file_state = await self._ls(self.compute, str(self._path), filter_dots=False)
2025-02-14T20:37:41.927091393Z                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-02-14T20:37:41.927095593Z   File "/usr/local/lib/python3.13/site-packages/sfapi_client/_async/paths.py", line 180, in _ls
    raise SfApiError(directory_listing_response.error)
2025-02-14T20:37:41.927101974Z sfapi_client.exceptions.SfApiError: ls: cannot access '/XXX -> /YYY': No such file or directory
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