---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
File /home/conda/users/222098f819851fd4ec9d4c9445d950452119627537a69aa8cd965d7dbb1ef7e2-20230602-144731-342097-199-pangeo/lib/python3.10/site-packages/adlfs/spec.py:448, in AzureBlobFileSystem.do_connect(self)
447 else:
--> 448 raise ValueError(
449 "Must provide either a connection_string or account_name with credentials!!"
450 )
452 except RuntimeError:
ValueError: Must provide either a connection_string or account_name with credentials!!
During handling of the above exception, another exception occurred:
ValueError Traceback (most recent call last)
Cell In[11], line 1
----> 1 fs = fsspec.filesystem('abfs', storage_options=storage_options)
File /home/conda/users/222098f819851fd4ec9d4c9445d950452119627537a69aa8cd965d7dbb1ef7e2-20230602-144731-342097-199-pangeo/lib/python3.10/site-packages/fsspec/registry.py:261, in filesystem(protocol, **storage_options)
254 warnings.warn(
255 "The 'arrow_hdfs' protocol has been deprecated and will be "
256 "removed in the future. Specify it as 'hdfs'.",
257 DeprecationWarning,
258 )
260 cls = get_filesystem_class(protocol)
--> 261 return cls(**storage_options)
File /home/conda/users/222098f819851fd4ec9d4c9445d950452119627537a69aa8cd965d7dbb1ef7e2-20230602-144731-342097-199-pangeo/lib/python3.10/site-packages/fsspec/spec.py:76, in _Cached.__call__(cls, *args, **kwargs)
74 return cls._cache[token]
75 else:
---> 76 obj = super().__call__(*args, **kwargs)
77 # Setting _fs_token here causes some static linters to complain.
78 obj._fs_token_ = token
File /home/conda/users/222098f819851fd4ec9d4c9445d950452119627537a69aa8cd965d7dbb1ef7e2-20230602-144731-342097-199-pangeo/lib/python3.10/site-packages/adlfs/spec.py:282, in AzureBlobFileSystem.__init__(self, account_name, account_key, connection_string, credential, sas_token, request_session, socket_timeout, blocksize, client_id, client_secret, tenant_id, anon, location_mode, loop, asynchronous, default_fill_cache, default_cache_type, version_aware, **kwargs)
270 if (
271 self.credential is None
272 and self.anon is False
273 and self.sas_token is None
274 and self.account_key is None
275 ):
277 (
278 self.credential,
279 self.sync_credential,
280 ) = self._get_default_azure_credential(**kwargs)
--> 282 self.do_connect()
283 weakref.finalize(self, sync, self.loop, close_service_client, self)
285 if self.credential is not None:
File /home/conda/users/222098f819851fd4ec9d4c9445d950452119627537a69aa8cd965d7dbb1ef7e2-20230602-144731-342097-199-pangeo/lib/python3.10/site-packages/adlfs/spec.py:458, in AzureBlobFileSystem.do_connect(self)
455 self.do_connect()
457 except Exception as e:
--> 458 raise ValueError(f"unable to connect to account for {e}")
ValueError: unable to connect to account for Must provide either a connection_string or account_name with credentials!!