Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to read tables in Outlook 2016 #6827

Closed
bramd opened this issue Feb 1, 2017 · 2 comments · Fixed by #7777
Closed

Unable to read tables in Outlook 2016 #6827

bramd opened this issue Feb 1, 2017 · 2 comments · Fixed by #7777

Comments

@bramd
Copy link
Contributor

bramd commented Feb 1, 2017

NVDA logs the following error while trying to read tables in Outlook 2016 (as part of Office 365). Blank lines in the table are announced as blank, but it seems this error is triggered when there is anything in a cell.

ERROR - scriptHandler.executeScript (12:55:40):
error executing script: <bound method MailViewerTreeInterceptor.script_moveByLine_forward of <appModules.outlook.MailViewerTreeInterceptor object at 0x0518D210>> with gesture u'down arrow'
Traceback (most recent call last):
File "scriptHandler.pyc", line 187, in executeScript
File "cursorManager.pyc", line 202, in script_moveByLine_forward
File "cursorManager.pyc", line 134, in caretMovementScriptHelper
File "speech.pyc", line 808, in speakTextInfo
File "browseMode.pyc", line 992, in getControlFieldSpeech
File "textInfos_init
.pyc", line 434, in getControlFieldSpeech
File "speech.pyc", line 1131, in getControlFieldSpeech
File "NVDAObjects\window\winword.pyc", line 711, in get
File "NVDAObjects\window\winword.pyc", line 1209, in fetchAssociatedHeaderCellText
File "NVDAObjects\window\winword.pyc", line 1146, in getHeaderCellTrackerForTable
File "comtypesMonkeyPatches.pyc", line 35, in new__getattr__
File "comtypes\client\lazybind.pyc", line 149, in getattr
File "comtypes\automation.pyc", line 664, in _invoke
COMError: (-2146822463, None, (u'Object has been deleted.', u'Microsoft Word', u'wdmain11.chm', 25305, None))

@PratikP1
Copy link

I'm seeing a similar issue with Outlook and tables. Essentially, NVDA throws error sound when an email with tables is read with Read all command. Here is a log snippet that I've isolated. I'm also attaching a full log for reference.
NVDA version next-14139,11020922
Windows version 10 1703 build 16226

NVDA Outlook tables.txt
NVDA Outlook tables.txt
NVDA Outlook tables.txt
INFO - UIAHandler.UIAHandler.MTAThreadFunc (13:46:34.167):
UIAutomation: IUIAutomation3
INFO - core.main (13:46:35.279):
NVDA initialized
ERROR - eventHandler.executeEvent (16:46:38.930):
error executing event: gainFocus on <NVDAObjects.Dynamic_OutlookWordDocumentIAccessibleWordDocumentWindowNVDAObject object at 0x07261E10> with extra args of {}
Traceback (most recent call last):
File "eventHandler.pyc", line 138, in executeEvent
File "eventHandler.pyc", line 171, in doPreGainFocus
File "browseMode.pyc", line 1109, in event_treeInterceptor_gainFocus
File "speech.pyc", line 828, in speakTextInfo
File "browseMode.pyc", line 1001, in getControlFieldSpeech
File "textInfos_init
.pyc", line 434, in getControlFieldSpeech
File "speech.pyc", line 1166, in getControlFieldSpeech
File "NVDAObjects\window\winword.pyc", line 726, in get
File "NVDAObjects\window\winword.pyc", line 1230, in fetchAssociatedHeaderCellText
File "NVDAObjects\window\winword.pyc", line 1167, in getHeaderCellTrackerForTable
File "comtypesMonkeyPatches.pyc", line 35, in new__getattr__
File "comtypes\client\lazybind.pyc", line 149, in getattr
File "comtypes\automation.pyc", line 664, in invoke
COMError: (-2146822463, None, (u'Object has been deleted.', u'Microsoft Word', u'wdmain11.chm', 25305, None))
ERROR - scriptHandler.executeScript (16:46:40.453):
error executing script: <bound method MailViewerTreeInterceptor.script_moveByLine_back of <appModules.outlook.MailViewerTreeInterceptor object at 0x0728EC10>> with gesture u'up arrow'
Traceback (most recent call last):
File "scriptHandler.pyc", line 187, in executeScript
File "cursorManager.pyc", line 205, in script_moveByLine_back
File "cursorManager.pyc", line 141, in caretMovementScriptHelper
File "speech.pyc", line 828, in speakTextInfo
File "browseMode.pyc", line 1001, in getControlFieldSpeech
File "textInfos_init
.pyc", line 434, in getControlFieldSpeech
File "speech.pyc", line 1166, in getControlFieldSpeech
File "NVDAObjects\window\winword.pyc", line 726, in get
File "NVDAObjects\window\winword.pyc", line 1230, in fetchAssociatedHeaderCellText
File "NVDAObjects\window\winword.pyc", line 1167, in getHeaderCellTrackerForTable
File "comtypesMonkeyPatches.pyc", line 35, in new__getattr
_
File "comtypes\client\lazybind.pyc", line 149, in getattr
File "comtypes\automation.pyc", line 664, in invoke
COMError: (-2146822463, None, (u'Object has been deleted.', u'Microsoft Word', u'wdmain11.chm', 25305, None))
ERROR - eventHandler.executeEvent (16:46:42.561):
error executing event: gainFocus on <NVDAObjects.Dynamic_OutlookWordDocumentIAccessibleWordDocumentWindowNVDAObject object at 0x072788F0> with extra args of {}
Traceback (most recent call last):
File "eventHandler.pyc", line 138, in executeEvent
File "eventHandler.pyc", line 171, in doPreGainFocus
File "browseMode.pyc", line 1109, in event_treeInterceptor_gainFocus
File "speech.pyc", line 828, in speakTextInfo
File "browseMode.pyc", line 1001, in getControlFieldSpeech
File "textInfos_init
.pyc", line 434, in getControlFieldSpeech
File "speech.pyc", line 1166, in getControlFieldSpeech
File "NVDAObjects\window\winword.pyc", line 726, in get
File "NVDAObjects\window\winword.pyc", line 1230, in fetchAssociatedHeaderCellText
File "NVDAObjects\window\winword.pyc", line 1167, in getHeaderCellTrackerForTable
File "comtypesMonkeyPatches.pyc", line 35, in new__getattr__
File "comtypes\client\lazybind.pyc", line 149, in getattr
File "comtypes\automation.pyc", line 664, in invoke
COMError: (-2146822463, None, (u'Object has been deleted.', u'Microsoft Word', u'wdmain11.chm', 25305, None))
ERROR - scriptHandler.executeScript (16:46:43.907):
error executing script: <bound method MailViewerTreeInterceptor.script_moveByLine_back of <appModules.outlook.MailViewerTreeInterceptor object at 0x0728EC10>> with gesture u'up arrow'
Traceback (most recent call last):
File "scriptHandler.pyc", line 187, in executeScript
File "cursorManager.pyc", line 205, in script_moveByLine_back
File "cursorManager.pyc", line 141, in caretMovementScriptHelper
File "speech.pyc", line 828, in speakTextInfo
File "browseMode.pyc", line 1001, in getControlFieldSpeech
File "textInfos_init
.pyc", line 434, in getControlFieldSpeech
File "speech.pyc", line 1166, in getControlFieldSpeech
File "NVDAObjects\window\winword.pyc", line 726, in get
File "NVDAObjects\window\winword.pyc", line 1230, in fetchAssociatedHeaderCellText
File "NVDAObjects\window\winword.pyc", line 1167, in getHeaderCellTrackerForTable
File "comtypesMonkeyPatches.pyc", line 35, in new__getattr
_
File "comtypes\client\lazybind.pyc", line 149, in getattr
File "comtypes\automation.pyc", line 664, in invoke
COMError: (-2146822463, None, (u'Object has been deleted.', u'Microsoft Word', u'wdmain11.chm', 25305, None))
ERROR - scriptHandler.executeScript (16:46:44.838):
error executing script: <bound method MailViewerTreeInterceptor.script_moveByCharacter_forward of <appModules.outlook.MailViewerTreeInterceptor object at 0x0728EC10>> with gesture u'right arrow'
Traceback (most recent call last):
File "scriptHandler.pyc", line 187, in executeScript
File "cursorManager.pyc", line 196, in script_moveByCharacter_forward
File "cursorManager.pyc", line 141, in caretMovementScriptHelper
File "speech.pyc", line 828, in speakTextInfo
File "browseMode.pyc", line 1001, in getControlFieldSpeech
File "textInfos_init
.pyc", line 434, in getControlFieldSpeech
File "speech.pyc", line 1166, in getControlFieldSpeech
File "NVDAObjects\window\winword.pyc", line 726, in get
File "NVDAObjects\window\winword.pyc", line 1230, in fetchAssociatedHeaderCellText
File "NVDAObjects\window\winword.pyc", line 1167, in getHeaderCellTrackerForTable
File "comtypesMonkeyPatches.pyc", line 35, in new__getattr
_
File "comtypes\client\lazybind.pyc", line 149, in getattr
File "comtypes\automation.pyc", line 664, in invoke
COMError: (-2146822463, None, (u'Object has been deleted.', u'Microsoft Word', u'wdmain11.chm', 25305, None))
ERROR - scriptHandler.executeScript (16:46:45.437):
error executing script: <bound method MailViewerTreeInterceptor.script_moveByCharacter_forward of <appModules.outlook.MailViewerTreeInterceptor object at 0x0728EC10>> with gesture u'right arrow'
Traceback (most recent call last):
File "scriptHandler.pyc", line 187, in executeScript
File "cursorManager.pyc", line 196, in script_moveByCharacter_forward
File "cursorManager.pyc", line 141, in caretMovementScriptHelper
File "speech.pyc", line 828, in speakTextInfo
File "browseMode.pyc", line 1001, in getControlFieldSpeech
File "textInfos_init
.pyc", line 434, in getControlFieldSpeech
File "speech.pyc", line 1166, in getControlFieldSpeech
File "NVDAObjects\window\winword.pyc", line 726, in get
File "NVDAObjects\window\winword.pyc", line 1230, in fetchAssociatedHeaderCellText
File "NVDAObjects\window\winword.pyc", line 1167, in getHeaderCellTrackerForTable
File "comtypesMonkeyPatches.pyc", line 35, in new__getattr
_
File "comtypes\client\lazybind.pyc", line 149, in getattr
File "comtypes\automation.pyc", line 664, in invoke
COMError: (-2146822463, None, (u'Object has been deleted.', u'Microsoft Word', u'wdmain11.chm', 25305, None))
ERROR - eventHandler.executeEvent (16:46:52.782):
error executing event: gainFocus on <NVDAObjects.Dynamic_OutlookWordDocumentIAccessibleWordDocumentWindowNVDAObject object at 0x07278410> with extra args of {}
Traceback (most recent call last):
File "eventHandler.pyc", line 138, in executeEvent
File "eventHandler.pyc", line 171, in doPreGainFocus
File "browseMode.pyc", line 1109, in event_treeInterceptor_gainFocus
File "speech.pyc", line 828, in speakTextInfo
File "browseMode.pyc", line 1001, in getControlFieldSpeech
File "textInfos_init
.pyc", line 434, in getControlFieldSpeech
File "speech.pyc", line 1166, in getControlFieldSpeech
File "NVDAObjects\window\winword.pyc", line 726, in get
File "NVDAObjects\window\winword.pyc", line 1230, in fetchAssociatedHeaderCellText
File "NVDAObjects\window\winword.pyc", line 1167, in getHeaderCellTrackerForTable
File "comtypesMonkeyPatches.pyc", line 35, in new__getattr__
File "comtypes\client\lazybind.pyc", line 149, in getattr
File "comtypes\automation.pyc", line 664, in invoke
COMError: (-2146822463, None, (u'Object has been deleted.', u'Microsoft Word', u'wdmain11.chm', 25305, None))
ERROR - eventHandler.executeEvent (16:47:33.668):
error executing event: gainFocus on <NVDAObjects.Dynamic_OutlookWordDocumentIAccessibleWordDocumentWindowNVDAObject object at 0x05519450> with extra args of {}
Traceback (most recent call last):
File "eventHandler.pyc", line 138, in executeEvent
File "eventHandler.pyc", line 171, in doPreGainFocus
File "browseMode.pyc", line 1109, in event_treeInterceptor_gainFocus
File "speech.pyc", line 828, in speakTextInfo
File "browseMode.pyc", line 1001, in getControlFieldSpeech
File "textInfos_init
.pyc", line 434, in getControlFieldSpeech
File "speech.pyc", line 1166, in getControlFieldSpeech
File "NVDAObjects\window\winword.pyc", line 726, in get
File "NVDAObjects\window\winword.pyc", line 1230, in fetchAssociatedHeaderCellText
File "NVDAObjects\window\winword.pyc", line 1167, in getHeaderCellTrackerForTable
File "comtypesMonkeyPatches.pyc", line 35, in new__getattr__
File "comtypes\client\lazybind.pyc", line 149, in getattr
File "comtypes\automation.pyc", line 664, in invoke
COMError: (-2146822463, None, (u'Object has been deleted.', u'Microsoft Word', u'wdmain11.chm', 25305, None))
ERROR - RPC process 10780 (nvda_slave.exe) (11:02:33.309):
main.main:
slave error
Traceback (most recent call last):
File "nvda_slave.pyw", line 90, in main
File "comHelper.pyc", line 22, in lresultFromGetActiveObject
File "comtypes\client_init
.pyc", line 180, in GetActiveObject
File "comtypes_init
.pyc", line 1165, in GetActiveObject
File "ctypes/callproc.c", line 950, in GetResult
WindowsError: [Error -2147221021] Operation unavailable
ERROR - RPC process 7208 (nvda_slave.exe) (11:03:00.365):
main.main:
slave error
Traceback (most recent call last):
File "nvda_slave.pyw", line 90, in main
File "comHelper.pyc", line 22, in lresultFromGetActiveObject
File "comtypes\client_init
.pyc", line 180, in GetActiveObject
File "comtypes_init
.pyc", line 1165, in GetActiveObject
File "_ctypes/callproc.c", line 950, in GetResult
WindowsError: [Error -2147221021] Operation unavailable

@PratikP1
Copy link

Apologies. For some reason, Github didn't want to take my file attachment for the full log.
NVDA Outlook tables.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants