-
-
Notifications
You must be signed in to change notification settings - Fork 662
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
An error encountered while checking for updates on latest alpha #17800
Comments
I can duplicate it with an installed copy of NVDA - the same Alpha release on Windows 11 24H2. |
Cc @christopherpross I'm afraid #17310 regressed this. |
@LeonarddeR How could this have happened? I'll take care of it immediately. |
At first glance, it looks like the |
Yes, it seems to be because the request in a recent version responds with an empty body. My code doesn't handle that since I somehow didn't have it on my radar. |
@christopherpross I think you should implement a fix. Create a pull request so we can test it before merging it. If nothing works, we revert everything in the same pull request. |
Steps to reproduce:
Actual behavior:
The following error dialog appears:
Error checking for update.
Make sure you are connected to the internet and try again.
The following error is logged:
Error checking for update
Traceback (most recent call last):
File "updateCheck.pyc", line 256, in checkForUpdate
File "updateCheck.pyc", line 148, in parseUpdateCheckResponse
ValueError: Missing required key(s): version, apiVersion, launcherUrl
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "updateCheck.pyc", line 378, in _bg
File "updateCheck.pyc", line 258, in checkForUpdate
RuntimeError: The update response is invalid. Ensure the update mirror returns a properly formatted response.
Expected behavior:
A successful update check is performed.
NVDA logs, crash dumps and other attachments:
NVDA update check fail.txt
System configuration
NVDA installed/portable/running from source:
Portable
NVDA version:
alpha-35622,495dee36 (2025.1.0.35622)
Windows version:
Windows 11 24H2 (AMD64) build 26100.3194
Name and version of other software in use when reproducing the issue:
None
Other information about your system:
None
Other questions
Does the issue still occur after restarting your computer?
Yes
Have you tried any other versions of NVDA? If so, please report their behaviors.
Works as expected with alpha-35536,b6897d11 (2025.1.0.35536)
If NVDA add-ons are disabled, is your problem still occurring?
Yes
Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?
Yes
The text was updated successfully, but these errors were encountered: