Skip to content

In some cases, downloading add-ons from the add-on store and performing installation will not install successfully. #15796

Closed

Description

@cary-rowen

Steps to reproduce:

  1. In the Available Add-ons tab, select an add-on to install
  2. Wait for the add-on download to complete
  3. Press ESC.
  4. NVDA asks if you want to install it, click Y.

Actual behavior:

Show "Installing", No matter how long you wait, nothing will change.

Expected behavior:

Execute the add-on installation process and restart.

NVDA logs, crash dumps and other attachments:

DEBUG - gui._addonStoreGui.viewModels.addonList.AddonListItemVM.status (11:31:44.751) - MainThread (10780):
addon status change: NVDACNMirror-stable: status: AvailableAddonStatus.INSTALLING
DEBUG - gui._addonStoreGui.viewModels.store.AddonStoreVM._doInstall (11:31:44.751) - MainThread (10780):
NVDACNMirror-stable status: AvailableAddonStatus.INSTALLING
ERROR - unhandled exception (11:31:44.751) - MainThread (10780):
Traceback (most recent call last):
  File "gui\_addonStoreGui\controls\storeDialog.pyc", line 246, in onClose
  File "gui\_addonStoreGui\viewModels\store.pyc", line 356, in installPending
  File "gui\_addonStoreGui\viewModels\store.pyc", line 366, in _doInstall
  File "_addonStore\install.pyc", line 84, in installAddon
  File "_addonStore\install.pyc", line 39, in _getAddonBundleToInstallIfValid
  File "addonHandler\__init__.pyc", line 793, in __init__
  File "zipfile.pyc", line 1240, in __init__
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\cary\\AppData\\Roaming\\nvda\\addonStore\\_dl\\NVDACNMirror-0.5.2.nvda-addon'
DEBUG - gui._addonStoreGui.viewModels.addonList.AddonListVM._itemDataUpdated (11:31:44.761) - MainThread (10780):
Item updated: AddonListItemVM: NVDACNMirror-stable, AvailableAddonStatus.INSTALLING
DEBUG - gui._addonStoreGui.viewModels.addonList.AddonListVM._itemDataUpdated (11:31:44.761) - MainThread (10780):
Notifying of update
DEBUG - gui._addonStoreGui.controls.addonList.AddonVirtualList._itemDataUpdated (11:31:44.797) - MainThread (10780):
index: 55
IO - inputCore.InputManager.executeGesture (11:31:45.090) - winInputHook (10580):
Input: kb(laptop):tab
IO - tones.beep (11:31:45.744) - MainThread (10780):
Beep at pitch 440, for 40 ms, left volume 50, right volume 50
IO - speech.speech.speak (11:31:45.745) - MainThread (10780):
Speaking ['请等待']
IO - tones.beep (11:31:45.858) - MainThread (10780):
Beep at pitch 110.0, for 40 ms, left volume 50, right volume 50
IO - speech.speech.speak (11:31:45.859) - MainThread (10780):
Speaking ['百分之 0']

System configuration

NVDA installed/portable/running from source:

installed

NVDA version:

2023.3

Windows version:

Windows 10 22H2 (AMD64) build 19045.3448

Name and version of other software in use when reproducing the issue:

None

Other information about your system:

None

Other questions

Does the issue still occur after restarting your computer?

yes

Have you tried any other versions of NVDA? If so, please report their behaviors.

No

If NVDA add-ons are disabled, is your problem still occurring?

Not tested

Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?

Not tested

Activity

  1. CyrilleB79 commented on Nov 17, 2023

    @CyrilleB79
    Collaborator

    I have already faced such issue. But I do not remember if I was doing normal things expected from a user or if I had been playing with files, etc.

    The current issue actually shows two sub-issues:

    1. In case of error, the installation progress dialog is never closed
    2. A file that has just been downloaded cannot be found

    Regarding point 1:
    If there is an unforeseen error during the execution of NVDA's code to install the add-on (not the add-on's own install task), the error is not captured and the installation dialog with the progress bar is never closed.
    In case of unforeseen error, either a message box should be shown or only an error should be logged, but in any case, the install progress should be closed since there is no installation task running anymore.

    Regarding point 2:
    We can wonder why an add-on file that should have just been downloaded cannot be found; I have no explanation.

  2. Brian1Gaff commented on Nov 17, 2023

    @Brian1Gaff
  3. added this to the 2024.1 milestone on Nov 21, 2023
  4. added
    p3https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority
    triagedHas been triaged, issue is waiting for implementation.
    feature/addon-storeFeatures / behavior of the add-on Store
    needs-technical-investigationA technical investigation is required to progress the issue.
    on Nov 21, 2023
  5. added a commit that references this issue on Dec 4, 2023
    36d5f50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature/addon-storeFeatures / behavior of the add-on Storeneeds-technical-investigationA technical investigation is required to progress the issue.p3https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#prioritytriagedHas been triaged, issue is waiting for implementation.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions