Re: Add-On Updater: random auto update failures?


 

Hi,
This is a bit complicated as Add-on Updater uses threads to connect and
retrieve add-on files database simply because urllib.request.urlopen takes
quite a "long time" (as in a few seconds) to respond, eating up main thread
resources (that is, causes NVDA to appear to not respond when in fact it is
working).
Cheers,
Joseph

-----Original Message-----
From: nvda-addons@nvda-addons.groups.io <nvda-addons@nvda-addons.groups.io>
On Behalf Of Luke Davis
Sent: Thursday, April 8, 2021 7:50 PM
To: nvda-addons@nvda-addons.groups.io
Subject: Re: [nvda-addons] Add-On Updater: random auto update failures?

This is just a thought, not a criticism, but might it be better to catch
this and put something more brief in the log instead of a chain of
tracebacks?

A down server, or similar condition, is a failure of a different kind than a
bug.

Luke

On Thu, 8 Apr 2021, Joseph Lee wrote:

I guess a remote server was down (probably GitHub or somewhere).

Join nvda-addons@nvda-addons.groups.io to automatically receive all group messages.