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

FileNotFoundError: [Errno 2] No such file or directory: #1843

Open
talk2rajasimman opened this issue Jan 12, 2023 · 0 comments
Open

FileNotFoundError: [Errno 2] No such file or directory: #1843

talk2rajasimman opened this issue Jan 12, 2023 · 0 comments

Comments

@talk2rajasimman
Copy link

talk2rajasimman commented Jan 12, 2023

While Trying to upload file to s3 or Azure I getting this FileNotFoundError,

We have functionality like continuously uploading files to the cloud, For the 1st iteration for some files I am getting this issue, while in the second or 3rd iteration those files are able to upload, (tried absolute file path also )

[E 2023-01-12 10:19:58.949+00:00 mbl:405] U: Error when uploading /workspace/cam_vids/to_upload/Camera_1__2023-01-12__10-19-09__+0000.mp4: Traceback (most recent call last): File "/workspace/mbl.py", line 390, in __upload_to_cloud self.libcloud_driver[str(cam_idx)].upload_object( File "/usr/local/lib/python3.8/dist-packages/libcloud/storage/drivers/azure_blobs.py", line 1025, in upload_object blob_size = os.stat(file_path).st_size FileNotFoundError: [Errno 2] No such file or directory: '/workspace/cam_vids/to_upload/Camera_1__2023-01-12__10-19-09__+0000.mp4' [D 2023-01-12 10:20:00.069+00:00 mbl:400] U: Uploaded /workspace/cam_vids/to_upload/Camera_1__2023-01-12__10-19-27__+0000.jpg to azurebucket/Camera_1__2023-01-12__10-19-27__+0000.jpg

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