toggle quoted messageShow quoted text
That's what I thought also.
Within the next two hours, I'll issue an update to Add-on Updater that will catch this and insert debug messages to figure out what's going on.
From: email@example.com <firstname.lastname@example.org> On Behalf Of James Scholes
Sent: Friday, May 22, 2020 11:52 AM
Subject: Re: [nvda-addons] Exception thrown sometimes on NVDA start, maybe related to Updater?
To be clear, checking for version info in this way is a bit of a hack, and you aren't doing any exception handling locally to catch the lack of matching groups from the regular expression. So there could definitely be a server-side inconsistency, but you can't rely on the server returning the correct data at all times and not validate it.
On 22/05/2020 at 12:34 pm, Joseph Lee wrote:
Does Add-on Updater function after you get this exception i.e. does
"check for add-on updates" show up under tools menu? If yes, it might
be a version check issue for at least one add-on (likely a server-side issue).
On Behalf Of Doug Lee
Sent: Friday, May 22, 2020 9:54 AM
Subject: [nvda-addons] Exception thrown sometimes on NVDA start, maybe
related to Updater?
I get this often on the first reload of NVDA after an add-on updater
update of add-ons. Today though, I got the following exception without any updates.
I have my NVDA set up to tell me of issues that normally go
undetected, so this may be common but unreported; not sure. I also
suspect it means one of my add-ons has a malformed manifest.ini line?
INFO - logging.Logger.info (12:42:19.116) - MainThread (39876):
Performing automatic update check
ERROR - stderr (12:42:19.796) - Thread-7 (35516):
Exception in thread Thread-7:
Traceback (most recent call last):
File "threading.pyc", line 926, in _bootstrap_inner
File "threading.pyc", line 870, in run
addonU pdater\addonHandlerEx.py", line 158, in fetchAddonInfo
version = re.search("(?P<name>)-(?P<version>.*).nvda-addon",
AttributeError: 'NoneType' object has no attribute 'groupdict'