Skip to content

docs: Add troubleshooting entry for Python 3.13 FrameLocalsProxy ValueError#124

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/fix-valueerror-az-repair-create
Draft

docs: Add troubleshooting entry for Python 3.13 FrameLocalsProxy ValueError#124
Copilot wants to merge 2 commits intomainfrom
copilot/fix-valueerror-az-repair-create

Conversation

Copy link
Copy Markdown

Copilot AI commented May 8, 2026

az vm repair commands fail on Python 3.13+ because frame.f_locals returns a FrameLocalsProxy instead of a plain dict, and the vm-repair extension's _get_function_param_dict attempted del values['cmd'] directly on the proxy — which raises ValueError.

The code fix lives in azure-cli-extensions (PR #9514, released as vm-repair 2.1.3). This PR adds a Troubleshooting section to README.md so users hitting this error have a clear path to resolution:

  • Cause: Python 3.13 FrameLocalsProxy does not support item deletion
  • Fix: az extension update -n vm-repair (requires ≥ 2.1.3)

Copilot AI changed the title [WIP] Fix ValueError in az repair create command execution docs: Add troubleshooting entry for Python 3.13 FrameLocalsProxy ValueError May 8, 2026
Copilot AI requested a review from EdwinBernal1 May 8, 2026 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ValueError: cannot remove local variables from FrameLocalsProxy

2 participants