Repository: nvaccess/nvda

Issue:
NVDA not speaking when installing alpha
Apologies if this is a known issue - I could not find any reference.  When trying to install any of the 2019.3 alpha builds, the NVDA error sound occurs and speech is lost.
### Steps to reproduce:
1. Download any NVDA 2019.3 alpha
2. With NVDA 2019.2.1 running, attempt to install the alpha
### Actual behavior:
The intro music plays.
The NVDA error sound is heard and speech output is lost.
### Expected behavior:
Speech continues to guide one through the installation
### System configuration
#### NVDA installed/portable/running from source:
Installed
#### NVDA version:
2019.2.1 or earlier
#### Windows version:
OS Name	Microsoft Windows 10 Home
Version 10.0.18362 Build 18362

#### Name and version of other software in use when reproducing the issue:
Windows Explorer
#### Other information about your system:
The problem occurs whether using eSpeak or Windows OneCoreVoices
### Other questions
#### Does the issue still occur after restarting your PC?
Yes
#### Have you tried any other versions of NVDA? If so, please report their behaviors.
NVDA 2019.2 with the same result.  The issue occurs with any of the 2019.3 alphas I have tried.  I complete the installation (as a portable version) by running Narrator.  The alpha version starts normally, having checked the checkbox and I then turn off Narrator.



Discussion:
I cannot reproduce this on Windows 7. Could you please repro it, and attach nvda-old.log from your %tmp% folder to this issue.
The nvda-old.log file is attached.  However, on further investigation I doubt that it will provide much of relevance.  When I run nvda_snapshot_alpha-18874,6cdb7be0.exe with no screen reader running, the problem still occurs.  That suggests that the problem is in the alpha and is independent of the currently installed copy of NVDA.  Is there any way of getting diagnostics from the installation process?  I just checked the alpha log file and it seems to report only after NVDA starts following the installation.
[nvda-old.log](https://github.com/nvaccess/nvda/files/3693790/nvda-old.log) 

That is very peculiar, as on Windows 7 here I do have an error but its only 
an add on that has deprecated functions in it and will just need to be 
flagged as incompatible. It certainly does not stop talking as the log here 
shows.
INFO - __main__ (09:24:22.544) - MainThread (1836):
Starting NVDA version alpha-18874,6cdb7be0
INFO - core.main (09:24:22.621) - MainThread (1836):
Config dir: C:\Users\Brian\AppData\Roaming\nvda
INFO - config.ConfigManager._loadConfig (09:24:22.621) - MainThread (1836):
Loading config: C:\Users\Brian\AppData\Roaming\nvda\nvda.ini
INFO - config.ConfigManager._loadConfig (09:24:22.636) - MainThread (1836):
Config loaded (after upgrade, and in the state it will be used by NVDA):
{'schemaVersion': 3, 'upgrade': {}, 'update': {'autoCheck': 'True', 
'startupNotification': 'True', 'allowUsageStats': 'True', 
'askedAllowUsageStats': 'True'}, 'general': {'showWelcomeDialogAtStartup': 
'False', 'language': 'Windows', 'saveConfigurationOnExit': 'True', 
'askToExit': 'True', 'playStartAndExitSounds': 'True', 'loggingLevel': 
'DEBUG'}, 'speech': {'synth': 'espeak', 'outputDevice': 'Speakers (4- 
BEHRINGER USB WDM ', 'symbolLevel': '100', 'espeak': {'voice': 'en', 
'variant': 'quincy', 'rate': '40', 'pitch': '40', 'inflection': '75', 
'volume': '95'}, 'sapi5': {'voice': 
'HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Speech\\Voices\\Tokens\\ScanSoftDaniel_Full_22kHz', 
'volume': '100', 'rate': '70', 'pitch': '49'}, 'mssp': {'voice': 
'HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Speech 
Server\\v11.0\\Voices\\Tokens\\TTS_MS_en-GB_Hazel_11.0', 'volume': '90', 
'rate': '45'}, 'silence': {}, 'sapi4': {'voice': 
'{BF5EAD40-9F65-11CF-8FC8-0020AF14F271}', 'rate': '100', 'pitch': '26', 
'volume': '54'}, 'speechPlayerInEspeak': {'voice': 'en', 'variant': 
'quincy', 'rate': '40', 'pitch': '40', 'inflection': '75', 'volume': '99'}, 
'pico': {'voice': 'en-gb', 'volume': '77', 'rate': '55', 'pitch': '40'}, 
'dectalk': {'voice': 'Frank', 'rate': '38', 'pitch': '19', 'inflection': 
'40'}}, 'braille': {'messageTimeout': '4', 'noBraille': {'port': ''}}, 
'presentation': {'reportTooltips': 'True', 
'guessObjectPositionInformationWhenUnavailable': 'True', 
'reportObjectDescriptions': 'True', 'progressBarUpdates': 
{'progressBarOutputMode': 'both'}}, 'virtualBuffers': 
{'autoPassThroughOnCaretMove': 'True'}, 'documentFormatting': 
{'reportRevisions': 'False', 'reportSpellingErrors': 'False', 
'reportLineIndentation': 'False', 'reportBlockQuotes': 'False', 
'autoLanguageSwitching': 'True', 'detectFormatAfterCursor': 'False', 
'reportFontName': 'False', 'reportFontSize': 'False', 'reportAlignment': 
'True', 'reportStyle': 'False', 'reportFontAttributes': 'False', 
'reportEmphasis': 'False', 'reportLineIndentationWithTones': 'True', 
'reportParagraphIndentation': 'False', 'reportLineSpacing': 'False'}, 
'keyboard': {'speakTypedCharacters': 'True', 'useCapsLockAsNVDAModifierKey': 
'False', 'keyboardLayout': 'desktop', 'speakTypedWords': 'False'}, 
'wintenApps': {'updateCheckTime': '1529135589'}, 'speechViewer': {'x': '68', 
'y': '44', 'width': '500', 'height': '500', 'displays': ['(1920, 1080)'], 
'autoPositionWindow': 'False'}, 'audioThemes': {'speakRole': 'True'}, 
'mouse': {'enableMouseTracking': 'True'}, 'development': 
{'enableScratchpadDir': 'False'}, 'clipContentsDesigner': {'confirmToCopy': 
'True', 'confirmToCut': 'True'}}
DEBUG - core.main (09:24:22.652) - MainThread (1836):
setting language to Windows
INFO - core.main (09:24:22.652) - MainThread (1836):
Using Windows version 6.1.7601 service pack 1 workstation
INFO - core.main (09:24:22.652) - MainThread (1836):
Using Python version 3.7.4 (tags/v3.7.4:e09359112e, Jul  8 2019, 19:29:22) 
[MSC v.1916 32 bit (Intel)]
INFO - core.main (09:24:22.652) - MainThread (1836):
Using comtypes version 1.1.7
INFO - core.main (09:24:22.652) - MainThread (1836):
Using configobj version 5.1.0 with validate version 1.0.1
DEBUG - core.main (09:24:22.652) - MainThread (1836):
Initializing add-ons system
DEBUG - addonHandler._getAvailableAddonsFromPath (09:24:22.652) - MainThread 
(1836):
Listing add-ons from C:\Users\Brian\AppData\Roaming\nvda\addons
DEBUG - addonHandler._getAvailableAddonsFromPath (09:24:22.652) - MainThread 
(1836):
Loading add-on from C:\Users\Brian\AppData\Roaming\nvda\addons\addonUpdater
DEBUG - addonHandler._getAvailableAddonsFromPath (09:24:22.652) - MainThread 
(1836):
Found add-on addonUpdater - 19.10.1. Requires API: (2019, 2, 0). Last-tested 
API: (2019, 3, 0)
DEBUG - addonHandler._getAvailableAddonsFromPath (09:24:22.652) - MainThread 
(1836):
Loading add-on from 
C:\Users\Brian\AppData\Roaming\nvda\addons\applicationDictionary
DEBUG - addonHandler._getAvailableAddonsFromPath (09:24:22.652) - MainThread 
(1836):
Found add-on applicationDictionary - 1.2-dev. Requires API: (2014, 1, 0). 
Last-tested API: (2019, 4, 0)
DEBUG - addonHandler._getAvailableAddonsFromPath (09:24:22.652) - MainThread 
(1836):
Loading add-on from C:\Users\Brian\AppData\Roaming\nvda\addons\AudioThemes3D
DEBUG - addonHandler._getAvailableAddonsFromPath (09:24:22.652) - MainThread 
(1836):
Found add-on AudioThemes3D - 5.1. Requires API: (2014, 1, 0). Last-tested 
API: (2019, 4, 0)
DEBUG - addonHandler._getAvailableAddonsFromPath (09:24:22.652) - MainThread 
(1836):
Loading add-on from C:\Users\Brian\AppData\Roaming\nvda\addons\debugHelper
DEBUG - addonHandler._getAvailableAddonsFromPath (09:24:22.652) - MainThread 
(1836):
Found add-on debugHelper - 0.6-dev1. Requires API: (2017, 3, 0). Last-tested 
API: (2019, 3, 0)
DEBUG - addonHandler._getAvailableAddonsFromPath (09:24:22.652) - MainThread 
(1836):
Loading add-on from C:\Users\Brian\AppData\Roaming\nvda\addons\dropbox
DEBUG - addonHandler._getAvailableAddonsFromPath (09:24:22.668) - MainThread 
(1836):
Found add-on dropbox - 4.3. Requires API: (2014, 1, 0). Last-tested API: 
(2019, 4, 0)
DEBUG - addonHandler._getAvailableAddonsFromPath (09:24:22.668) - MainThread 
(1836):
Loading add-on from 
C:\Users\Brian\AppData\Roaming\nvda\addons\extendedWinamp
DEBUG - addonHandler._getAvailableAddonsFromPath (09:24:22.668) - MainThread 
(1836):
Found add-on extendedWinamp - 1.1. Requires API: (2017, 3, 0). Last-tested 
API: (2019, 3, 0)
DEBUG - addonHandler._getAvailableAddonsFromPath (09:24:22.668) - MainThread 
(1836):
Loading add-on from 
C:\Users\Brian\AppData\Roaming\nvda\addons\fakeClipboardAnouncement
DEBUG - addonHandler._getAvailableAddonsFromPath (09:24:22.668) - MainThread 
(1836):
Found add-on fakeClipboardAnouncement - 1.0. Requires API: (2014, 1, 0). 
Last-tested API: (2019, 4, 0)
DEBUG - addonHandler._getAvailableAddonsFromPath (09:24:22.668) - MainThread 
(1836):
Loading add-on from 
C:\Users\Brian\AppData\Roaming\nvda\addons\focusHighlight
DEBUG - addonHandler._getAvailableAddonsFromPath (09:24:22.668) - MainThread 
(1836):
Found add-on focusHighlight - 6.3. Requires API: (2014, 1, 0). Last-tested 
API: (2020, 1, 0)
DEBUG - addonHandler._getAvailableAddonsFromPath (09:24:22.668) - MainThread 
(1836):
Loading add-on from C:\Users\Brian\AppData\Roaming\nvda\addons\goldenCursor
DEBUG - addonHandler._getAvailableAddonsFromPath (09:24:22.668) - MainThread 
(1836):
Found add-on goldenCursor - 3.7. Requires API: (2017, 3, 0). Last-tested 
API: (2019, 3, 0)
DEBUG - addonHandler._getAvailableAddonsFromPath (09:24:22.668) - MainThread 
(1836):
Loading add-on from C:\Users\Brian\AppData\Roaming\nvda\addons\goldwave
DEBUG - addonHandler._getAvailableAddonsFromPath (09:24:22.668) - MainThread 
(1836):
Found add-on goldwave - 19.04.1. Requires API: (2017, 3, 0). Last-tested 
API: (2019, 3, 0)
DEBUG - addonHandler._getAvailableAddonsFromPath (09:24:22.668) - MainThread 
(1836):
Loading add-on from C:\Users\Brian\AppData\Roaming\nvda\addons\IndentNav
DEBUG - addonHandler._getAvailableAddonsFromPath (09:24:22.668) - MainThread 
(1836):
Found add-on IndentNav - 1.6. Requires API: (2018, 1, 0). Last-tested API: 
(2019, 4, 0)
DEBUG - addonHandler._getAvailableAddonsFromPath (09:24:22.668) - MainThread 
(1836):
Loading add-on from C:\Users\Brian\AppData\Roaming\nvda\addons\Mozilla
DEBUG - addonHandler._getAvailableAddonsFromPath (09:24:22.668) - MainThread 
(1836):
Found add-on Mozilla - 1.9. Requires API: (2018, 1, 0). Last-tested API: 
(2019, 3, 0)
DEBUG - addonHandler._getAvailableAddonsFromPath (09:24:22.668) - MainThread 
(1836):
Loading add-on from C:\Users\Brian\AppData\Roaming\nvda\addons\OpenLinkWith
DEBUG - addonHandler._getAvailableAddonsFromPath (09:24:22.668) - MainThread 
(1836):
Found add-on openLinkWith - 2.1-dev. Requires API: (2017, 3, 0). Last-tested 
API: (2019, 3, 0)
DEBUG - addonHandler._getAvailableAddonsFromPath (09:24:22.668) - MainThread 
(1836):
Loading add-on from C:\Users\Brian\AppData\Roaming\nvda\addons\pico
DEBUG - addonHandler._getAvailableAddonsFromPath (09:24:22.668) - MainThread 
(1836):
Found add-on pico - 1.0. Requires API: (2017, 3, 0). Last-tested API: (2019, 
4, 0)
DEBUG - addonHandler._getAvailableAddonsFromPath (09:24:22.668) - MainThread 
(1836):
Loading add-on from 
C:\Users\Brian\AppData\Roaming\nvda\addons\resourceMonitor
DEBUG - addonHandler._getAvailableAddonsFromPath (09:24:22.668) - MainThread 
(1836):
Found add-on resourceMonitor - 19.10. Requires API: (2017, 4, 0). 
Last-tested API: (2019, 3, 0)
DEBUG - addonHandler._getAvailableAddonsFromPath (09:24:22.668) - MainThread 
(1836):
Loading add-on from 
C:\Users\Brian\AppData\Roaming\nvda\addons\speechPlayerInEspeak
DEBUG - addonHandler._getAvailableAddonsFromPath (09:24:22.668) - MainThread 
(1836):
Found add-on speechPlayerInEspeak - 0.4.1. Requires API: (0, 0, 0). 
Last-tested API: (0, 0, 0)
DEBUGWARNING - addonHandler._getAvailableAddonsFromPath (09:24:22.668) - 
MainThread (1836):
Add-on speechPlayerInEspeak is considered incompatible
DEBUG - addonHandler._getAvailableAddonsFromPath (09:24:22.668) - MainThread 
(1836):
Loading add-on from C:\Users\Brian\AppData\Roaming\nvda\addons\systrayList
DEBUG - addonHandler._getAvailableAddonsFromPath (09:24:22.668) - MainThread 
(1836):
Found add-on systrayList - 3.6. Requires API: (2017, 3, 0). Last-tested API: 
(2019, 3, 0)
DEBUG - addonHandler._getAvailableAddonsFromPath (09:24:22.668) - MainThread 
(1836):
Loading add-on from C:\Users\Brian\AppData\Roaming\nvda\addons\textnav
DEBUG - addonHandler._getAvailableAddonsFromPath (09:24:22.668) - MainThread 
(1836):
Found add-on textnav - 1.2. Requires API: (2018, 1, 0). Last-tested API: 
(2019, 4, 0)
DEBUG - addonHandler._getAvailableAddonsFromPath (09:24:22.668) - MainThread 
(1836):
Loading add-on from 
C:\Users\Brian\AppData\Roaming\nvda\addons\toolbarsExplorer
DEBUG - addonHandler._getAvailableAddonsFromPath (09:24:22.668) - MainThread 
(1836):
Found add-on toolbarsExplorer - 1.3. Requires API: (2017, 3, 0). Last-tested 
API: (2019, 3, 0)
DEBUGWARNING - touchHandler.touchSupported (09:24:22.802) - MainThread 
(1836):
Touch only supported on installed copies
DEBUG - core.main (09:24:22.848) - MainThread (1836):
Initializing appModule Handler
DEBUG - addonHandler.Addon.addToPackagePath (09:24:22.849) - MainThread 
(1836):
Addon dropbox added to appModules package path
DEBUG - addonHandler.Addon.addToPackagePath (09:24:22.849) - MainThread 
(1836):
Addon extendedWinamp added to appModules package path
DEBUG - addonHandler.Addon.addToPackagePath (09:24:22.849) - MainThread 
(1836):
Addon goldwave added to appModules package path
DEBUG - addonHandler.Addon.addToPackagePath (09:24:22.850) - MainThread 
(1836):
Addon Mozilla added to appModules package path
DEBUG - core.main (09:24:22.850) - MainThread (1836):
Initializing NVDAHelper
DEBUG - core.main (09:24:22.870) - MainThread (1836):
Speech Dictionary processing
DEBUG - speechDictHandler.SpeechDict.load (09:24:22.870) - MainThread 
(1836):
Loading speech dictionary 
'C:\Users\Brian\AppData\Roaming\nvda\speechDicts\default.dic'...
DEBUG - speechDictHandler.SpeechDict.load (09:24:22.870) - MainThread 
(1836):
file 'C:\Users\Brian\AppData\Roaming\nvda\speechDicts\default.dic' not 
found.
DEBUG - speechDictHandler.SpeechDict.load (09:24:22.870) - MainThread 
(1836):
Loading speech dictionary 'builtin.dic'...
DEBUG - speechDictHandler.SpeechDict.load (09:24:22.872) - MainThread 
(1836):
3 loaded records.
DEBUG - core.main (09:24:22.872) - MainThread (1836):
Initializing speech
DEBUG - addonHandler.Addon.addToPackagePath (09:24:22.872) - MainThread 
(1836):
Addon pico added to synthDrivers package path
INFO - synthDrivers.espeak.SynthDriver.__init__ (09:24:22.886) - MainThread 
(1836):
Using eSpeak NG version b'1.49.3 dev'
DEBUG - speechDictHandler.SpeechDict.load (09:24:22.918) - MainThread 
(1836):
Loading speech dictionary 
'C:\Users\Brian\AppData\Roaming\nvda\speechDicts\voiceDicts.v1\espeak\espeak-English 
(Great Britain).dic'...
DEBUG - speechDictHandler.SpeechDict.load (09:24:22.919) - MainThread 
(1836):
9 loaded records.
DEBUG - synthDriverHandler.SynthDriver.loadSettings (09:24:22.919) - 
MainThread (1836):
Loaded settings for SynthDriver espeak
INFO - synthDriverHandler.setSynth (09:24:22.919) - MainThread (1836):
Loaded synthDriver espeak
INFO - core.main (09:24:22.919) - MainThread (1836):
Using wx version 4.0.3 msw (phoenix) wxWidgets 3.0.5 with six version 1.12.0
DEBUG - core.main (09:24:22.922) - MainThread (1836):
Initializing braille input
INFO - brailleInput.initialize (09:24:22.922) - MainThread (1836):
Braille input initialized
DEBUG - core.main (09:24:22.922) - MainThread (1836):
Initializing braille
INFO - braille.initialize (09:24:22.922) - MainThread (1836):
Using liblouis version 3.10.0
INFO - braille.initialize (09:24:22.925) - MainThread (1836):
Using pySerial version 3.4
INFO - braille.BrailleHandler.setDisplayByName (09:24:22.929) - MainThread 
(1836):
Loaded braille display driver noBraille, current display has 0 cells.
DEBUG - core.main (09:24:22.929) - MainThread (1836):
Initializing vision
DEBUG - core.main (09:24:22.930) - MainThread (1836):
Initializing displayModel
DEBUG - core.main (09:24:22.930) - MainThread (1836):
Initializing GUI
DEBUG - windowUtils._rawWindowProc (09:24:22.937) - MainThread (1836):
CustomWindow rawWindowProc called for unknown window 590904
DEBUG - windowUtils._rawWindowProc (09:24:22.937) - MainThread (1836):
CustomWindow rawWindowProc called for unknown window 590904
DEBUG - windowUtils._rawWindowProc (09:24:22.938) - MainThread (1836):
CustomWindow rawWindowProc called for unknown window 590904
DEBUG - windowUtils._rawWindowProc (09:24:22.938) - MainThread (1836):
CustomWindow rawWindowProc called for unknown window 590904
DEBUG - core.main (09:24:22.940) - MainThread (1836):
initializing Java Access Bridge support
WARNING - core.main (09:24:22.940) - MainThread (1836):
Java Access Bridge not available
DEBUG - core.main (09:24:22.941) - MainThread (1836):
Initializing legacy winConsole support
DEBUG - core.main (09:24:22.942) - MainThread (1836):
Initializing UIA support
INFO - _UIAHandler.UIAHandler.MTAThreadFunc (09:24:22.946) - 
_UIAHandler.UIAHandler.MTAThread (3508):
UIAutomation: IUIAutomation
DEBUG - core.main (09:24:23.189) - MainThread (1836):
Initializing IAccessible support
DEBUG - core.main (09:24:23.189) - MainThread (1836):
Initializing input core
DEBUGWARNING - inputCore.InputManager.loadLocaleGestureMap (09:24:23.190) - 
MainThread (1836):
No locale gesture map for language en
DEBUG - core.main (09:24:23.190) - MainThread (1836):
Initializing keyboard handler
DEBUG - core.main (09:24:23.190) - MainThread (1836):
initializing mouse handler
DEBUG - core.main (09:24:23.227) - MainThread (1836):
Initializing touchHandler
DEBUGWARNING - touchHandler.touchSupported (09:24:23.227) - MainThread 
(1836):
Touch only supported on installed copies
DEBUG - core.main (09:24:23.227) - MainThread (1836):
Initializing global plugin handler
DEBUG - addonHandler.Addon.addToPackagePath (09:24:23.227) - MainThread 
(1836):
Addon addonUpdater added to globalPlugins package path
DEBUG - addonHandler.Addon.addToPackagePath (09:24:23.227) - MainThread 
(1836):
Addon applicationDictionary added to globalPlugins package path
DEBUG - addonHandler.Addon.addToPackagePath (09:24:23.228) - MainThread 
(1836):
Addon AudioThemes3D added to globalPlugins package path
DEBUG - addonHandler.Addon.addToPackagePath (09:24:23.228) - MainThread 
(1836):
Addon debugHelper added to globalPlugins package path
DEBUG - addonHandler.Addon.addToPackagePath (09:24:23.228) - MainThread 
(1836):
Addon dropbox added to globalPlugins package path
DEBUG - addonHandler.Addon.addToPackagePath (09:24:23.228) - MainThread 
(1836):
Addon fakeClipboardAnouncement added to globalPlugins package path
DEBUG - addonHandler.Addon.addToPackagePath (09:24:23.228) - MainThread 
(1836):
Addon focusHighlight added to globalPlugins package path
DEBUG - addonHandler.Addon.addToPackagePath (09:24:23.228) - MainThread 
(1836):
Addon goldenCursor added to globalPlugins package path
DEBUG - addonHandler.Addon.addToPackagePath (09:24:23.228) - MainThread 
(1836):
Addon IndentNav added to globalPlugins package path
DEBUG - addonHandler.Addon.addToPackagePath (09:24:23.228) - MainThread 
(1836):
Addon openLinkWith added to globalPlugins package path
DEBUG - addonHandler.Addon.addToPackagePath (09:24:23.229) - MainThread 
(1836):
Addon resourceMonitor added to globalPlugins package path
DEBUG - addonHandler.Addon.addToPackagePath (09:24:23.229) - MainThread 
(1836):
Addon systrayList added to globalPlugins package path
DEBUG - addonHandler.Addon.addToPackagePath (09:24:23.229) - MainThread 
(1836):
Addon textnav added to globalPlugins package path
DEBUG - addonHandler.Addon.addToPackagePath (09:24:23.229) - MainThread 
(1836):
Addon toolbarsExplorer added to globalPlugins package path
ERROR - globalPluginHandler.listPlugins (09:24:23.289) - MainThread (1836):
Error importing global plugin audioThemes
Traceback (most recent call last):
  File "globalPluginHandler.pyc", line 23, in listPlugins
  File "importlib\__init__.pyc", line 127, in import_module
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in 
_call_with_frames_removed
  File 
"C:\Users\Brian\AppData\Roaming\nvda\addons\AudioThemes3D\globalPlugins\audioThemes\__init__.py", 
line 23, in <module>
    from .dialogs.manage_dg import ManagerDialog
  File 
"C:\Users\Brian\AppData\Roaming\nvda\addons\AudioThemes3D\globalPlugins\audioThemes\dialogs\__init__.py", 
line 16, in <module>
    from ..backend import audioThemeHandler
  File 
"C:\Users\Brian\AppData\Roaming\nvda\addons\AudioThemes3D\globalPlugins\audioThemes\backend\audioThemeHandler.py", 
line 17, in <module>
    from .unspoken import mixer
  File 
"C:\Users\Brian\AppData\Roaming\nvda\addons\AudioThemes3D\globalPlugins\audioThemes\backend\unspoken\mixer.py", 
line 3, in <module>
    import Queue
ModuleNotFoundError: No module named 'Queue'
DEBUG - core.main (09:24:23.316) - MainThread (1836):
Initializing core pump
DEBUG - core.main (09:24:23.316) - MainThread (1836):
Initializing watchdog
DEBUG - core.main (09:24:23.316) - MainThread (1836):
initializing updateCheck
INFO - core.main (09:24:23.317) - MainThread (1836):
NVDA initialized
DEBUG - core.main (09:24:23.317) - MainThread (1836):
entering wx application main loop
IO - speech.speak (09:24:23.369) - MainThread (1836):
Speaking [LangChangeCommand ('en_GB'), 'NVDA  dialog']
DEBUGWARNING - characterProcessing._getSpeechSymbolsForLocale 
(09:24:23.369) - MainThread (1836):
No CLDR data for locale en_GB
IO - speech.speak (09:24:23.453) - MainThread (1836):
Speaking [LangChangeCommand ('en_GB'), 'License Agreement  grouping']
IO - speech.speak (09:24:23.473) - MainThread (1836):
Speaking [LangChangeCommand ('en_GB'), 'License Agreement  edit  read only 
multi line']
IO - speech.speak (09:24:23.475) - MainThread (1836):
Speaking [LangChangeCommand ('en_GB'), 'align left', 'NVDA License\r']
DEBUGWARNING - Python warning (09:24:23.475) - MainThread (1836):
C:\Users\Brian\AppData\Local\Temp\nsl215.tmp\app\library.zip\api.py:287: 
DeprecationWarning: Yield() is deprecated
IO - inputCore.InputManager.executeGesture (09:24:26.546) - winInputHook 
(868):
Input: kb(desktop):tab
IO - speech.speak (09:24:26.581) - MainThread (1836):
Speaking [LangChangeCommand ('en_GB'), 'I agree  check box  not checked 
Alt+a']
IO - inputCore.InputManager.executeGesture (09:24:27.155) - winInputHook 
(868):
Input: kb(desktop):space
IO - speech.speak (09:24:27.172) - MainThread (1836):
Speaking [LangChangeCommand ('en_GB'), 'space', EndUtteranceCommand()]
IO - speech.speak (09:24:27.285) - MainThread (1836):
Speaking [LangChangeCommand ('en_GB'), 'checked']
IO - inputCore.InputManager.executeGesture (09:24:29.411) - winInputHook 
(868):
Input: kb(desktop):tab
IO - speech.speak (09:24:29.430) - MainThread (1836):
Speaking [LangChangeCommand ('en_GB'), 'Install NVDA on this computer 
button  Alt+i']
IO - inputCore.InputManager.executeGesture (09:24:30.403) - winInputHook 
(868):
Input: kb(desktop):tab
IO - speech.speak (09:24:30.429) - MainThread (1836):
Speaking [LangChangeCommand ('en_GB'), 'Create portable copy  button 
Alt+p']
DEBUGWARNING - RPC process 3312 (nvda_snapshot_alpha-18874,6cdb7be0.exe) 
(09:24:31.666) - Dummy-2 (1672):
Thread 5648, build\x86\remote\ia2Support.cpp, 
IA2Support_inProcess_terminate, 152:
WaitForMultipleObjects returned 258

IO - inputCore.InputManager.executeGesture (09:24:32.219) - winInputHook 
(868):
Input: kb(desktop):tab
IO - speech.speak (09:24:32.239) - MainThread (1836):
Speaking [LangChangeCommand ('en_GB'), 'Continue running  button  Alt+c']
IO - inputCore.InputManager.executeGesture (09:24:33.219) - winInputHook 
(868):
Input: kb(desktop):space
IO - speech.speak (09:24:33.227) - MainThread (1836):
Speaking [LangChangeCommand ('en_GB'), 'space', EndUtteranceCommand()]
IO - speech.speak (09:24:33.227) - MainThread (1836):
Speaking [LangChangeCommand ('en_GB'), 'pressed']
DEBUGWARNING - NVDAObjects.IAccessible.IAccessible._get_IAccessibleRole 
(09:24:33.353) - MainThread (1836):
accRole failed: (-2147024809, 'The parameter is incorrect.', (None, None, 
None, 0, None))
IO - speech.speak (09:24:33.439) - MainThread (1836):
Speaking [LangChangeCommand ('en_GB'), 'Downloads']
IO - speech.speak (09:24:33.513) - MainThread (1836):
Speaking [LangChangeCommand ('en_GB'), 'Items View  list']
IO - speech.speak (09:24:33.553) - MainThread (1836):
Speaking [LangChangeCommand ('en_GB'), 
'nvda_snapshot_alpha-18874,6cdb7be0.exe  130 of 183']
IO - inputCore.InputManager.executeGesture (09:24:36.874) - winInputHook 
(868):
Input: kb(desktop):control+alt+r
IO - speech.speak (09:24:36.962) - MainThread (1836):
Speaking [LangChangeCommand ('en_GB'), 'Taskbar']
IO - speech.speak (09:24:37.016) - MainThread (1836):
Speaking [LangChangeCommand ('en_GB'), 'reboot nvda with log  terminal']
IO - speech.speak (09:24:37.019) - MainThread (1836):
Speaking [LangChangeCommand ('en_GB'), '80 space', 'blank']
INFO - core.main (09:24:37.075) - MainThread (1836):
Exiting
DEBUG - core._terminate (09:24:37.075) - MainThread (1836):
Terminating updateCheck
DEBUG - core._terminate (09:24:37.075) - MainThread (1836):
Terminating watchdog
DEBUG - core._terminate (09:24:37.075) - MainThread (1836):
Terminating global plugin handler
DEBUG - core._terminate (09:24:37.577) - MainThread (1836):
Terminating gui
INFO - config.ConfigManager.save (09:24:37.580) - MainThread (1836):
Not writing profile, either --secure or --launcher args present
DEBUG - core.main (09:24:37.580) - MainThread (1836):
calling lose focus on object with focus
DEBUG - core._terminate (09:24:37.581) - MainThread (1836):
Terminating treeInterceptorHandler
DEBUG - core._terminate (09:24:37.581) - MainThread (1836):
Terminating IAccessible support
DEBUG - core._terminate (09:24:37.581) - MainThread (1836):
Terminating UIA support
DEBUG - core._terminate (09:24:37.600) - MainThread (1836):
Terminating Legacy winConsole support
DEBUG - core._terminate (09:24:37.600) - MainThread (1836):
Terminating Java Access Bridge support
DEBUG - core._terminate (09:24:37.601) - MainThread (1836):
Terminating app module handler
DEBUG - core._terminate (09:24:37.601) - MainThread (1836):
Terminating NVDAHelper
DEBUG - core._terminate (09:24:37.617) - MainThread (1836):
Terminating touchHandler
DEBUG - core._terminate (09:24:37.617) - MainThread (1836):
Terminating keyboard handler
DEBUG - core._terminate (09:24:37.617) - MainThread (1836):
Terminating mouseHandler
DEBUG - core._terminate (09:24:37.617) - MainThread (1836):
Terminating inputCore
DEBUG - core._terminate (09:24:37.617) - MainThread (1836):
Terminating vision
DEBUG - core._terminate (09:24:37.617) - MainThread (1836):
Terminating brailleInput
DEBUG - core._terminate (09:24:37.617) - MainThread (1836):
Terminating braille
DEBUG - core._terminate (09:24:37.618) - MainThread (1836):
Terminating speech
DEBUG - core._terminate (09:24:37.618) - MainThread (1836):
Terminating addonHandler
DEBUG - core.main (09:24:38.665) - MainThread (1836):
core done
INFO - __main__ (09:24:38.678) - MainThread (1836):
NVDA exit

This was the latest alpha launched with a portable copy of 2019.2.1 running 
but the same happens with the insstalled copy too.


I'm sure there are clues here, possibly in the config file that is on the 
installation already.

Brian

bglists@blueyonder.co.uk
Sent via blueyonder.
Please address personal E-mail to:-
briang1@blueyonder.co.uk, putting 'Brian Gaff'
in the display name field.
Newsgroup monitored: alt.comp.blind-users
-----  


Before you attempt to do the install again, remove the add on which 
apparently speaks stuff on the screen as you move your finger over them.
 I note that the problem is that part of that add on is actually handling 
spoken output, and as its obviously  no good from the error earlier, its 
probably making it mute. Not sure if the disabling of this in the running 
copy would fix the problem, but I'd disable it in all your copies of 
2019.2.x, to be on the safe side. I think the installer even with no 
screenreader running will always look for a user configuration folder and 
hence will try to use the add ons in there by default when it starts even if 
launched without nvda running completely.
 If you notice it always says an installed copy was found, would you like to 
update it.
 You might like to get down and dirty and look at the manifest file of that 
add on in the route folder of the add on, in a text editor and see what the 
versions and update channel say and see if its corrupted or in some way 
contradictory. To be on the safe side, change the  latest tested version to 
the currently running one, then reboot nvda to check its still working, and 
then try the  new version again and with a bit of luck it will mark it as 
incompatible. This will also explain why we who run windows 7 cannot get the 
error as that add on is only of use to those who have a touch screen enabled 
version of windows.
 Brian

bglists@blueyonder.co.uk
Sent via blueyonder.
Please address personal E-mail to:-
briang1@blueyonder.co.uk, putting 'Brian Gaff'
in the display name field.
Newsgroup monitored: alt.comp.blind-users
-----  


I removed Audio Screen and disabled all other addons from my installed NVDA 2019.2.1.  The alpha still does not speak during the install process.  I would prefer not to remove all addons in the name of science, but will do so if it is considered that having addons not compatible with 2019.3 would cause the problem.  As a side note, this addon compatibility thing has always made me nervous and I am hoping that those that are important to me will be updated before 2019.3 is released.
The problem lies with your dictionaries. Could you please temporarily move all .dic files from speechDicts folder to somewhere else, and start Alpha again.
Well spotted.  Yes, removing dictionaries resolved the issue.  It looks like default.dic is the only one causing the problem.  I have two regular expression entries in it, although they are not active (I set to anywhere).  When restoring default.dic after installing the alpha, it runs happily but does not recognise the entries in default.dic.

Could you upload your default.dic preferably entire file, not just these two problematic expressions?
They are in fact the only entries.  File attached.
[default.zip](https://github.com/nvaccess/nvda/files/3694891/default.zip)

cc @leonardder @feerrenrut Could one of you please look into this? It needs to be resolved before 2019.3 I think. There is another report of the same issue in #10355
hi @andrew-l-d 
Please use nvda alpha-19012 to see if you can reproduce this problem?
thank
There are two problems here:
1. That default.dic is actually invalid as although the 3 patterns are regular expressions, 2 of them have been flagged in the file as word match, and one as anywhere. None of them are flagged as regular expression. I am assuming this is user error when creating the entries in the Add dictionary Entry dialog. Because of this, NVDA escapes the regular expression so that it can be dafely embedded into its own larger regular expression for matching on word and or anywhere.
2. In Python 3, re.sub throws a re.error exception if the replacement references a numeric group that does not exist in the pattern. In Python 2, re.sub silently ignores this error.

So with this default.dic, I'm assuming that in NVDA 2019.2.1 and below, although those entries were in there, they actually did nothing. But in NVDA 2019.3 they will be treated as being invalid.
We should at a minimum catch re.error here. Preferrably we should catch re.error, log an error stating the entry is invalid, and then remove it from the in-memory speech dictionaries so that it is not processed over and over again. 
Michael is not quite right :).  It was not user error, but user laziness.  They are features that I want from time to time.  As mentioned earlier, rather than re-entering them when required, I set them to something other than regular expression most of the time and change to regular expression at relevant times.  I will shame-facedly remove them or perhaps think of something to add in the regular expression that will stop them firing.
Alpha 1912 loads as it should when regular expression entries are set correctly but not otherwise.

Andrew


Resolving patch:
diff --git a/source/speechDictHandler/__init__.py b/source/speechDictHandler/__init__.py
--- a/source/speechDictHandler/__init__.py
+++ b/source/speechDictHandler/__init__.py
@@ -47,6 +47,8 @@ def sub(self, text):
 
 class SpeechDict(list):
 
+	fileName = None
+
 	def load(self, fileName):
 		self.fileName=fileName
 		comment=""
@@ -98,8 +100,16 @@ def save(self,fileName=None):
 		file.close()
 
 	def sub(self, text):
-		for entry in self:
-			text = entry.sub(text)
+		invalidEntries = []
+		for index, entry in enumerate(self):
+			try:
+				text = entry.sub(text)
+			except re.error as exc:
+				dictName = self.fileName or "temporary dictionary"
+				log.error(f"Invalid dictionary entry {index+1} in {dictName}: \"{entry.pattern}\", {exc}")
+				invalidEntries.append(index)
+			for index in reversed(invalidEntries):
+				del self[index]
 		return text
 
 def processText(text):


Test patch: