airbytehq / airbytehq/PyAirbyte

OSError: Cannot call rmtree on a symbolic link

Đang mở
#224 6 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
344
Fork
77
Merge trung bình
1 ngày 11 giờ
Pull request đã merge (30 ngày)
35

Mô tả

I sometimes receive the following error.
I have no idea what causes it and when it's triggered but this is pretty annoying to suddenly have after your job ran for 1h.

```
File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/entrypoint.py", line 234, in launch
for message in source_entrypoint.run(parsed_args):
File "/usr/local/lib/python3.10/site-packages/airbyte_cdk/entrypoint.py", line 99, in run
with tempfile.TemporaryDirectory() as temp_dir:
File "/usr/local/lib/python3.10/tempfile.py", line 869, in __exit__
self.cleanup()
File "/usr/local/lib/python3.10/tempfile.py", line 873, in cleanup
self._rmtree(self.name, ignore_errors=self._ignore_cleanup_errors)
File "/usr/local/lib/python3.10/tempfile.py", line 855, in _rmtree
_shutil.rmtree(name, onerror=onerror)
File "/usr/local/lib/python3.10/shutil.py", line 736, in rmtree
onerror(os.path.islink, path, sys.exc_info())
File "/usr/local/lib/python3.10/shutil.py", line 734, in rmtree
raise OSError("Cannot call rmtree on a symbolic link")
OSError: Cannot call rmtree on a symbolic link
```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.