Azure / Azure/azure-cli-dev-tools

405 Error when modifying short names for commands

Open
#430 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
91
Forks
134
Avg merge
2h 51m
Merged PRs (30d)
1

Description

I am running the codegen server locally on WSL, and am hitting an issue adding short dummaries to commands in the GUI:

![image](https://github.com/Azure/azure-cli-dev-tools/assets/23656001/a9eae06d-3444-41dc-a000-bd88047c4b72)

(azcli) developer@DESKTOP-10GJ18A ~/ado $ aaz-dev run -c azure-cli -e azure-cli-extensions/ -s azure-rest-api-specs-pr/ -a aaz/
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
/home/developer/ado/azcli/lib/python3.8/site-packages/fuzzywuzzy/fuzz.py:11: UserWarning: Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning
warnings.warn('Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning')
INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on http://127.0.0.1:5000
INFO:werkzeug:Press CTRL+C to quit
tcgetpgrp failed: Not a tty
INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:02] "GET / HTTP/1.1" 304 -
INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:02] "GET /static/js/main.5e3a54b4.js HTTP/1.1" 304 -
INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:02] "GET /static/css/main.e6c13ad2.css HTTP/1.1" 304 -
INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:02] "GET /manifest.json HTTP/1.1" 304 -
INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:02] "GET /favicon.ico HTTP/1.1" 304 -
INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:02] "GET /logo192.png HTTP/1.1" 304 -
INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:04] "GET / HTTP/1.1" 304 -
INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:04] "GET /static/js/main.5e3a54b4.js HTTP/1.1" 304 -
INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:04] "GET /static/css/main.e6c13ad2.css HTTP/1.1" 304 -
INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:04] "GET /AAZ/Editor/Workspaces HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:04] "GET /manifest.json HTTP/1.1" 304 -
INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:04] "GET /logo192.png HTTP/1.1" 304 -
INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:06] "GET /AAZ/Specs/Planes HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:06] "GET /AAZ/Editor/Workspaces/mobilenetwork-andrew HTTP/1.1" 200 -
**INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:20] "PATCH /AAZ/Editor/Workspaces/mobilenetwork-andrew/CommandTree/Nodes/aaz/mobile-network/packet-core-control-plane HTTP/1.1" 405 -**

After following https://eng.ms/docs/cloud-ai-platform/azure-core/azure-management-and-platforms/control-plane-bburns/azure-cli-tools-azure-cli-powershell-and-terraform/azure-cli-tools/teams_docs/azcli_docs/setup_for_codegen

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.