Hello all I am herewith releasing the first stable version of Debug Helper. This is an add-on which is intended to help people who do a lot of work with the NVDA log. If you are trying to report problems with something you're doing, or writing an add-on, or trying to fix something, you may find it useful to be able to jump right to the spot in the log before or after the error occurred, or some important output happened. At the press of a key (default: nvda+shift+F1), this add-on will insert a "mark line" in the NVDA log, which you can then search for in a text editor. Each mark line includes a sequential number, and can have 1 or more blank lines before/after it to aid in finding it quickly when fast-arrowing. It is Python 2 and 3 compatible, and works in NVDA versions from 2017.3 through 2019.3. The add-on will hopefully be on the community site soon, but for now it can be downloaded here: https://github.com/XLTechie/debugHelper/releases/download/1.0/debugHelper-1.0.nvda-addonFull documentation, including larger usage examples: https://github.com/XLTechie/debugHelper/blob/stable/readme.mdGitHub repo (for issues/to download development versions, etc.): https://github.com/XLTechie/debugHelperThis is a small add-on with a very specific set of use cases right now, but if you have ideas for ways it could be expanded, please contact me. Luke
|
|

Ján Kulik
Hi, installation of the add-on has failed, it cannot be installed
|
|
Can you provide some more information please? What version of Windows? What version of NVDA? It has so far installed fine in all tests that I have run.
Thank you.
Luke
toggle quoted messageShow quoted text
On Fri, 23 Aug 2019, Ján Kulik wrote: Hi, installation of the add-on has failed, it cannot be installed
|
|
toggle quoted messageShow quoted text
On Fri, 23 Aug 2019, Ján Kulik wrote: Hi, installation of the add-on has failed, it cannot be installed _.
|
|
Hello Luke
At home Win 10 1903, NVDA 2019.2, installation OK. At work: * NVDA 2019.2 * Win 10 but do not remember the exact version, surely not 1903, maybe something like 16xx * The addon installation has failed the first time, and succeeded the second time * Trying to install again on the previously installed version, it has failed at the third time and succeeded at the 4th time. Sorry, I did not capture the log. If you do not get one until then, I will try to get a log on next Monday.
Cheers,
Cyrille
toggle quoted messageShow quoted text
-----Message d'origine----- De : nvda-addons@nvda-addons.groups.io <nvda-addons@nvda-addons.groups.io> De la part de Luke Davis Envoyé : vendredi 23 août 2019 20:28 À : nvda-addons@nvda-addons.groups.io Objet : Re: [nvda-addons] Debug Helper 1.0: new stable add-on released #addonrelease Would one or two others be willing to test this please? I am not seeing any problems on Win 10 1903 64bit, NVDA beta or alpha, and some earlier versions. If you do test, please report your Windows and NVDA versions. Again, the URL is: https://github.com/XLTechie/debugHelper/releases/download/1.0/debugHelper-1.0.nvda-addonLuke On Fri, 23 Aug 2019, Ján Kulik wrote: Hi, installation of the add-on has failed, it cannot be installed _.
|
|
hello installing the addon on windows7 64bit,nvda 2019.2 got this error: Requesting installation of add-on from C:\Users\ibrahim\nvda add-ons\debugHelper-1.0.nvda-addon DEBUG - windowUtils.getWindowScalingFactor (11:27:38.055): GetDpiForWindow failed, using GetDeviceCaps instead IO - speech.speak (11:27:38.875): Speaking [LangChangeCommand ('en'), u'Add-on Installation dialog Are you sure you want to install this add-on?\nOnly install add-ons from trusted sources.\nAddon: Debug Helper 1.0'] DEBUGWARNING - synthDrivers.sapi4.SynthDriver.speak (11:27:38.878): Unsupported speech command: LangChangeCommand ('en') IO - speech.speak (11:27:38.887): Speaking [LangChangeCommand ('en'), u'About add-on... button Alt+a'] DEBUGWARNING - synthDrivers.sapi4.SynthDriver.speak (11:27:38.888): Unsupported speech command: LangChangeCommand ('en') IO - inputCore.InputManager.executeGesture (11:27:52.809): Input: kb(laptop):tab IO - speech.speak (11:27:52.839): Speaking [LangChangeCommand ('en'), u'Yes button Alt+y'] DEBUGWARNING - synthDrivers.sapi4.SynthDriver.speak (11:27:52.842): Unsupported speech command: LangChangeCommand ('en') IO - inputCore.InputManager.executeGesture (11:27:54.437): Input: kb(laptop):space IO - speech._speakSpellingGen (11:27:54.469): Speaking character u'space' DEBUGWARNING - synthDrivers.sapi4.SynthDriver.speak (11:27:54.469): Unsupported speech command: LangChangeCommand ('en') DEBUG - queueHandler.registerGeneratorObject (11:27:54.486): Adding generator 13 IO - speech.speak (11:27:54.487): Speaking [LangChangeCommand ('en'), u'pressed'] DEBUGWARNING - synthDrivers.sapi4.SynthDriver.speak (11:27:54.490): Unsupported speech command: LangChangeCommand ('en') DEBUG - queueHandler.pumpAll (11:27:54.545): generator 13 finished DEBUG - addonHandler.Addon.loadModule (11:27:54.737): Importing module installTasks from plugin debugHelper DEBUGWARNING - NVDAObjects.IAccessible.IAccessible._get_IAccessibleRole (11:27:54.769): accRole failed: (-2147024809, 'The parameter is incorrect.', (None, None, None, 0, None)) IO - speech.speak (11:27:54.788): Speaking [LangChangeCommand ('en'), u'nvda add-ons'] DEBUGWARNING - synthDrivers.sapi4.SynthDriver.speak (11:27:54.789): Unsupported speech command: LangChangeCommand ('en') IO - speech.speak (11:27:54.822): Speaking [LangChangeCommand ('en'), u'Items View list'] DEBUGWARNING - synthDrivers.sapi4.SynthDriver.speak (11:27:54.823): Unsupported speech command: LangChangeCommand ('en') IO - speech.speak (11:27:54.828): Speaking [LangChangeCommand ('en'), u'debugHelper-1.0.nvda-addon 87 of 215'] DEBUGWARNING - synthDrivers.sapi4.SynthDriver.speak (11:27:54.828): Unsupported speech command: LangChangeCommand ('en') IO - tones.beep (11:27:54.882): Beep at pitch 1760, for 40 ms, left volume 50, right volume 50 DEBUGWARNING - NVDAObjects.IAccessible.IAccessible._get_IAccessibleRole (11:27:55.344): accRole failed: (-2147024809, 'The parameter is incorrect.', (None, None, None, 0, None)) ERROR - gui.addonGui.installAddon (11:27:55.345): Error installing addon bundle from C:\Users\ibrahim\nvda add-ons\debugHelper-1.0.nvda-addon Traceback (most recent call last): File "gui\addonGui.pyo", line 555, in installAddon File "contextlib.pyo", line 24, in __exit__ File "gui\addonGui.pyo", line 538, in doneAndDestroy RuntimeError: wrapped C/C++ object of type IndeterminateProgressDialog has been deleted -- but after opening the addon manager found it there pending restart Debug Helper; Status: Install, Enabled after restart; Version: 1.0; Author: Luke Davis <newanswertech@gmail.com> closing the addon manager dialog and restart and it works as usual without any problem. regards. ibrahim.
toggle quoted messageShow quoted text
On 23-Aug-19 9:27 PM, Luke Davis wrote: Would one or two others be willing to test this please? I am not seeing any problems on Win 10 1903 64bit, NVDA beta or alpha, and some earlier versions.
If you do test, please report your Windows and NVDA versions.
Again, the URL is: https://github.com/XLTechie/debugHelper/releases/download/1.0/debugHelper-1.0.nvda-addon
Luke
On Fri, 23 Aug 2019, Ján Kulik wrote:
Hi, installation of the add-on has failed, it cannot be installed _.
|
|
Thank you Ibrahim!
So just to confirm: you hear the beep when it should install, but no error is spoken, and there is no indication that the installation might have failed?
The most strange thing here, is that there is no install routine for this add-on, it is completely generic in that respect. So it shouldn't be trying to do anything unusual when installing, that all other add-ons don't also do.
Have you run the comtypes fixing tool recently?
Thanks again for the log.
Luke
toggle quoted messageShow quoted text
On Sat, 24 Aug 2019, Ibrahim Hamadeh wrote: hello installing the addon on windows7 64bit,nvda 2019.2 got this error: Requesting installation of add-on from C:\Users\ibrahim\nvda add-ons\debugHelper-1.0.nvda-addon DEBUG - windowUtils.getWindowScalingFactor (11:27:38.055): GetDpiForWindow failed, using GetDeviceCaps instead IO - speech.speak (11:27:38.875): Speaking [LangChangeCommand ('en'), u'Add-on Installation dialog Are you sure you want to install this add-on?\nOnly install add-ons from trusted sources.\nAddon: Debug Helper 1.0'] DEBUGWARNING - synthDrivers.sapi4.SynthDriver.speak (11:27:38.878): Unsupported speech command: LangChangeCommand ('en') IO - speech.speak (11:27:38.887): Speaking [LangChangeCommand ('en'), u'About add-on... button Alt+a'] DEBUGWARNING - synthDrivers.sapi4.SynthDriver.speak (11:27:38.888): Unsupported speech command: LangChangeCommand ('en') IO - inputCore.InputManager.executeGesture (11:27:52.809): Input: kb(laptop):tab IO - speech.speak (11:27:52.839): Speaking [LangChangeCommand ('en'), u'Yes button Alt+y'] DEBUGWARNING - synthDrivers.sapi4.SynthDriver.speak (11:27:52.842): Unsupported speech command: LangChangeCommand ('en') IO - inputCore.InputManager.executeGesture (11:27:54.437): Input: kb(laptop):space IO - speech._speakSpellingGen (11:27:54.469): Speaking character u'space' DEBUGWARNING - synthDrivers.sapi4.SynthDriver.speak (11:27:54.469): Unsupported speech command: LangChangeCommand ('en') DEBUG - queueHandler.registerGeneratorObject (11:27:54.486): Adding generator 13 IO - speech.speak (11:27:54.487): Speaking [LangChangeCommand ('en'), u'pressed'] DEBUGWARNING - synthDrivers.sapi4.SynthDriver.speak (11:27:54.490): Unsupported speech command: LangChangeCommand ('en') DEBUG - queueHandler.pumpAll (11:27:54.545): generator 13 finished DEBUG - addonHandler.Addon.loadModule (11:27:54.737): Importing module installTasks from plugin debugHelper DEBUGWARNING - NVDAObjects.IAccessible.IAccessible._get_IAccessibleRole (11:27:54.769): accRole failed: (-2147024809, 'The parameter is incorrect.', (None, None, None, 0, None)) IO - speech.speak (11:27:54.788): Speaking [LangChangeCommand ('en'), u'nvda add-ons'] DEBUGWARNING - synthDrivers.sapi4.SynthDriver.speak (11:27:54.789): Unsupported speech command: LangChangeCommand ('en') IO - speech.speak (11:27:54.822): Speaking [LangChangeCommand ('en'), u'Items View list'] DEBUGWARNING - synthDrivers.sapi4.SynthDriver.speak (11:27:54.823): Unsupported speech command: LangChangeCommand ('en') IO - speech.speak (11:27:54.828): Speaking [LangChangeCommand ('en'), u'debugHelper-1.0.nvda-addon 87 of 215'] DEBUGWARNING - synthDrivers.sapi4.SynthDriver.speak (11:27:54.828): Unsupported speech command: LangChangeCommand ('en') IO - tones.beep (11:27:54.882): Beep at pitch 1760, for 40 ms, left volume 50, right volume 50 DEBUGWARNING - NVDAObjects.IAccessible.IAccessible._get_IAccessibleRole (11:27:55.344): accRole failed: (-2147024809, 'The parameter is incorrect.', (None, None, None, 0, None)) ERROR - gui.addonGui.installAddon (11:27:55.345): Error installing addon bundle from C:\Users\ibrahim\nvda add-ons\debugHelper-1.0.nvda-addon Traceback (most recent call last): File "gui\addonGui.pyo", line 555, in installAddon File "contextlib.pyo", line 24, in __exit__ File "gui\addonGui.pyo", line 538, in doneAndDestroy RuntimeError: wrapped C/C++ object of type IndeterminateProgressDialog has been deleted -- but after opening the addon manager found it there pending restart Debug Helper; Status: Install, Enabled after restart; Version: 1.0; Author: Luke Davis <newanswertech@gmail.com> closing the addon manager dialog and restart and it works as usual without any problem. regards. ibrahim.
On 23-Aug-19 9:27 PM, Luke Davis wrote:
Would one or two others be willing to test this please? I am not seeing any problems on Win 10 1903 64bit, NVDA beta or alpha, and some earlier versions.
If you do test, please report your Windows and NVDA versions.
Again, the URL is: https://github.com/XLTechie/debugHelper/releases/download/1.0/debugHelper-1.0.nvda-addon
Luke
On Fri, 23 Aug 2019, Ján Kulik wrote:
Hi, installation of the add-on has failed, it cannot be installed _.
|
|
José Manuel Delicado Alcolea
Hi Luke,
Regarding one of your first comments in the code:
addonHandler.initTranslation() makes your add-on translatable. If
you don't call this function and you try to translate a string
using the _() function, NVDA will try to get a translated string
from its main catalog. Calling initTranslation, translated string
is taken from the add-on translation catalog. You should call
addonHandler.initTranslation from every module in your add-on
which uses the _() function, unless you know very well what you
are doing. If your add-on interface is only in english and you
don't plan to make it available for translation, you don't need to
call this function.
Regards.
toggle quoted messageShow quoted text
El 23/08/2019 a las 5:03, Luke Davis
escribió:
Hello
all
I am herewith releasing the first stable version of Debug Helper.
This is an add-on which is intended to help people who do a lot of
work with the NVDA log. If you are trying to report problems with
something you're doing, or writing an add-on, or trying to fix
something, you may find it useful to be able to jump right to the
spot in the log before or after the error occurred, or some
important output happened.
At the press of a key (default: nvda+shift+F1), this add-on will
insert a "mark line" in the NVDA log, which you can then search
for in a text editor. Each mark line includes a sequential number,
and can have 1 or more blank lines before/after it to aid in
finding it quickly when fast-arrowing.
It is Python 2 and 3 compatible, and works in NVDA versions from
2017.3 through 2019.3.
The add-on will hopefully be on the community site soon, but for
now it can be downloaded here:
https://github.com/XLTechie/debugHelper/releases/download/1.0/debugHelper-1.0.nvda-addon
Full documentation, including larger usage examples:
https://github.com/XLTechie/debugHelper/blob/stable/readme.md
GitHub repo (for issues/to download development versions, etc.):
https://github.com/XLTechie/debugHelper
This is a small add-on with a very specific set of use cases right
now, but if you have ideas for ways it could be expanded, please
contact me.
Luke
|
|
Hi Luke upon installation, yes there was an error message spoken although in the background the addon has been installed but no prompt for restart the issue seems wiered for me really regarding running comtypes fixing recently, no I haven't done that at the same time I find no problems with installing other addons thank you for this addon regards. ibrahim.
toggle quoted messageShow quoted text
On 24-Aug-19 12:25 PM, Luke Davis wrote: Thank you Ibrahim!
So just to confirm: you hear the beep when it should install, but no error is spoken, and there is no indication that the installation might have failed?
The most strange thing here, is that there is no install routine for this add-on, it is completely generic in that respect. So it shouldn't be trying to do anything unusual when installing, that all other add-ons don't also do.
Have you run the comtypes fixing tool recently?
Thanks again for the log.
Luke
On Sat, 24 Aug 2019, Ibrahim Hamadeh wrote:
hello installing the addon on windows7 64bit,nvda 2019.2 got this error: Requesting installation of add-on from C:\Users\ibrahim\nvda add-ons\debugHelper-1.0.nvda-addon DEBUG - windowUtils.getWindowScalingFactor (11:27:38.055): GetDpiForWindow failed, using GetDeviceCaps instead IO - speech.speak (11:27:38.875): Speaking [LangChangeCommand ('en'), u'Add-on Installation dialog Are you sure you want to install this add-on?\nOnly install add-ons from trusted sources.\nAddon: Debug Helper 1.0'] DEBUGWARNING - synthDrivers.sapi4.SynthDriver.speak (11:27:38.878): Unsupported speech command: LangChangeCommand ('en') IO - speech.speak (11:27:38.887): Speaking [LangChangeCommand ('en'), u'About add-on... button Alt+a'] DEBUGWARNING - synthDrivers.sapi4.SynthDriver.speak (11:27:38.888): Unsupported speech command: LangChangeCommand ('en') IO - inputCore.InputManager.executeGesture (11:27:52.809): Input: kb(laptop):tab IO - speech.speak (11:27:52.839): Speaking [LangChangeCommand ('en'), u'Yes button Alt+y'] DEBUGWARNING - synthDrivers.sapi4.SynthDriver.speak (11:27:52.842): Unsupported speech command: LangChangeCommand ('en') IO - inputCore.InputManager.executeGesture (11:27:54.437): Input: kb(laptop):space IO - speech._speakSpellingGen (11:27:54.469): Speaking character u'space' DEBUGWARNING - synthDrivers.sapi4.SynthDriver.speak (11:27:54.469): Unsupported speech command: LangChangeCommand ('en') DEBUG - queueHandler.registerGeneratorObject (11:27:54.486): Adding generator 13 IO - speech.speak (11:27:54.487): Speaking [LangChangeCommand ('en'), u'pressed'] DEBUGWARNING - synthDrivers.sapi4.SynthDriver.speak (11:27:54.490): Unsupported speech command: LangChangeCommand ('en') DEBUG - queueHandler.pumpAll (11:27:54.545): generator 13 finished DEBUG - addonHandler.Addon.loadModule (11:27:54.737): Importing module installTasks from plugin debugHelper DEBUGWARNING - NVDAObjects.IAccessible.IAccessible._get_IAccessibleRole (11:27:54.769): accRole failed: (-2147024809, 'The parameter is incorrect.', (None, None, None, 0, None)) IO - speech.speak (11:27:54.788): Speaking [LangChangeCommand ('en'), u'nvda add-ons'] DEBUGWARNING - synthDrivers.sapi4.SynthDriver.speak (11:27:54.789): Unsupported speech command: LangChangeCommand ('en') IO - speech.speak (11:27:54.822): Speaking [LangChangeCommand ('en'), u'Items View list'] DEBUGWARNING - synthDrivers.sapi4.SynthDriver.speak (11:27:54.823): Unsupported speech command: LangChangeCommand ('en') IO - speech.speak (11:27:54.828): Speaking [LangChangeCommand ('en'), u'debugHelper-1.0.nvda-addon 87 of 215'] DEBUGWARNING - synthDrivers.sapi4.SynthDriver.speak (11:27:54.828): Unsupported speech command: LangChangeCommand ('en') IO - tones.beep (11:27:54.882): Beep at pitch 1760, for 40 ms, left volume 50, right volume 50 DEBUGWARNING - NVDAObjects.IAccessible.IAccessible._get_IAccessibleRole (11:27:55.344): accRole failed: (-2147024809, 'The parameter is incorrect.', (None, None, None, 0, None)) ERROR - gui.addonGui.installAddon (11:27:55.345): Error installing addon bundle from C:\Users\ibrahim\nvda add-ons\debugHelper-1.0.nvda-addon Traceback (most recent call last): File "gui\addonGui.pyo", line 555, in installAddon File "contextlib.pyo", line 24, in __exit__ File "gui\addonGui.pyo", line 538, in doneAndDestroy RuntimeError: wrapped C/C++ object of type IndeterminateProgressDialog has been deleted -- but after opening the addon manager found it there pending restart Debug Helper; Status: Install, Enabled after restart; Version: 1.0; Author: Luke Davis <newanswertech@gmail.com> closing the addon manager dialog and restart and it works as usual without any problem. regards. ibrahim.
On 23-Aug-19 9:27 PM, Luke Davis wrote:
Would one or two others be willing to test this please? I am not seeing any problems on Win 10 1903 64bit, NVDA beta or alpha, and some earlier versions.
If you do test, please report your Windows and NVDA versions.
Again, the URL is: https://github.com/XLTechie/debugHelper/releases/download/1.0/debugHelper-1.0.nvda-addon
Luke
On Fri, 23 Aug 2019, Ján Kulik wrote:
Hi, installation of the add-on has failed, it cannot be installed _.
|
|
Hi After running com registration fixing I have removed the addon and installed it several times all attempts were very successful , without any issue or problem so I think there is no real issue but by the way I noticed that there is no style.css file in doc folder in your addon may be you missed to put it in the root addon template folder. best wishes. ibrahim.
toggle quoted messageShow quoted text
On 24-Aug-19 2:38 PM, Ibrahim Hamadeh wrote: Hi Luke upon installation, yes there was an error message spoken although in the background the addon has been installed but no prompt for restart the issue seems wiered for me really regarding running comtypes fixing recently, no I haven't done that at the same time I find no problems with installing other addons thank you for this addon regards. ibrahim.
On 24-Aug-19 12:25 PM, Luke Davis wrote:
Thank you Ibrahim!
So just to confirm: you hear the beep when it should install, but no error is spoken, and there is no indication that the installation might have failed?
The most strange thing here, is that there is no install routine for this add-on, it is completely generic in that respect. So it shouldn't be trying to do anything unusual when installing, that all other add-ons don't also do.
Have you run the comtypes fixing tool recently?
Thanks again for the log.
Luke
On Sat, 24 Aug 2019, Ibrahim Hamadeh wrote:
hello installing the addon on windows7 64bit,nvda 2019.2 got this error: Requesting installation of add-on from C:\Users\ibrahim\nvda add-ons\debugHelper-1.0.nvda-addon DEBUG - windowUtils.getWindowScalingFactor (11:27:38.055): GetDpiForWindow failed, using GetDeviceCaps instead IO - speech.speak (11:27:38.875): Speaking [LangChangeCommand ('en'), u'Add-on Installation dialog Are you sure you want to install this add-on?\nOnly install add-ons from trusted sources.\nAddon: Debug Helper 1.0'] DEBUGWARNING - synthDrivers.sapi4.SynthDriver.speak (11:27:38.878): Unsupported speech command: LangChangeCommand ('en') IO - speech.speak (11:27:38.887): Speaking [LangChangeCommand ('en'), u'About add-on... button Alt+a'] DEBUGWARNING - synthDrivers.sapi4.SynthDriver.speak (11:27:38.888): Unsupported speech command: LangChangeCommand ('en') IO - inputCore.InputManager.executeGesture (11:27:52.809): Input: kb(laptop):tab IO - speech.speak (11:27:52.839): Speaking [LangChangeCommand ('en'), u'Yes button Alt+y'] DEBUGWARNING - synthDrivers.sapi4.SynthDriver.speak (11:27:52.842): Unsupported speech command: LangChangeCommand ('en') IO - inputCore.InputManager.executeGesture (11:27:54.437): Input: kb(laptop):space IO - speech._speakSpellingGen (11:27:54.469): Speaking character u'space' DEBUGWARNING - synthDrivers.sapi4.SynthDriver.speak (11:27:54.469): Unsupported speech command: LangChangeCommand ('en') DEBUG - queueHandler.registerGeneratorObject (11:27:54.486): Adding generator 13 IO - speech.speak (11:27:54.487): Speaking [LangChangeCommand ('en'), u'pressed'] DEBUGWARNING - synthDrivers.sapi4.SynthDriver.speak (11:27:54.490): Unsupported speech command: LangChangeCommand ('en') DEBUG - queueHandler.pumpAll (11:27:54.545): generator 13 finished DEBUG - addonHandler.Addon.loadModule (11:27:54.737): Importing module installTasks from plugin debugHelper DEBUGWARNING - NVDAObjects.IAccessible.IAccessible._get_IAccessibleRole (11:27:54.769): accRole failed: (-2147024809, 'The parameter is incorrect.', (None, None, None, 0, None)) IO - speech.speak (11:27:54.788): Speaking [LangChangeCommand ('en'), u'nvda add-ons'] DEBUGWARNING - synthDrivers.sapi4.SynthDriver.speak (11:27:54.789): Unsupported speech command: LangChangeCommand ('en') IO - speech.speak (11:27:54.822): Speaking [LangChangeCommand ('en'), u'Items View list'] DEBUGWARNING - synthDrivers.sapi4.SynthDriver.speak (11:27:54.823): Unsupported speech command: LangChangeCommand ('en') IO - speech.speak (11:27:54.828): Speaking [LangChangeCommand ('en'), u'debugHelper-1.0.nvda-addon 87 of 215'] DEBUGWARNING - synthDrivers.sapi4.SynthDriver.speak (11:27:54.828): Unsupported speech command: LangChangeCommand ('en') IO - tones.beep (11:27:54.882): Beep at pitch 1760, for 40 ms, left volume 50, right volume 50 DEBUGWARNING - NVDAObjects.IAccessible.IAccessible._get_IAccessibleRole (11:27:55.344): accRole failed: (-2147024809, 'The parameter is incorrect.', (None, None, None, 0, None)) ERROR - gui.addonGui.installAddon (11:27:55.345): Error installing addon bundle from C:\Users\ibrahim\nvda add-ons\debugHelper-1.0.nvda-addon Traceback (most recent call last): File "gui\addonGui.pyo", line 555, in installAddon File "contextlib.pyo", line 24, in __exit__ File "gui\addonGui.pyo", line 538, in doneAndDestroy RuntimeError: wrapped C/C++ object of type IndeterminateProgressDialog has been deleted -- but after opening the addon manager found it there pending restart Debug Helper; Status: Install, Enabled after restart; Version: 1.0; Author: Luke Davis <newanswertech@gmail.com> closing the addon manager dialog and restart and it works as usual without any problem. regards. ibrahim.
On 23-Aug-19 9:27 PM, Luke Davis wrote:
Would one or two others be willing to test this please? I am not seeing any problems on Win 10 1903 64bit, NVDA beta or alpha, and some earlier versions.
If you do test, please report your Windows and NVDA versions.
Again, the URL is: https://github.com/XLTechie/debugHelper/releases/download/1.0/debugHelper-1.0.nvda-addon
Luke
On Fri, 23 Aug 2019, Ján Kulik wrote:
Hi, installation of the add-on has failed, it cannot be installed _.
.
|
|
Thank you José, that is what I assumed it was doing. However it doesn't seem to be documented, at least not in a way which Python 2 can access via help(), which is why I wasn't quite sure. There is probably documentation somewhere, I just don't remember seeing it.
Luke
toggle quoted messageShow quoted text
On Sat, 24 Aug 2019, José Manuel Delicado Alcolea via Groups.Io wrote: Hi Luke,
Regarding one of your first comments in the code: addonHandler.initTranslation() makes your add-on translatable. If you don't call this function and you try to translate a string using the _() function, NVDA will try to get a translated string from its main catalog. Calling initTranslation, translated string is taken from the add-on translation catalog. You should call addonHandler.initTranslation from every module in your add-on which uses the _() function, unless you know very well what you are doing. If your add-on interface is only in english and you don't plan to make it available for translation, you don't need to call this function.
|
|
Thank you for all of your testing, and for pointing out the missing file. Yes, you're right, I appear to have left it out somehow.
Luke
toggle quoted messageShow quoted text
On Sat, 24 Aug 2019, Ibrahim Hamadeh wrote: Hi After running com registration fixing I have removed the addon and installed it several times all attempts were very successful , without any issue or problem so I think there is no real issue but by the way I noticed that there is no style.css file in doc folder in your addon may be you missed to put it in the root addon template folder. best wishes. ibrahim.
|
|