cc @jcsteh Maybe you can take a look at this Issue.
Steps to reproduce:
This issue may require a specific add-on to reproduce, but I've confirmed that it can only be reproduced with WASAPI enabled.
- Install ClipBoardEnhancement add-on.
- Please press Ctrl+C copy a file to the system clipboard at will.
- Press Ctrl+Numpad7/Numpad9.
- Laptop: NVDA+Alt+UpArrow/DownArrow
- The function of this gesture is to report the name and path of the file in the clipboard.
nvwave.playWaveFile is called in the process.
- Repeat step (3) repeatedly.
- When performing steps (3) and (4), you can feel that NVDA freezes briefly, and you can find some errors in the log.
Actual behavior:
Found the following in the NVDA log:
IO - inputCore.InputManager.executeGesture (18:54:14.232) - winInputHook (8472):
Input: kb(laptop):alt+NVDA+downArrow
ERROR - stderr (18:54:16.126) - nvwave.playWaveFile(FileInClipboard.wav) (9880):
Exception in thread nvwave.playWaveFile(FileInClipboard.wav):
Traceback (most recent call last):
File "threading.pyc", line 926, in _bootstrap_inner
File "threading.pyc", line 870, in run
File "nvwave.pyc", line 710, in play
AttributeError: 'NoneType' object has no attribute 'feed'
Expected behavior:
NVDA should not brief freezes without 'AttributeError'.
NVDA logs, crash dumps and other attachments:
System configuration
NVDA installed/portable/running from source:
Installed
NVDA version:
alpha-28879,a7981cad
Windows version:
Windows 10 22H2 (AMD64) build 19045.3324
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.
nvda-2023.2Beta3 can also reproduce this as long as WASAPI is enabled.
If NVDA add-ons are disabled, is your problem still occurring?
No
Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?
Yes
cc @jcsteh Maybe you can take a look at this Issue.
Steps to reproduce:
This issue may require a specific add-on to reproduce, but I've confirmed that it can only be reproduced with WASAPI enabled.
nvwave.playWaveFileis called in the process.Actual behavior:
Found the following in the NVDA log:
Expected behavior:
NVDA should not brief freezes without 'AttributeError'.
NVDA logs, crash dumps and other attachments:
System configuration
NVDA installed/portable/running from source:
Installed
NVDA version:
alpha-28879,a7981cad
Windows version:
Windows 10 22H2 (AMD64) build 19045.3324
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.
nvda-2023.2Beta3 can also reproduce this as long as WASAPI is enabled.
If NVDA add-ons are disabled, is your problem still occurring?
No
Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?
Yes