Exception retrieving extension handlers: local variable 'goal_state' referenced before assignment
See original GitHub issueI discovered this in 2.2.21.
Exception retrieving extension handlers: local variable 'goal_state' referenced before assignment Exception retrieving extension handlers: [ProtocolError] Exceeded max retry updating goal state
It is unclear if this issue has existed previous to 2.2.21, or if it is new. Based on my review it appears to have existed previous to this version.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
How to Fix Local Variable Referenced Before Assignment ...
If you run this code, you'll get UnboundLocalError: local variable 'value' referenced before assignment. The issue is that in this line:
Read more >Why does PyCharm think that this variable may be referenced ...
When the method is as follows Pycharm does not think that the response variable may be referenced before assignment:
Read more >Troubleshooting Azure Windows VM extension failures
Extension handlers inside the VM are writing to a status file (eg. "/var/lib/waagent/Microsoft.Azure.Extensions.
Read more >`local variable 'traceback' referenced before assignment when ...
When attempting to run a file via an ssh interpreter, I get the following error: ``` During handling of the above exception, another......
Read more >SPSSINC MODIFY TABLES extension not working - Forums
... version installed so I updated the extension to v2.0 and now get the following warning: local variable 'customfunction' referenced before assignment.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Looks like #1691 seems to solve the issue. No new occurrence in 2.2.46 version. Closing the issue. If it returns, will reopen the issue.
Most of the goal_state variable name issue was resolved by #1392 and now the new ones as seen in the newer agents are seen in get_ext_conf()
Example messages from Telemetry: