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
Core: Don't Refuse to Start if Add-On Manifest is Missing #7686
Comments
Though it is quite an unusual and unsupported way to destroy an add-on this way, it is indeed quite drastic and probably not very difficult to fix. I'd suggest a p3. |
Hi, either we can use a try/except test and ignore the add-on, or let the add-on user know about this fact. This also means future add-on update will not work either. Thanks.
|
What about the old dodge of putting a home made app module manually in to
see if it fixes a problem with a program?
Brian
|
This actually occurred after removing an add-on via the Add-Ons Manager, but for whatever reason the main directory wasn't removed at which point I received the error detailed in the issue description. |
I agree with P3. One thing that is probably worth thinking about, is how resolving this will impact an add-on developer. One thing that is good about the current behaviour, is that it's clear that there is a problem. |
What is a p3 ? |
Hi, priority level 3, usually assigned for minor changes. Thanks.
From: Vishesh <notifications@github.com>
Sent: Sunday, March 10, 2019 10:40 AM
To: nvaccess/nvda <nvda@noreply.github.com>
Cc: Joseph Lee <joseph.lee22590@gmail.com>; Comment <comment@noreply.github.com>
Subject: Re: [nvaccess/nvda] Core: Don't Refuse to Start if Add-On Manifest is Missing (#7686)
What is a p3 ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#7686 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/AHgLkCBloYvsI8oT4leS5-lelOGpehkBks5vVUN7gaJpZM4QDVPr> .
|
Oh gotcha thanks. |
@awalvie Have you tried to reproduce the issue before writing a fix? I am asking, because for me when performing STR from the initial commend with latest NVDA Alpha the bug isn't occurring anymore. |
Yeah the issue still exists for me and was replicated after following the instructions of the issue. Though I have been testing on the Master Branch and not on the Alpha |
for me it isn't a critical error. I tried with an installed addon and
nvda started normally. Here's the log using latest nvda alpha-snapshot:
ERROR - addonHandler._getAvailableAddonsFromPath (22:36:38.697):
Error loading Addon from path:
C:\Users\Bernd\AppData\Roaming\nvda\addons\columnsReview
Traceback (most recent call last):
File "addonHandler\__init__.pyc", line 186, in
_getAvailableAddonsFromPath
File "addonHandler\__init__.pyc", line 277, in __init__
IOError: [Errno 2] No such file or directory:
u'C:\\Users\\name\\AppData\\Roaming\\nvda\\addons\\columnsReview\\manifest.ini'
Am 17.03.2019 um 15:52 schrieb Vishesh:
…
Yeah the issue still exists for me and was replicated after following
the instructions of the issue. Though I have been testing on the
Master Branch and not on the Alpha
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#7686 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AKun5Ten-LqcPMjoKro6Znl0LJ-WH6Dtks5vXla3gaJpZM4QDVPr>.
|
I have'nt tested this for the Alpha Build but on the current main branch I can still replicate the issue. |
Alpha builds are built from the master branch. |
Fixes #7686 Added a condition that gives an error in the log file if the Directory is empty. Now writes to the log file in case of failing the condition check
STR:
The text was updated successfully, but these errors were encountered: