Skip to content
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

Nao update is not working #39

Open
CyrilleB79 opened this issue Mar 8, 2023 · 1 comment
Open

Nao update is not working #39

CyrilleB79 opened this issue Mar 8, 2023 · 1 comment

Comments

@CyrilleB79
Copy link
Contributor

Hello

I have seen on the mailing list that NAO has been updated for 2023.1.
However, manually checking for an update gives me an error dialog box and I cannot update.

Since I may have broken my NVDA config with other test actions, I have eventually downloaded and installed the update. The installation is OK. But trying to update again manually still gives the error message instead of the "No update" message. There is no further information in the log.

Finally, I have made a test on NVDA 2023.1rc1 and a brand new empty config folder. I have installed NAO successfully. But the manual update still gives an error message instead of the "No update" message.

@CyrilleB79
Copy link
Contributor Author

Also, I do not know if it is related.

But today, this error popped up in my log without any action from my end (no manual update).

ERROR - logHandler._threadExceptHook (08:40:53.462) - Thread-457 (_check_proc) (12004):
Exception in thread Thread-457 (_check_proc):
Traceback (most recent call last):
  File "C:\Users\CB232690\AppData\Roaming\nvda\addons\nao\globalPlugins\nao\framework\generic\http.py", line 156, in json_post
    response = urllib.request.urlopen(req, obj, context=ctx)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "urllib\request.pyc", line 216, in urlopen
  File "urllib\request.pyc", line 519, in open
  File "urllib\request.pyc", line 536, in _open
  File "urllib\request.pyc", line 496, in _call_chain
  File "urllib\request.pyc", line 1391, in https_open
  File "urllib\request.pyc", line 1352, in do_open
  File "http\client.pyc", line 1390, in getresponse
  File "http\client.pyc", line 325, in begin
  File "http\client.pyc", line 286, in _read_status
  File "socket.pyc", line 706, in readinto
  File "ssl.pyc", line 1314, in recv_into
  File "ssl.pyc", line 1166, in read
TimeoutError: The read operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "threading.pyc", line 1045, in _bootstrap_inner
  File "threading.pyc", line 982, in run
  File "C:\Users\CB232690\AppData\Roaming\nvda\addons\nao\globalPlugins\nao\framework\generic\updates.py", line 155, in _check_proc
    response = json_post(self._url, cb_data)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\CB232690\AppData\Roaming\nvda\addons\nao\globalPlugins\nao\framework\generic\http.py", line 167, in json_post
    elif isinstance(e, IOError) and isinstance(e.reason, ssl.SSLCertVerificationError) and e.reason.reason == "CERTIFICATE_VERIFY_FAILED":
                                               ^^^^^^^^
AttributeError: 'TimeoutError' object has no attribute 'reason'

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

No branches or pull requests

1 participant