Re: NVDA freezes when editing a cell in Microsoft Excel


Rui Fontes
 

Hello!


Here is a relevant part of the log from Luciano:


As we can see, between pressing Enter, after writing NVDA in cell A1, the last mention to the error is 6 seconds later...



IO - speech.speech.speak (14:12:09.573) - MainThread (15184):
Speaking ['idp.xlsx - Excel', CancellableSpeech (still valid)]
DEBUGWARNING - NVDAObjects.window.excel.ExcelBase._getDropdown (14:12:09.751) - MainThread (15184):
Could not locate dropdown list in previous objects
DEBUG - treeInterceptorHandler.update (14:12:09.777) - MainThread (15184):
Adding new treeInterceptor to runningTable: <NVDAObjects.window.excel.ExcelBrowseModeTreeInterceptor object at 0x06F7D810>
IO - speech.speech.speak (14:12:09.781) - MainThread (15184):
Speaking ['Informações', 'tabela', CancellableSpeech (still valid)]
IO - speech.speech.speak (14:12:09.836) - MainThread (15184):
Speaking ['A1', CancellableSpeech (still valid)]
IO - inputCore.InputManager.executeGesture (14:12:12.016) - winInputHook (2060):
Input: kb(desktop):upArrow
DEBUG - IAccessibleHandler.internalWinEventHandler.winEventCallback (14:12:12.061) - MainThread (15184):
Dropping UIA proxied event for Excel7 window. WinEvent: EVENT_OBJECT_FOCUS, window 263700 (EXCEL7), objectID 1, childID 0, process 14408 (excel), thread 11664
IO - speech.speech.speak (14:12:12.218) - MainThread (15184):
Speaking ['A1', CancellableSpeech (still valid)]
IO - inputCore.InputManager.executeGesture (14:12:14.256) - winInputHook (2060):
Input: kb(desktop):shift+n
DEBUGWARNING - eventHandler.executeEvent (14:12:14.357) - MainThread (15184):
error executing event: typedCharacter on <NVDAObjects.window.excel.ExcelCell object at 0x0703AA50> with extra args of {'ch': 'N'}
Traceback (most recent call last):
  File "eventHandler.pyc", line 284, in executeEvent
  File "eventHandler.pyc", line 98, in __init__
  File "eventHandler.pyc", line 107, in next
  File "NVDAObjects\window\excel.pyc", line 1437, in event_typedCharacter
  File "baseObject.pyc", line 42, in __get__
  File "baseObject.pyc", line 146, in _getPropertyViaCache
  File "NVDAObjects\window\excel.pyc", line 1420, in _get_states
  File "baseObject.pyc", line 42, in __get__
  File "baseObject.pyc", line 146, in _getPropertyViaCache
  File "NVDAObjects\window\excel.pyc", line 1227, in _get_excelCellInfo
  File "comtypes\client\lazybind.pyc", line 60, in __call__
  File "comtypes\automation.pyc", line 729, in _invoke
  File "monkeyPatches\comtypesMonkeyPatches.pyc", line 32, in __call__
_ctypes.COMError: (-2147418111, 'A chamada foi rejeitada pelo chamado.', (None, None, None, 0, None))
DEBUGWARNING - NVDAObjects.window.excel.ExcelBrowseModeTreeInterceptor._get_isAlive (14:12:14.386) - MainThread (15184):
could not compare sheet names
Traceback (most recent call last):
  File "NVDAObjects\window\excel.pyc", line 470, in _get_isAlive
  File "monkeyPatches\comtypesMonkeyPatches.pyc", line 87, in new__getattr__
  File "comtypes\client\lazybind.pyc", line 168, in __getattr__
  File "comtypes\automation.pyc", line 729, in _invoke
  File "monkeyPatches\comtypesMonkeyPatches.pyc", line 32, in __call__
_ctypes.COMError: (-2147418111, 'A chamada foi rejeitada pelo chamado.', (None, None, None, 0, None))
DEBUG - treeInterceptorHandler.killTreeInterceptor (14:12:14.387) - MainThread (15184):
Killed treeInterceptor: <NVDAObjects.window.excel.ExcelBrowseModeTreeInterceptor object at 0x06F7D810>
IO - speech.speech.speak (14:12:14.416) - MainThread (15184):
Speaking ['Barra de Fórmulas', 'edição', CancellableSpeech (still valid), 'N']
IO - inputCore.InputManager.executeGesture (14:12:14.736) - winInputHook (2060):
Input: kb(desktop):shift+v
IO - inputCore.InputManager.executeGesture (14:12:15.088) - winInputHook (2060):
Input: kb(desktop):shift+d
IO - inputCore.InputManager.executeGesture (14:12:15.312) - winInputHook (2060):
Input: kb(desktop):shift+a
IO - inputCore.InputManager.executeGesture (14:12:16.039) - winInputHook (2060):
Input: kb(desktop):enter
DEBUG - IAccessibleHandler.internalWinEventHandler.winEventCallback (14:12:20.247) - MainThread (15184):
Dropping UIA proxied event for Excel7 window. WinEvent: EVENT_OBJECT_FOCUS, window 263700 (EXCEL7), objectID 50, childID 0, process 14408 (excel), thread 11664
DEBUG - IAccessibleHandler.internalWinEventHandler.winEventCallback (14:12:20.247) - MainThread (15184):
Dropping UIA proxied event for Excel7 window. WinEvent: EVENT_OBJECT_FOCUS, window 263700 (EXCEL7), objectID 51, childID 0, process 14408 (excel), thread 11664
DEBUG - IAccessibleHandler.internalWinEventHandler.winEventCallback (14:12:20.247) - MainThread (15184):
Dropping UIA proxied event for Excel7 window. WinEvent: EVENT_OBJECT_FOCUS, window 263700 (EXCEL7), objectID 52, childID 0, process 14408 (excel), thread 11664
DEBUG - IAccessibleHandler.internalWinEventHandler.winEventCallback (14:12:20.248) - MainThread (15184):
Dropping UIA proxied event for Excel7 window. WinEvent: EVENT_OBJECT_VALUECHANGE, window 263700 (EXCEL7), objectID 53, childID 0, process 14408 (excel), thread 11664
DEBUG - IAccessibleHandler.internalWinEventHandler.winEventCallback (14:12:22.625) - MainThread (15184):
Dropping UIA proxied event for Excel7 window. WinEvent: EVENT_OBJECT_VALUECHANGE, window 263700 (EXCEL7), objectID 57, childID 0, process 14408 (excel), thread 11664
DEBUG - IAccessibleHandler.internalWinEventHandler.winEventCallback (14:12:22.626) - MainThread (15184):
Dropping UIA proxied event for Excel7 window. WinEvent: EVENT_OBJECT_SELECTIONREMOVE, window 263700 (EXCEL7), objectID 58, childID 0, process 14408 (excel), thread 11664
DEBUG - IAccessibleHandler.internalWinEventHandler.winEventCallback (14:12:22.627) - MainThread (15184):
Dropping UIA proxied event for Excel7 window. WinEvent: EVENT_OBJECT_FOCUS, window 263700 (EXCEL7), objectID 59, childID 0, process 14408 (excel), thread 11664


Às 11:32 de 02/06/2022, Luciano de Souza escreveu:

I hadn't done it, but now I did.
No results. The problem is still the same.
Having run NVDA in debug mode, I got the log I send attached.
My boss wants the sheet ready, but he'll have to be patient.
With automatic calculation disabled, I can use Excel, but in a very bad way.


Em 02/06/2022 00:36, Luke Davis escreveu:
Have you tried changing the UIA setting for Excel, in NVDA Advanced settings?

Luke







Join nvda@nvda.groups.io to automatically receive all group messages.