-
-
Notifications
You must be signed in to change notification settings - Fork 716
Open
Description
Steps to reproduce:
- Press
NVDA+Ctrl+z
to open the Python console. - After entering
api.getDesktopObject().devInfo
, press Enter.
Actual behavior:
>>> api.getDesktopObject().devInfo
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "baseObject.pyc", line 59, in __get__
File "baseObject.pyc", line 167, in _getPropertyViaCache
File "NVDAObjects\window\__init__.pyc", line 364, in _get_devInfo
File "baseObject.pyc", line 59, in __get__
File "baseObject.pyc", line 167, in _getPropertyViaCache
File "NVDAObjects\__init__.pyc", line 1560, in _get_devInfo
AttributeError: 'NoneType' object has no attribute 'devInfo'
Expected behavior:
Output the devInfo
of the desktop object
NVDA logs, crash dumps and other attachments:
INFO - __main__ (15:24:45.755) - MainThread (20192):
Starting NVDA version alpha-52452,c07d2614 x86
INFO - core.main (15:24:45.860) - MainThread (20192):
Config dir: D:\NVDA\snapshot\alpha\52452\userConfig
INFO - config.ConfigManager._loadConfig (15:24:45.863) - MainThread (20192):
Loading config: D:\NVDA\snapshot\alpha\52452\userConfig\nvda.ini
INFO - config.ConfigManager._loadConfig (15:24:45.871) - MainThread (20192):
Config loaded (after upgrade, and in the state it will be used by NVDA):
{'schemaVersion': '19', 'update': {'autoCheck': 'True', 'startupNotification': 'True', 'allowUsageStats': 'True', 'askedAllowUsageStats': 'True'}, 'remote': {'connections': {}, 'controlServer': {}, 'seenMOTDs': {}, 'trustedCertificates': {}, 'ui': {}}, 'addonStore': {}, 'general': {'language': 'Windows', 'saveConfigurationOnExit': 'True', 'askToExit': 'True', 'playStartAndExitSounds': 'True', 'loggingLevel': 'DEBUG', 'showWelcomeDialogAtStartup': 'False', 'preventDisplayTurningOff': 'True'}, 'development': {}, 'speech': {'synth': 'oneCore', 'oneCore': {'voice': 'HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Speech_OneCore\\Voices\\Tokens\\MSTTS_V110_zhCN_HuihuiM', 'volume': '100', 'rate': '100'}}, 'braille': {'noBraille': {}}, 'vision': {'NVDAHighlighter': {'highlightFocus': 'False', 'highlightNavigator': 'False', 'highlightBrowseMode': 'False'}, 'screenCurtain': {}}, 'keyboard': {'keyboardLayout': 'laptop', 'NVDAModifierKeys': '7'}}
WARNING - utils._deprecate.module_getattr (15:24:45.904) - MainThread (20192):
winUser.WNDCLASSEXW is deprecated. Use winBindings.user32.WNDCLASSEXW instead.
Stack trace:
File "nvda.pyw", line 309, in <module>
File "core.pyc", line 713, in main
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "NVDAHelper\__init__.pyc", line 48, in <module>
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "eventHandler.pyc", line 13, in <module>
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "api.pyc", line 14, in <module>
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "textInfos\__init__.pyc", line 31, in <module>
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "locationHelper.pyc", line 9, in <module>
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "windowUtils.pyc", line 19, in <module>
File "utils\_deprecate.pyc", line 163, in module_getattr
WARNING - utils._deprecate.module_getattr (15:24:45.904) - MainThread (20192):
winUser.WNDPROC is deprecated. Use winBindings.user32.WNDPROC instead.
Stack trace:
File "nvda.pyw", line 309, in <module>
File "core.pyc", line 713, in main
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "NVDAHelper\__init__.pyc", line 48, in <module>
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "eventHandler.pyc", line 13, in <module>
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "api.pyc", line 14, in <module>
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "textInfos\__init__.pyc", line 31, in <module>
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "locationHelper.pyc", line 9, in <module>
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "windowUtils.pyc", line 19, in <module>
File "utils\_deprecate.pyc", line 163, in module_getattr
INFO - core.main (15:24:46.626) - MainThread (20192):
Windows version: Windows 11 24H2 (10.0.26100.4770) workstation AMD64
INFO - core.main (15:24:46.626) - MainThread (20192):
Using Python version 3.13.7 (tags/v3.13.7:bcee1c3, Aug 14 2025, 14:06:58) [MSC v.1944 32 bit (Intel)]
INFO - core.main (15:24:46.626) - MainThread (20192):
Using comtypes version 1.4.11
INFO - core.main (15:24:46.628) - MainThread (20192):
Using configobj version 5.1.0 with validate version 1.0.1
DEBUG - core.main (15:24:46.628) - MainThread (20192):
Initializing add-ons system
DEBUG - addonStore.dataManager.initialize (15:24:46.634) - MainThread (20192):
initializing addonStore data manager
DEBUG - addonStore.dataManager._DataManager._getCacheHash (15:24:46.635) - initialiseAvailableAddons (27952):
Fetching add-on data from https://addonStore.nvaccess.org/cacheHash.json
DEBUG - addonHandler.AddonsState.load (15:24:46.635) - MainThread (20192):
BACK_COMPAT_TO API version for manual compatibility overrides has changed. NVDA API has been upgraded: from 2023.1.0 to (2026, 1, 0)
DEBUG - addonHandler._getAvailableAddonsFromPath (15:24:46.636) - MainThread (20192):
Listing add-ons from D:\NVDA\snapshot\alpha\52452\userConfig\addons
DEBUG - core.main (15:24:46.644) - MainThread (20192):
Initializing appModule Handler
DEBUG - core.main (15:24:46.644) - MainThread (20192):
initializing background i/o
DEBUG - core.main (15:24:46.645) - MainThread (20192):
Initializing background braille display detection
DEBUG - core.main (15:24:46.711) - MainThread (20192):
Initializing tones
DEBUG - core.main (15:24:46.717) - MainThread (20192):
Initializing sound split
DEBUG - core.main (15:24:46.719) - MainThread (20192):
Speech Dictionary processing
DEBUG - speechDictHandler.SpeechDict.load (15:24:46.719) - MainThread (20192):
Loading speech dictionary 'D:\NVDA\snapshot\alpha\52452\userConfig\speechDicts\default.dic'...
DEBUG - speechDictHandler.SpeechDict.load (15:24:46.719) - MainThread (20192):
file 'D:\NVDA\snapshot\alpha\52452\userConfig\speechDicts\default.dic' not found.
DEBUG - speechDictHandler.SpeechDict.load (15:24:46.719) - MainThread (20192):
Loading speech dictionary 'D:\NVDA\snapshot\alpha\52452\builtin.dic'...
DEBUG - speechDictHandler.SpeechDict.load (15:24:46.720) - MainThread (20192):
3 loaded records.
DEBUG - core.main (15:24:46.720) - MainThread (20192):
Character processing
DEBUG - core.main (15:24:46.720) - MainThread (20192):
Initializing speech
DEBUG - autoSettingsUtils.autoSettings.AutoSettings._registerConfigSaveAction (15:24:46.723) - MainThread (20192):
registering pre_configSave action: <class 'synthDrivers.oneCore.OneCoreSynthDriver'>
INFO - NVDAHelperLocal (15:24:46.724) - MainThread (20192):
Thread 20192, build\x86\localWin10\oneCoreSpeech.cpp, ocSpeech_initialize, 215:
ocSpeech_initialize
INFO - NVDAHelperLocal (15:24:46.724) - MainThread (20192):
Thread 20192, build\x86\localWin10\oneCoreSpeech.cpp, OcSpeechState::activate, 89:
Activating
INFO - NVDAHelperLocal (15:24:46.782) - MainThread (20192):
Thread 20192, build\x86\localWin10\oneCoreSpeech.cpp, preventEndUtteranceSilence_, 443:
AppendedSilence supported
DEBUG - speechDictHandler.SpeechDict.load (15:24:46.790) - MainThread (20192):
Loading speech dictionary 'D:\NVDA\snapshot\alpha\52452\userConfig\speechDicts\voiceDicts.v1\oneCore\oneCore-Microsoft Huihui.dic'...
DEBUG - speechDictHandler.SpeechDict.load (15:24:46.790) - MainThread (20192):
file 'D:\NVDA\snapshot\alpha\52452\userConfig\speechDicts\voiceDicts.v1\oneCore\oneCore-Microsoft Huihui.dic' not found.
DEBUG - synthDriverHandler.SynthDriver.loadSettings (15:24:46.791) - MainThread (20192):
Loaded settings for SynthDriver oneCore
INFO - synthDriverHandler.setSynth (15:24:46.791) - MainThread (20192):
Loaded synthDriver oneCore
DEBUG - speech.sayAll.initialize (15:24:46.791) - MainThread (20192):
Initializing sayAllHandler
DEBUG - core.main (15:24:46.792) - MainThread (20192):
Initializing MathPlayer
WARNING - mathPres.initialize (15:24:46.797) - MainThread (20192):
MathPlayer 4 not available
INFO - core._setUpWxApp (15:24:46.797) - MainThread (20192):
Using wx version 4.2.2 msw (phoenix) wxWidgets 3.2.6 with six version 1.17.0
DEBUG - core.main (15:24:46.798) - MainThread (20192):
Initializing brailleTables
DEBUG - core.main (15:24:46.798) - MainThread (20192):
Initializing braille input
INFO - brailleInput.initialize (15:24:46.798) - MainThread (20192):
Braille input initialized
DEBUG - core.main (15:24:46.798) - MainThread (20192):
Initializing braille
INFO - braille.initialize (15:24:46.798) - MainThread (20192):
Using liblouis version 3.34.0
INFO - braille.initialize (15:24:46.798) - MainThread (20192):
Using pySerial version 3.5
DEBUG - autoSettingsUtils.autoSettings.AutoSettings._registerConfigSaveAction (15:24:46.799) - MainThread (20192):
registering pre_configSave action: <class 'brailleDisplayDrivers.noBraille.BrailleDisplayDriver'>
DEBUG - autoSettingsUtils.autoSettings.AutoSettings._loadSpecificSettings (15:24:46.801) - MainThread (20192):
loading braille noBraille
INFO - braille.BrailleHandler._setDisplay (15:24:46.801) - MainThread (20192):
Loaded braille display driver 'noBraille', current display has 0 cells.
DEBUG - core.main (15:24:46.802) - MainThread (20192):
Initializing vision
DEBUG - core.main (15:24:46.802) - MainThread (20192):
Initializing displayModel
DEBUG - core.main (15:24:46.802) - MainThread (20192):
Initializing GUI
DEBUGWARNING - hwPortUtils.listUsbDevices (15:24:46.803) - ThreadPoolExecutor-0_0 (42324):
Couldn't get DEVPKEY_Device_BusReportedDeviceDesc for {'hardwareID': 'USB\\VID_8087&PID_0026&REV_0002', 'usbID': 'VID_8087&PID_0026', 'devicePath': '\\\\?\\usb#vid_8087&pid_0026#5&2336da3f&0&14#{a5dcbf10-6530-11d2-901f-00c04fb951ed}'}: [WinError 1168] 找不到元素。
DEBUG - windowUtils._rawWindowProc (15:24:46.829) - MainThread (20192):
CustomWindow rawWindowProc called for unknown window 393684
DEBUG - windowUtils._rawWindowProc (15:24:46.830) - MainThread (20192):
CustomWindow rawWindowProc called for unknown window 393684
DEBUG - windowUtils._rawWindowProc (15:24:46.830) - MainThread (20192):
CustomWindow rawWindowProc called for unknown window 393684
DEBUG - windowUtils._rawWindowProc (15:24:46.830) - MainThread (20192):
CustomWindow rawWindowProc called for unknown window 393684
DEBUG - languageHandler.setLocale (15:24:46.837) - MainThread (20192):
Win32 locale string from locale code is Chinese (Simplified)_China.936
DEBUG - languageHandler._setPythonLocale (15:24:46.838) - MainThread (20192):
set python locale to Chinese (Simplified)_China.936
DEBUG - core.main (15:24:46.838) - MainThread (20192):
Initializing garbageHandler
DEBUGWARNING - appModuleHandler.getProcessHandleFromProcessId (15:24:46.844) - MainThread (20192):
Unable to open process for processId 1508
Traceback (most recent call last):
File "appModuleHandler.pyc", line 231, in getProcessHandleFromProcessId
PermissionError: [WinError 5] 拒绝访问。
DEBUGWARNING - appModuleHandler.getProcessHandleFromProcessId (15:24:46.846) - MainThread (20192):
Unable to get process handle for process 1508 using window enumeration and subsequently getting process handle from that window
Traceback (most recent call last):
File "appModuleHandler.pyc", line 244, in getProcessHandleFromProcessId
RuntimeError: No window handle found for process 1508 to create process handle
DEBUGWARNING - appModuleHandler.AppModule._get_isAlive (15:24:46.846) - MainThread (20192):
Process handle 0 for AppModule(appModuleHandler, appName='csrss', processID=1508) is invalid, assuming process is dead.
DEBUG - appModuleHandler.cleanup (15:24:46.846) - MainThread (20192):
application csrss closed
DEBUG - core.main (15:24:46.849) - MainThread (20192):
initializing Java Access Bridge support
INFO - core.main (15:24:46.939) - MainThread (20192):
Java Access Bridge support initialized
DEBUG - core.main (15:24:46.941) - MainThread (20192):
Initializing legacy winConsole support
DEBUG - core.main (15:24:46.996) - MainThread (20192):
Initializing UIA support
INFO - UIAHandler.UIAHandler.MTAThreadFunc (15:24:47.002) - UIAHandler.UIAHandler.MTAThread (39556):
UIAutomation: IUIAutomation6
DEBUG - config.featureFlag._validateConfig_featureFlag (15:24:47.015) - UIAHandler.UIAHandler.MTAThread (39556):
Validating feature flag: DEFAULT, optionsEnum: BoolFlag, behaviorOfDefault: ENABLED
DEBUG - core.main (15:24:47.227) - MainThread (20192):
Initializing IAccessible support
DEBUG - core.main (15:24:47.228) - MainThread (20192):
Initializing input core
DEBUGWARNING - inputCore.InputManager.loadUserGestureMap (15:24:47.229) - MainThread (20192):
No user gesture map
DEBUG - core.main (15:24:47.229) - MainThread (20192):
Initializing keyboard handler
DEBUG - core.main (15:24:47.229) - MainThread (20192):
initializing mouse handler
DEBUG - core.main (15:24:47.258) - MainThread (20192):
Initializing touchHandler
DEBUGWARNING - touchHandler.touchSupported (15:24:47.258) - MainThread (20192):
Touch only supported on installed copies
DEBUG - core.main (15:24:47.258) - MainThread (20192):
Initializing global plugin handler
DEBUG - _remoteClient.initialize (15:24:47.259) - MainThread (20192):
Remote Access disabled. Not initializing.
DEBUG - core.main (15:24:47.259) - MainThread (20192):
Initializing core pump
DEBUG - core.main (15:24:47.261) - MainThread (20192):
Initializing watchdog
DEBUG - core.main (15:24:47.261) - MainThread (20192):
initializing updateCheck
DEBUG - core.main (15:24:47.261) - MainThread (20192):
NVDA user ID f770163ce09f4c108dc28f328974e74a
INFO - core.main (15:24:47.261) - MainThread (20192):
NVDA initialized
DEBUG - core.main (15:24:47.261) - MainThread (20192):
entering wx application main loop
DEBUG - autoSettingsUtils.autoSettings.AutoSettings._registerConfigSaveAction (15:24:47.276) - MainThread (20192):
registering pre_configSave action: <class 'visionEnhancementProviders.NVDAHighlighter.NVDAHighlighterSettings'>
DEBUG - autoSettingsUtils.autoSettings.AutoSettings._loadSpecificSettings (15:24:47.279) - MainThread (20192):
loading vision NVDAHighlighter
DEBUG - autoSettingsUtils.autoSettings.AutoSettings._loadSpecificSettings (15:24:47.279) - MainThread (20192):
Loaded settings for NVDAHighlighterSettings
DEBUG - autoSettingsUtils.autoSettings.AutoSettings._registerConfigSaveAction (15:24:47.282) - MainThread (20192):
registering pre_configSave action: <class 'visionEnhancementProviders.screenCurtain.ScreenCurtainSettings'>
DEBUG - autoSettingsUtils.autoSettings.AutoSettings._loadSpecificSettings (15:24:47.284) - MainThread (20192):
loading vision screenCurtain
DEBUG - autoSettingsUtils.autoSettings.AutoSettings._loadSpecificSettings (15:24:47.284) - MainThread (20192):
Loaded settings for ScreenCurtainSettings
DEBUG - core._doPostNvdaStartupAction (15:24:47.292) - MainThread (20192):
Notify of postNvdaStartup action
DEBUGWARNING - appModuleHandler.getProcessHandleFromProcessId (15:24:47.461) - MainThread (20192):
Unable to open process for processId 1508
Traceback (most recent call last):
File "appModuleHandler.pyc", line 231, in getProcessHandleFromProcessId
PermissionError: [WinError 5] 拒绝访问。
DEBUGWARNING - appModuleHandler.getProcessHandleFromProcessId (15:24:47.462) - MainThread (20192):
Unable to get process handle for process 1508 using window enumeration and subsequently getting process handle from that window
Traceback (most recent call last):
File "appModuleHandler.pyc", line 244, in getProcessHandleFromProcessId
RuntimeError: No window handle found for process 1508 to create process handle
DEBUG - config.featureFlag._validateConfig_featureFlag (15:24:47.472) - MainThread (20192):
Validating feature flag: DEFAULT, optionsEnum: BoolFlag, behaviorOfDefault: ENABLED
IO - speech.speech.speak (15:24:47.472) - MainThread (20192):
Speaking [LangChangeCommand ('zh_CN'), 'nvda.log - nvda - Visual Studio Code', '文档', CancellableSpeech (still valid)]
DEBUG - characterProcessing.SymbolDictionaryDefinition._initSymbols (15:24:47.488) - MainThread (20192):
No 'user' data for locale 'zh_CN'
DEBUG - characterProcessing.SymbolDictionaryDefinition._initSymbols (15:24:47.504) - MainThread (20192):
No 'user' data for locale 'en'
IO - speech.speech.speak (15:24:47.533) - MainThread (20192):
Speaking [LangChangeCommand ('zh_CN'), '应用程序', CancellableSpeech (still valid)]
IO - speech.speech.speak (15:24:47.535) - MainThread (20192):
Speaking [LangChangeCommand ('zh_CN'), '主要内容区 路标', CancellableSpeech (still valid)]
ERROR - eventHandler.executeEvent (15:24:47.538) - MainThread (20192):
error executing event: gainFocus on <NVDAObjects.Dynamic_EditorEditableTextWithAutoSelectDetectionEditorIa2WebIAccessible object at 0x0BF3A870> with extra args of {}
Traceback (most recent call last):
File "eventHandler.pyc", line 353, in executeEvent
File "eventHandler.pyc", line 119, in __init__
File "eventHandler.pyc", line 128, in next
File "NVDAObjects\behaviors.pyc", line 337, in event_gainFocus
File "NVDAObjects\__init__.pyc", line 1369, in event_gainFocus
File "NVDAObjects\__init__.pyc", line 1205, in reportFocus
File "speech\speech.pyc", line 816, in speakObject
File "speech\speech.pyc", line 874, in getObjectSpeech
File "documentBase.pyc", line 76, in makeTextInfo
File "NVDAObjects\IAccessible\ia2TextMozilla.pyc", line 139, in __init__
File "NVDAObjects\IAccessible\ia2TextMozilla.pyc", line 281, in _findContentDescendant
LookupError: Object has no text descendants
IO - inputCore.InputManager.executeGesture (15:24:57.107) - winInputHook (32432):
Input: kb(laptop):NVDA+control+z
DEBUG - gui.contextHelp.bindHelpEvent (15:24:57.114) - MainThread (20192):
Did context help binding for ConsoleUI
DEBUG - pythonConsole._getCaretPos (15:24:57.132) - MainThread (20192):
Unable to set caretPos snapshot variable for python console.
ERROR - pythonConsole.PythonConsole.updateNamespaceSnapshotVars (15:24:57.132) - MainThread (20192):
Unable to set review snapshot variable for python console.
Traceback (most recent call last):
File "NVDAObjects\IAccessible\ia2TextMozilla.pyc", line 149, in __init__
File "NVDAObjects\IAccessible\ia2TextMozilla.pyc", line 281, in _findContentDescendant
LookupError: Object has no text descendants
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "review.pyc", line 32, in getObjectPosition
File "documentBase.pyc", line 76, in makeTextInfo
File "NVDAObjects\IAccessible\ia2TextMozilla.pyc", line 151, in __init__
RuntimeError: No caret
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "pythonConsole.pyc", line 278, in updateNamespaceSnapshotVars
File "api.pyc", line 242, in getReviewPosition
File "review.pyc", line 107, in getPositionForCurrentMode
File "review.pyc", line 36, in getObjectPosition
File "documentBase.pyc", line 76, in makeTextInfo
File "NVDAObjects\IAccessible\ia2TextMozilla.pyc", line 139, in __init__
File "NVDAObjects\IAccessible\ia2TextMozilla.pyc", line 281, in _findContentDescendant
LookupError: Object has no text descendants
IO - speech.speech.speak (15:24:57.293) - MainThread (20192):
Speaking [LangChangeCommand ('zh_CN'), '>>>']
DEBUGWARNING - appModuleHandler.AppModule._get_isAlive (15:24:57.310) - MainThread (20192):
Process handle 0 for AppModule(appModuleHandler, appName='csrss', processID=1508) is invalid, assuming process is dead.
DEBUG - appModuleHandler.cleanup (15:24:57.310) - MainThread (20192):
application csrss closed
DEBUGWARNING - appModuleHandler.getProcessHandleFromProcessId (15:24:57.323) - MainThread (20192):
Unable to open process for processId 1508
Traceback (most recent call last):
File "appModuleHandler.pyc", line 231, in getProcessHandleFromProcessId
PermissionError: [WinError 5] 拒绝访问。
DEBUGWARNING - appModuleHandler.getProcessHandleFromProcessId (15:24:57.325) - MainThread (20192):
Unable to get process handle for process 1508 using window enumeration and subsequently getting process handle from that window
Traceback (most recent call last):
File "appModuleHandler.pyc", line 244, in getProcessHandleFromProcessId
RuntimeError: No window handle found for process 1508 to create process handle
IO - speech.speech.speak (15:24:57.328) - MainThread (20192):
Speaking [LangChangeCommand ('zh_CN'), 'NVDA Python 控制台', CancellableSpeech (still valid)]
IO - speech.speech.speak (15:24:57.330) - MainThread (20192):
Speaking [LangChangeCommand ('zh_CN'), '>>>', '编辑框', CancellableSpeech (still valid), '空白']
IO - inputCore.InputManager.executeGesture (15:24:59.988) - winInputHook (32432):
Input: kb(laptop):a
IO - speech.speech.speak (15:25:00.007) - MainThread (20192):
Speaking [CharacterModeCommand(True), LangChangeCommand ('zh_CN'), 'a', EndUtteranceCommand()]
DEBUG - utils.schedule.callJobOnThread (15:25:00.138) - ScheduleThread (11616):
Starting thread for job: _checkForUpdatableAddons on thread None
DEBUG - gui.addonStoreGui.controls.messageDialogs.UpdatableAddonsDialog._checkForUpdatableAddons (15:25:00.139) - _checkForUpdatableAddons (31704):
checking for updatable add-ons
DEBUG - addonStore.dataManager._DataManager._getCacheHash (15:25:00.139) - _checkForUpdatableAddons (31704):
Fetching add-on data from https://addonStore.nvaccess.org/cacheHash.json
IO - inputCore.InputManager.executeGesture (15:25:00.554) - winInputHook (32432):
Input: kb(laptop):p
IO - speech.speech.speak (15:25:00.573) - MainThread (20192):
Speaking [CharacterModeCommand(True), LangChangeCommand ('zh_CN'), 'p', EndUtteranceCommand()]
IO - inputCore.InputManager.executeGesture (15:25:00.924) - winInputHook (32432):
Input: kb(laptop):i
IO - speech.speech.speak (15:25:00.932) - MainThread (20192):
Speaking [CharacterModeCommand(True), LangChangeCommand ('zh_CN'), 'i', EndUtteranceCommand()]
DEBUG - gui.addonStoreGui.controls.messageDialogs.UpdatableAddonsDialog._checkForUpdatableAddons (15:25:00.969) - _checkForUpdatableAddons (31704):
no updatable add-ons found
IO - inputCore.InputManager.executeGesture (15:25:01.834) - winInputHook (32432):
Input: kb(laptop):.
IO - speech.speech.speakTypedCharacters (15:25:01.853) - MainThread (20192):
typed word: api
IO - speech.speech.speak (15:25:01.853) - MainThread (20192):
Speaking [CharacterModeCommand(True), LangChangeCommand ('zh_CN'), '点', EndUtteranceCommand()]
IO - inputCore.InputManager.executeGesture (15:25:03.699) - winInputHook (32432):
Input: kb(laptop):f
IO - speech.speech.speak (15:25:03.715) - MainThread (20192):
Speaking [CharacterModeCommand(True), LangChangeCommand ('zh_CN'), 'f', EndUtteranceCommand()]
IO - inputCore.InputManager.executeGesture (15:25:05.053) - winInputHook (32432):
Input: kb(laptop):backspace
DEBUG - editableText.EditableText._hasCaretMoved (15:25:05.061) - MainThread (20192):
Caret move detected using event. Elapsed 0 sec, retries 0
IO - speech.speech.speak (15:25:05.061) - MainThread (20192):
Speaking [CharacterModeCommand(True), LangChangeCommand ('zh_CN'), 'f', EndUtteranceCommand()]
IO - inputCore.InputManager.executeGesture (15:25:05.502) - winInputHook (32432):
Input: kb(laptop):g
IO - speech.speech.speak (15:25:05.527) - MainThread (20192):
Speaking [CharacterModeCommand(True), LangChangeCommand ('zh_CN'), 'g', EndUtteranceCommand()]
IO - inputCore.InputManager.executeGesture (15:25:05.834) - winInputHook (32432):
Input: kb(laptop):e
IO - speech.speech.speak (15:25:05.854) - MainThread (20192):
Speaking [CharacterModeCommand(True), LangChangeCommand ('zh_CN'), 'e', EndUtteranceCommand()]
IO - inputCore.InputManager.executeGesture (15:25:06.244) - winInputHook (32432):
Input: kb(laptop):t
IO - speech.speech.speak (15:25:06.261) - MainThread (20192):
Speaking [CharacterModeCommand(True), LangChangeCommand ('zh_CN'), 't', EndUtteranceCommand()]
IO - inputCore.InputManager.executeGesture (15:25:07.020) - winInputHook (32432):
Input: kb(laptop):shift+d
IO - speech.speech.speak (15:25:07.043) - MainThread (20192):
Speaking [PitchCommand(offset=30), CharacterModeCommand(True), LangChangeCommand ('zh_CN'), 'D', PitchCommand(), EndUtteranceCommand()]
IO - inputCore.InputManager.executeGesture (15:25:07.385) - winInputHook (32432):
Input: kb(laptop):tab
IO - speech.speech.speakTypedCharacters (15:25:07.402) - MainThread (20192):
typed word: getD
IO - speech.speech.speak (15:25:07.402) - MainThread (20192):
Speaking [LangChangeCommand ('zh_CN'), 'esktopObject']
IO - inputCore.InputManager.executeGesture (15:25:08.416) - winInputHook (32432):
Input: kb(laptop):shift+9
IO - speech.speech.speak (15:25:08.428) - MainThread (20192):
Speaking [LangChangeCommand ('zh_CN'), '左括号', EndUtteranceCommand()]
IO - inputCore.InputManager.executeGesture (15:25:09.410) - winInputHook (32432):
Input: kb(laptop):shift+0
IO - speech.speech.speak (15:25:09.433) - MainThread (20192):
Speaking [LangChangeCommand ('zh_CN'), '右括号', EndUtteranceCommand()]
IO - inputCore.InputManager.executeGesture (15:25:10.094) - winInputHook (32432):
Input: kb(laptop):.
IO - speech.speech.speak (15:25:10.101) - MainThread (20192):
Speaking [CharacterModeCommand(True), LangChangeCommand ('zh_CN'), '点', EndUtteranceCommand()]
IO - inputCore.InputManager.executeGesture (15:25:10.788) - winInputHook (32432):
Input: kb(laptop):d
IO - speech.speech.speak (15:25:10.810) - MainThread (20192):
Speaking [CharacterModeCommand(True), LangChangeCommand ('zh_CN'), 'd', EndUtteranceCommand()]
IO - inputCore.InputManager.executeGesture (15:25:11.060) - winInputHook (32432):
Input: kb(laptop):e
IO - speech.speech.speak (15:25:11.070) - MainThread (20192):
Speaking [CharacterModeCommand(True), LangChangeCommand ('zh_CN'), 'e', EndUtteranceCommand()]
IO - inputCore.InputManager.executeGesture (15:25:11.548) - winInputHook (32432):
Input: kb(laptop):v
IO - speech.speech.speak (15:25:11.555) - MainThread (20192):
Speaking [CharacterModeCommand(True), LangChangeCommand ('zh_CN'), 'v', EndUtteranceCommand()]
IO - inputCore.InputManager.executeGesture (15:25:12.128) - winInputHook (32432):
Input: kb(laptop):shift+i
IO - speech.speech.speak (15:25:12.149) - MainThread (20192):
Speaking [PitchCommand(offset=30), CharacterModeCommand(True), LangChangeCommand ('zh_CN'), 'I', PitchCommand(), EndUtteranceCommand()]
IO - inputCore.InputManager.executeGesture (15:25:12.782) - winInputHook (32432):
Input: kb(laptop):n
IO - speech.speech.speak (15:25:12.793) - MainThread (20192):
Speaking [CharacterModeCommand(True), LangChangeCommand ('zh_CN'), 'n', EndUtteranceCommand()]
IO - inputCore.InputManager.executeGesture (15:25:13.072) - winInputHook (32432):
Input: kb(laptop):f
IO - speech.speech.speak (15:25:13.089) - MainThread (20192):
Speaking [CharacterModeCommand(True), LangChangeCommand ('zh_CN'), 'f', EndUtteranceCommand()]
IO - inputCore.InputManager.executeGesture (15:25:13.288) - winInputHook (32432):
Input: kb(laptop):o
IO - speech.speech.speak (15:25:13.307) - MainThread (20192):
Speaking [CharacterModeCommand(True), LangChangeCommand ('zh_CN'), 'o', EndUtteranceCommand()]
IO - inputCore.InputManager.executeGesture (15:25:13.704) - winInputHook (32432):
Input: kb(laptop):enter
IO - speech.speech.speakTypedCharacters (15:25:13.720) - MainThread (20192):
typed word: devInfo
IO - speech.speech.speak (15:25:13.720) - MainThread (20192):
Speaking [LangChangeCommand ('zh_CN'), 'Traceback (most recent call last):\n File "<console>", line 1, in <module>\n File "baseObject.pyc", line 59, in __get__\n File "baseObject.pyc", line 167, in _getPropertyViaCache\n File "NVDAObjects\\window\\__init__.pyc", line 364, in _get_devInfo\n File "baseObject.pyc", line 59, in __get__\n File "baseObject.pyc", line 167, in _getPropertyViaCache\n File "NVDAObjects\\__init__.pyc", line 1560, in _get_devInfo\nAttributeError: \'NoneType\' object has no attribute \'devInfo\'\n']
IO - speech.speech.speak (15:25:13.723) - MainThread (20192):
Speaking [LangChangeCommand ('zh_CN'), '>>>']
IO - inputCore.InputManager.executeGesture (15:25:15.796) - winInputHook (32432):
Input: kb(laptop):alt+tab
DEBUGWARNING - appModuleHandler.AppModule._get_isAlive (15:25:15.839) - MainThread (20192):
Process handle 0 for AppModule(appModuleHandler, appName='csrss', processID=1508) is invalid, assuming process is dead.
DEBUG - appModuleHandler.cleanup (15:25:15.839) - MainThread (20192):
application csrss closed
DEBUGWARNING - appModuleHandler.getProcessHandleFromProcessId (15:25:15.847) - MainThread (20192):
Unable to open process for processId 1508
Traceback (most recent call last):
File "appModuleHandler.pyc", line 231, in getProcessHandleFromProcessId
PermissionError: [WinError 5] 拒绝访问。
DEBUGWARNING - appModuleHandler.getProcessHandleFromProcessId (15:25:15.848) - MainThread (20192):
Unable to get process handle for process 1508 using window enumeration and subsequently getting process handle from that window
Traceback (most recent call last):
File "appModuleHandler.pyc", line 244, in getProcessHandleFromProcessId
RuntimeError: No window handle found for process 1508 to create process handle
DEBUGWARNING - appModuleHandler.AppModule._get_isAlive (15:25:15.932) - MainThread (20192):
Process handle 0 for AppModule(appModuleHandler, appName='csrss', processID=1508) is invalid, assuming process is dead.
DEBUG - appModuleHandler.cleanup (15:25:15.933) - MainThread (20192):
application csrss closed
IO - speech.speech.speak (15:25:15.944) - MainThread (20192):
Speaking [LangChangeCommand ('zh_CN'), 'nvda.log - nvda - Visual Studio Code', '1 行', '2 列', ',8 之 2 项', CancellableSpeech (still valid)]
DEBUGWARNING - appModuleHandler.getProcessHandleFromProcessId (15:25:16.053) - MainThread (20192):
Unable to open process for processId 1508
Traceback (most recent call last):
File "appModuleHandler.pyc", line 231, in getProcessHandleFromProcessId
PermissionError: [WinError 5] 拒绝访问。
DEBUGWARNING - appModuleHandler.getProcessHandleFromProcessId (15:25:16.054) - MainThread (20192):
Unable to get process handle for process 1508 using window enumeration and subsequently getting process handle from that window
Traceback (most recent call last):
File "appModuleHandler.pyc", line 244, in getProcessHandleFromProcessId
RuntimeError: No window handle found for process 1508 to create process handle
DEBUGWARNING - IAccessibleHandler.internalWinEventHandler._shouldGetEvents (15:25:16.102) - MainThread (20192):
Foreground took too long to change. Foreground still 2628190 (Chrome_WidgetWin_1). Should be 327724 (XamlExplorerHostIslandWindow)
DEBUGWARNING - appModuleHandler.AppModule._get_isAlive (15:25:16.154) - MainThread (20192):
Process handle 0 for AppModule(appModuleHandler, appName='csrss', processID=1508) is invalid, assuming process is dead.
DEBUG - appModuleHandler.cleanup (15:25:16.154) - MainThread (20192):
application csrss closed
DEBUGWARNING - appModuleHandler.getProcessHandleFromProcessId (15:25:16.174) - MainThread (20192):
Unable to open process for processId 1508
Traceback (most recent call last):
File "appModuleHandler.pyc", line 231, in getProcessHandleFromProcessId
PermissionError: [WinError 5] 拒绝访问。
DEBUGWARNING - appModuleHandler.getProcessHandleFromProcessId (15:25:16.175) - MainThread (20192):
Unable to get process handle for process 1508 using window enumeration and subsequently getting process handle from that window
Traceback (most recent call last):
File "appModuleHandler.pyc", line 244, in getProcessHandleFromProcessId
RuntimeError: No window handle found for process 1508 to create process handle
IO - speech.speech.speak (15:25:16.186) - MainThread (20192):
Speaking [LangChangeCommand ('zh_CN'), 'nvda.log - nvda - Visual Studio Code', CancellableSpeech (still valid)]
DEBUGWARNING - appModuleHandler.AppModule._get_isAlive (15:25:16.186) - MainThread (20192):
Process handle 0 for AppModule(appModuleHandler, appName='csrss', processID=1508) is invalid, assuming process is dead.
DEBUG - appModuleHandler.cleanup (15:25:16.186) - MainThread (20192):
application csrss closed
IO - speech.speech.speak (15:25:16.341) - MainThread (20192):
Speaking [LangChangeCommand ('zh_CN'), 'nvda.log - nvda - Visual Studio Code', '文档', CancellableSpeech (still valid)]
IO - speech.speech.speak (15:25:16.343) - MainThread (20192):
Speaking [LangChangeCommand ('zh_CN'), '应用程序', CancellableSpeech (still valid)]
IO - speech.speech.speak (15:25:16.345) - MainThread (20192):
Speaking [LangChangeCommand ('zh_CN'), '主要内容区 路标', CancellableSpeech (still valid)]
IO - speech.speech.speak (15:25:16.353) - MainThread (20192):
Speaking [LangChangeCommand ('zh_CN'), 'nvda.log', '编辑器', '可自动完成', '多行', CancellableSpeech (still valid), '空白']
System configuration
NVDA installed/portable/running from source:
install/portable
NVDA version:
Version: alpha-52452,c07d2614 (2026.1.0.52452)
Windows version:
Windows 11
Version 24H2 (OS Build 26100.4770)
Name and version of other software in use when reproducing the issue:
Other information about your system:
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.
Yes
If NVDA add-ons are disabled, is your problem still occurring?
Yes
Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?
Yes
Metadata
Metadata
Assignees
Labels
No labels