I'm trying to download a entire directory from a Fileshare with the following function inside a class that receives the account_name, account_key, endpoint and share_name (fileshare name): (all in python-Django)
`def download_folder_blobxfer(self, folder_path):
but when i try this, i get the following traceback:
<blobxfer.operations.azure.StorageAccount object at 0x0000020BD160CBE0> Traceback (most recent call last): File "C:\ProgramData\Anaconda3\envs\crm\lib\site-packages\blobxfer\operations\download.py", line 870, in start self._run() File "C:\ProgramData\Anaconda3\envs\crm\lib\site-packages\blobxfer\operations\download.py", line 706, in _run blobxfer.operations.download.Downloader.ensure_local_destination( File "C:\ProgramData\Anaconda3\envs\crm\lib\site-packages\blobxfer\operations\download.py", line 146, in ensure_local_destination sa = creds.get_storage_account( File "C:\ProgramData\Anaconda3\envs\crm\lib\site-packages\blobxfer\operations\azure\__init__.py", line 84, in get_storage_account return self._storage_accounts[name] KeyError: <blobxfer.operations.azure.StorageAccount object at 0x0000020BD160CBE0> Traceback (most recent call last): File "C:\ProgramData\Anaconda3\envs\crm\lib\site-packages\rest_framework\views.py", line 502, in dispatch response = handler(request, *args, **kwargs) File "C:\Users\julia\Documents\PROYECTOS INTEREDES\CRM-INTEREDES\sdkv2\crm-backend\core_fileadmin\infrastructure\viewsets\static.py", line 24, in get fileadmin = ConnectionStorageFactory().get_adminer("azure") File "C:\Users\julia\Documents\PROYECTOS INTEREDES\CRM-INTEREDES\sdkv2\crm-backend\core_fileadmin\application\connection.py", line 25, in __init__ "azure": AzureAdminer(**azure_settings), File "C:\Users\julia\Documents\PROYECTOS INTEREDES\CRM-INTEREDES\sdkv2\crm-backend\core_fileadmin\application\services\azure.py", line 32, in __init__ self.download_folder_blobxfer(folder_path) File "C:\Users\julia\Documents\PROYECTOS INTEREDES\CRM-INTEREDES\sdkv2\crm-backend\core_fileadmin\application\services\azure.py", line 111, in download_folder_blobxfer downloader.start() File "C:\ProgramData\Anaconda3\envs\crm\lib\site-packages\blobxfer\operations\download.py", line 885, in start raise ex File "C:\ProgramData\Anaconda3\envs\crm\lib\site-packages\blobxfer\operations\download.py", line 870, in start self._run() File "C:\ProgramData\Anaconda3\envs\crm\lib\site-packages\blobxfer\operations\download.py", line 706, in _run blobxfer.operations.download.Downloader.ensure_local_destination( File "C:\ProgramData\Anaconda3\envs\crm\lib\site-packages\blobxfer\operations\download.py", line 146, in ensure_local_destination sa = creds.get_storage_account( File "C:\ProgramData\Anaconda3\envs\crm\lib\site-packages\blobxfer\operations\azure\__init__.py", line 84, in get_storage_account return self._storage_accounts[name] KeyError: <blobxfer.operations.azure.StorageAccount object at 0x0000020BD160CBE0>
I'm trying to download a entire directory from a Fileshare with the following function inside a class that receives the account_name, account_key, endpoint and share_name (fileshare name): (all in python-Django) `def download_folder_blobxfer(self, folder_path):
but when i try this, i get the following traceback:
<blobxfer.operations.azure.StorageAccount object at 0x0000020BD160CBE0> Traceback (most recent call last): File "C:\ProgramData\Anaconda3\envs\crm\lib\site-packages\blobxfer\operations\download.py", line 870, in start self._run() File "C:\ProgramData\Anaconda3\envs\crm\lib\site-packages\blobxfer\operations\download.py", line 706, in _run blobxfer.operations.download.Downloader.ensure_local_destination( File "C:\ProgramData\Anaconda3\envs\crm\lib\site-packages\blobxfer\operations\download.py", line 146, in ensure_local_destination sa = creds.get_storage_account( File "C:\ProgramData\Anaconda3\envs\crm\lib\site-packages\blobxfer\operations\azure\__init__.py", line 84, in get_storage_account return self._storage_accounts[name] KeyError: <blobxfer.operations.azure.StorageAccount object at 0x0000020BD160CBE0> Traceback (most recent call last): File "C:\ProgramData\Anaconda3\envs\crm\lib\site-packages\rest_framework\views.py", line 502, in dispatch response = handler(request, *args, **kwargs) File "C:\Users\julia\Documents\PROYECTOS INTEREDES\CRM-INTEREDES\sdkv2\crm-backend\core_fileadmin\infrastructure\viewsets\static.py", line 24, in get fileadmin = ConnectionStorageFactory().get_adminer("azure") File "C:\Users\julia\Documents\PROYECTOS INTEREDES\CRM-INTEREDES\sdkv2\crm-backend\core_fileadmin\application\connection.py", line 25, in __init__ "azure": AzureAdminer(**azure_settings), File "C:\Users\julia\Documents\PROYECTOS INTEREDES\CRM-INTEREDES\sdkv2\crm-backend\core_fileadmin\application\services\azure.py", line 32, in __init__ self.download_folder_blobxfer(folder_path) File "C:\Users\julia\Documents\PROYECTOS INTEREDES\CRM-INTEREDES\sdkv2\crm-backend\core_fileadmin\application\services\azure.py", line 111, in download_folder_blobxfer downloader.start() File "C:\ProgramData\Anaconda3\envs\crm\lib\site-packages\blobxfer\operations\download.py", line 885, in start raise ex File "C:\ProgramData\Anaconda3\envs\crm\lib\site-packages\blobxfer\operations\download.py", line 870, in start self._run() File "C:\ProgramData\Anaconda3\envs\crm\lib\site-packages\blobxfer\operations\download.py", line 706, in _run blobxfer.operations.download.Downloader.ensure_local_destination( File "C:\ProgramData\Anaconda3\envs\crm\lib\site-packages\blobxfer\operations\download.py", line 146, in ensure_local_destination sa = creds.get_storage_account( File "C:\ProgramData\Anaconda3\envs\crm\lib\site-packages\blobxfer\operations\azure\__init__.py", line 84, in get_storage_account return self._storage_accounts[name] KeyError: <blobxfer.operations.azure.StorageAccount object at 0x0000020BD160CBE0>
I appreciate any help