Untitled
user_7201509
plain_text
5 months ago
6.3 kB
2
Indexable
{ "name": "ResourceNotFoundError", "message": "The specified container does not exist. RequestId:97161d9e-d01e-0063-1abf-1826ef000000 Time:2024-10-07T13:48:53.6002238Z ErrorCode:ContainerNotFound Content: <?xml version=\"1.0\" encoding=\"utf-8\"?><Error><Code>ContainerNotFound</Code><Message>The specified container does not exist. RequestId:97161d9e-d01e-0063-1abf-1826ef000000 Time:2024-10-07T13:48:53.6002238Z</Message></Error>", "stack": "--------------------------------------------------------------------------- ResourceNotFoundError Traceback (most recent call last) Cell In[11], line 30 27 print(f\"Downloaded blob to {download_file_path}\") 29 download_file_path=\"dow.txt\" ---> 30 download_blob(blob_service_client,source_container_name,source_blob_name,download_file_path) Cell In[11], line 26, in download_blob(blob_service_client, container_name, blob_name, download_file_path) 23 blob_client=container_client.get_blob_client(blob_name) 25 with open(download_file_path, 'wb') as download_file: ---> 26 download_file.write(blob_client.download_blob().readall()) 27 print(f\"Downloaded blob to {download_file_path}\") File c:\\Users\\biyani.11\\Anaconda3\\envs\\AI_Mind\\lib\\site-packages\\azure\\core\\tracing\\decorator.py:94, in distributed_trace.<locals>.decorator.<locals>.wrapper_use_tracer(*args, **kwargs) 92 span_impl_type = settings.tracing_implementation() 93 if span_impl_type is None: ---> 94 return func(*args, **kwargs) 96 # Merge span is parameter is set, but only if no explicit parent are passed 97 if merge_span and not passed_in_parent: File c:\\Users\\biyani.11\\Anaconda3\\envs\\AI_Mind\\lib\\site-packages\\azure\\storage\\blob\\_blob_client.py:742, in BlobClient.download_blob(self, offset, length, encoding, **kwargs) 724 raise ValueError(\"Customer provided encryption key must be used over HTTPS.\") 725 options = _download_blob_options( 726 blob_name=self.blob_name, 727 container_name=self.container_name, (...) 740 client=self._client, 741 **kwargs) --> 742 return StorageStreamDownloader(**options) File c:\\Users\\biyani.11\\Anaconda3\\envs\\AI_Mind\\lib\\site-packages\\azure\\storage\\blob\\_download.py:403, in StorageStreamDownloader.__init__(self, clients, config, start_range, end_range, validate_content, encryption_options, max_concurrency, name, container, encoding, download_cls, **kwargs) 393 initial_request_end = initial_request_start + first_get_size - 1 395 self._initial_range, self._initial_offset = process_range_and_offset( 396 initial_request_start, 397 initial_request_end, (...) 400 self._encryption_data 401 ) --> 403 self._response = self._initial_request() 404 self.properties = cast(\"BlobProperties\", self._response.properties) 405 self.properties.name = self.name File c:\\Users\\biyani.11\\Anaconda3\\envs\\AI_Mind\\lib\\site-packages\\azure\\storage\\blob\\_download.py:504, in StorageStreamDownloader._initial_request(self) 502 self._file_size = 0 503 else: --> 504 process_storage_error(error) 506 try: 507 if self.size == 0: File c:\\Users\\biyani.11\\Anaconda3\\envs\\AI_Mind\\lib\\site-packages\\azure\\storage\\blob\\_shared\\response_handlers.py:186, in process_storage_error(storage_error) 183 error.args = (error.message,) 184 try: 185 # `from None` prevents us from double printing the exception (suppresses generated layer error context) --> 186 exec(\"raise error from None\") # pylint: disable=exec-used # nosec 187 except SyntaxError as exc: 188 raise error from exc File <string>:1 File c:\\Users\\biyani.11\\Anaconda3\\envs\\AI_Mind\\lib\\site-packages\\azure\\storage\\blob\\_download.py:456, in StorageStreamDownloader._initial_request(self) 454 while retry_active: 455 try: --> 456 location_mode, response = cast(Tuple[Optional[str], Any], self._clients.blob.download( 457 range=range_header, 458 range_get_content_md5=range_validation, 459 validate_content=self._validate_content, 460 data_stream_total=None, 461 download_stream_current=0, 462 **self._request_options 463 )) 465 # Check the location we read from to ensure we use the same one 466 # for subsequent requests. 467 self._location_mode = location_mode File c:\\Users\\biyani.11\\Anaconda3\\envs\\AI_Mind\\lib\\site-packages\\azure\\core\\tracing\\decorator.py:94, in distributed_trace.<locals>.decorator.<locals>.wrapper_use_tracer(*args, **kwargs) 92 span_impl_type = settings.tracing_implementation() 93 if span_impl_type is None: ---> 94 return func(*args, **kwargs) 96 # Merge span is parameter is set, but only if no explicit parent are passed 97 if merge_span and not passed_in_parent: File c:\\Users\\biyani.11\\Anaconda3\\envs\\AI_Mind\\lib\\site-packages\\azure\\storage\\blob\\_generated\\operations\\_blob_operations.py:1619, in BlobOperations.download(self, snapshot, version_id, timeout, range, range_get_content_md5, range_get_content_crc64, request_id_parameter, lease_access_conditions, cpk_info, modified_access_conditions, **kwargs) 1617 except (StreamConsumedError, StreamClosedError): 1618 pass -> 1619 map_error(status_code=response.status_code, response=response, error_map=error_map) 1620 error = self._deserialize.failsafe_deserialize(_models.StorageError, pipeline_response) 1621 raise HttpResponseError(response=response, model=error) File c:\\Users\\biyani.11\\Anaconda3\\envs\\AI_Mind\\lib\\site-packages\\azure\\core\\exceptions.py:161, in map_error(status_code, response, error_map) 159 return 160 error = error_type(response=response) --> 161 raise error ResourceNotFoundError: The specified container does not exist. RequestId:97161d9e-d01e-0063-1abf-1826ef000000 Time:2024-10-07T13:48:53.6002238Z ErrorCode:ContainerNotFound Content: <?xml version=\"1.0\" encoding=\"utf-8\"?><Error><Code>ContainerNotFound</Code><Message>The specified container does not exist. RequestId:97161d9e-d01e-0063-1abf-1826ef000000 Time:2024-10-07T13:48:53.6002238Z</Message></Error>" }
Editor is loading...
Leave a Comment