You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was unable to upload file using az batch file upload. Below are the error message. What has I done wrong?
Describe the bug
Command Name az batch file upload Extension Name: azure-batch-cli-extensions. Version: 6.0.0.
Errors:
The command failed with an unexpected error. Here is the traceback:
'NoneType' object has no attribute 'format'
Traceback (most recent call last):
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 231, in invoke
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 658, in execute
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 721, in _run_jobs_serially
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 713, in _run_job
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/batch/_exception_handler.py", line 28, in batch_exception_handler
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 692, in _run_job
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 328, in __call__
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler
File "C:\Users\Yong Hui Yee\.azure\cliextensions\azure-batch-cli-extensions\azext_batch\custom.py", line 205, in upload_file
client.file.upload(local_path, file_group, remote_path=remote_path, flatten=flatten)
File "C:\Users\Yong Hui Yee\.azure\cliextensions\azure-batch-cli-extensions\azext\batch\operations\file_operations.py", line 70, in upload
file_utils.upload_blob(f, file_group, file_name, self.get_storage_client(),
File "C:\Users\Yong Hui Yee\.azure\cliextensions\azure-batch-cli-extensions\azext\batch\batch_extensions_client.py", line 187, in _storage_account
keys = storage_client.storage_accounts.list_keys(storage_resource_group, storage_account)
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/core/tracing/decorator.py", line 83, in wrapper_use_tracer
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/mgmt/storage/v2021_08_01/operations/_storage_accounts_operations.py", line 1197, in list_keys
File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/core/pipeline/transport/_base.py", line 582, in format_url
AttributeError: 'NoneType' object has no attribute 'format'
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
I was unable to upload file using az batch file upload. Below are the error message. What has I done wrong?
Describe the bug
Command Name
az batch file upload Extension Name: azure-batch-cli-extensions. Version: 6.0.0.
Errors:
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
az batch file upload --local-path {} --file-group {} --account-name {} --account-endpoint {}
Expected Behavior
Environment Summary
Additional Context
The text was updated successfully, but these errors were encountered: