Azure / Azure/azure-devops-cli-extension

Just trying to download a universal package I published.

Open
#1,036 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
682
Forks
278
Avg merge
3d 23h
Merged PRs (30d)
3

Description

## Describe the bug

Published a universal package, then attempted to download it using the command on the azure dev ops page, but it fails with some error if not running in administrator mode.

**Command Name**
`az artifacts universal download
Extension Name: azure-devops. Version: 0.4.0.`

**Errors:**
```
[WinError 2] The system cannot find the file specified
Traceback (most recent call last):
pip-install-3pnsb50r\knack\knack\cli.py, ln 206, in invoke
cli\core\commands\__init__.py, ln 608, in execute
cli\core\commands\__init__.py, ln 666, in _run_jobs_serially
cli\core\commands\__init__.py, ln 657, in _run_job
azext_devops\dev\common\exception_handler.py, ln 22, in azure_devops_exception_handler
reraise(*sys.exc_info())
Temp\pip-install-3pnsb50r\six\six.py, ln 703, in reraise
cli\core\commands\__init__.py, ln 636, in _run_job
...
Azure\CLI2\lib\subprocess.py, ln 709, in __init__
restore_signals, start_new_session)
Azure\CLI2\lib\subprocess.py, ln 997, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
```

## To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

- Publish a universal package
- Open Windows Terminal (Powershell) (Not in administrator mode)
- `az login`
- `az artifacts universal download --organization {} --feed {} --name {} --version {} --path {}`

## Expected Behavior
It downloads the package into the directory.

## Environment Summary
```
Windows-10-10.0.18362-SP0
Python 3.6.6

azure-cli 2.1.0 *

Extensions:
azure-devops 0.4.0

```
## Additional Context

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.