`azureml-fsspec` file upload uninformative error
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- azure, python
- Lĩnh vực
- cloud, machine-learning
Hướng nghiên cứu
Tái hiện ví dụ AzureMachineLearningFileSystem.upload được ghi trong tài liệu với các đường dẫn cục bộ và từ xa đã cho. Bắt đầu tại azureml/fsspec/spec.py:146 và theo dõi các điểm vào upload và _info để xác định lý do đường dẫn từ xa không có trong _stream_infos. Hoàn thành khi lỗi được giải thích bằng chẩn đoán có thể thực hiện hoặc tạo ra một lỗi giàu thông tin thay vì KeyError thô.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hey, I am working on some simple EDA in AzureML, and I have successfully set up data asset to facilitate access to blob storage. Following this documentation, I can easily read data using a number of methods, including creating an AzureMachineLearningFileSystem and using it to .open() some remote file. However, when I try uploading a file back to blob storage using an instance of AzureMachineLearningFileSystem and its .upload() method, it just fails with an error message mentioning the remote path I pass to it.
So, given a file system fs, local file local.file.txt, which I want to upload as remote.file.txt, I run the following (based on the sample here):
fs.upload(lpath='local.file.txt', rpath='remote.file.txt', recursive=False, **{'overwrite': 'MERGE_WITH_OVERWRITE'})
But it results in an error with a lengthy stack trace, ending with:
File /anaconda/envs/azureml_py310_sdkv2/lib/python3.10/site-packages/azureml/fsspec/spec.py:146, in AzureMachineLearningFileSystem._info(self, path)
144 if len(self._stream_infos) == 1:
145 return list(self._stream_infos.values())[0]['info']
--> 146 return self._stream_infos[path]['info']
KeyError: 'remote.file.txt'
which is not really helpful. Any advice on how to debug this issue?
- Ngôn ngữ chính
- Jupyter Notebook
- Star
- 4.4k
- Fork
- 2.6k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Azure/MachineLearningNotebooks
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Azure/MachineLearningNotebooks#1975 · 1 bình luận ·
-
duplicates Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
Azure/MachineLearningNotebooks#1960 ·
-
machine Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 10/100
Azure/MachineLearningNotebooks#1987 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Azure/MachineLearningNotebooks#1985 · 1 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
Azure/MachineLearningNotebooks#1981 · 1 reaction ·
Tất cả issue của Azure/MachineLearningNotebooks
Issue tương tự
-
[BUG] ECR GetAuthorizationToken returns a proxyEndpoint for the default region, not the request's Đang mởbug ecr
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
docs-from-code
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
microsoft/aspire.dev#1734 ·
-
[BUG] Đang mởbug needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
openwallet-foundation/eudiplo#1067 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
hashicorp/go-azure-helpers#286 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
akash-network/community#1526 ·