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

Outlook raises error at opening received mail with Excel/Word attachments #4351

Open
nvaccessAuto opened this issue Aug 2, 2014 · 10 comments
Assignees
Labels
app/microsoft-office bug p4 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority

Comments

@nvaccessAuto
Copy link

Reported by nishimotz on 2014-08-02 08:15
Outlook 2013 raises error at opening received mail with Excel/Word attachments.

setup:

  • NVDA master-10302,c5c2bc9
  • Windows 8.1 64bit Japanese
  • Microsoft Office 2013 (Outlook/Excel/Word) Japanese

procedure:

  • send a mail to myself with attached documents test1.xlsx and test2.docx
  • open received mail via Outlook 2013
  • press shift+tab to access 'attachments view', raises an error
  • press right allow to select test1.xlsx. document view shows the content of Excel worksheet, focus moves to a cell in the worksheet, raises another error.

error log is as follows:

ERROR - scriptHandler.executeScript (17:04:41):
error executing script: <bound method Dynamic_IAccessibleWordDocumentWindowNVDAObject.script_tab of <NVDAObjects.Dynamic_IAccessibleWordDocumentWindowNVDAObject object at 0x046D7F70>> with gesture u'\u30b7\u30d5\u30c8+\u30bf\u30d6'
Traceback (most recent call last):
  File "scriptHandler.pyc", line 174, in executeScript
  File "NVDAObjects\window\winword.pyc", line 845, in script_tab
  File "NVDAObjects\window\winword.pyc", line 855, in getLocalizedMeasurementTextForPointSize
  File "comtypesMonkeyPatches.pyc", line 32, in new__getattr__
  File "comtypes\client\lazybind.pyc", line 149, in __getattr__
  File "comtypes\automation.pyc", line 664, in _invoke
COMError: (-2146823683, None, (u'\u3053\u306e\u30b3\u30de\u30f3\u30c9\u306f\u4f7f\u7528\u3067\u304d\u307e\u305b\u3093\u3002', u'Microsoft Word', u'wdmain11.chm', 37373, None))
ERROR - eventHandler.executeEvent (17:04:54):
error executing event: gainFocus on <NVDAObjects.Dynamic_IAccessibleExcel7WindowWindowNVDAObject object at 0x047C2770> with extra args of {}
Traceback (most recent call last):
  File "eventHandler.pyc", line 141, in executeEvent
  File "eventHandler.pyc", line 89, in __init__
  File "eventHandler.pyc", line 96, in next
  File "NVDAObjects\window\excel.pyc", line 116, in event_gainFocus
  File "NVDAObjects\window\excel.pyc", line 98, in _getSelection
AttributeError: 'NoneType' object has no attribute 'mergeCells'
ERROR - core.Notify (17:05:03):
errors in this core pump cycle
Traceback (most recent call last):
  File "core.pyc", line 318, in Notify
  File "mouseHandler.pyc", line 134, in pumpAll
  File "mouseHandler.pyc", line 95, in executeMouseMoveEvent
  File "NVDAObjects\__init__.pyc", line 246, in objectFromPoint
  File "NVDAObjects\__init__.pyc", line 186, in findBestAPIClass
  File "NVDAObjects\__init__.pyc", line 185, in findBestAPIClass
  File "NVDAObjects\window\excel.pyc", line 466, in kwargsFromSuper
  File "comtypes\client\lazybind.pyc", line 163, in caller
  File "comtypes\automation.pyc", line 664, in _invoke
COMError: (-2147352567, '\x97\xe1\x8aO\x82\xaa\x94\xad\x90\xb6\x82\xb5\x82\xdc\x82\xb5\x82\xbd\x81B', (None, None, None, 0, None))
ERROR - core.Notify (17:05:03):
errors in this core pump cycle
Traceback (most recent call last):
  File "core.pyc", line 318, in Notify
  File "mouseHandler.pyc", line 134, in pumpAll
  File "mouseHandler.pyc", line 95, in executeMouseMoveEvent
  File "NVDAObjects\__init__.pyc", line 246, in objectFromPoint
  File "NVDAObjects\__init__.pyc", line 186, in findBestAPIClass
  File "NVDAObjects\__init__.pyc", line 185, in findBestAPIClass
  File "NVDAObjects\window\excel.pyc", line 466, in kwargsFromSuper
  File "comtypes\client\lazybind.pyc", line 163, in caller
  File "comtypes\automation.pyc", line 664, in _invoke
COMError: (-2147352567, '\x97\xe1\x8aO\x82\xaa\x94\xad\x90\xb6\x82\xb5\x82\xdc\x82\xb5\x82\xbd\x81B', (None, None, None, 0, None))
ERROR - core.Notify (17:05:03):
errors in this core pump cycle
Traceback (most recent call last):
  File "core.pyc", line 318, in Notify
  File "mouseHandler.pyc", line 134, in pumpAll
  File "mouseHandler.pyc", line 95, in executeMouseMoveEvent
  File "NVDAObjects\__init__.pyc", line 246, in objectFromPoint
  File "NVDAObjects\__init__.pyc", line 186, in findBestAPIClass
  File "NVDAObjects\__init__.pyc", line 185, in findBestAPIClass
  File "NVDAObjects\window\excel.pyc", line 466, in kwargsFromSuper
  File "comtypes\client\lazybind.pyc", line 163, in caller
  File "comtypes\automation.pyc", line 664, in _invoke
COMError: (-2147352567, '\x97\xe1\x8aO\x82\xaa\x94\xad\x90\xb6\x82\xb5\x82\xdc\x82\xb5\x82\xbd\x81B', (None, None, None, 0, None))
ERROR - core.Notify (17:05:03):
errors in this core pump cycle
Traceback (most recent call last):
  File "core.pyc", line 318, in Notify
  File "mouseHandler.pyc", line 134, in pumpAll
  File "mouseHandler.pyc", line 95, in executeMouseMoveEvent
  File "NVDAObjects\__init__.pyc", line 246, in objectFromPoint
  File "NVDAObjects\__init__.pyc", line 186, in findBestAPIClass
  File "NVDAObjects\__init__.pyc", line 185, in findBestAPIClass
  File "NVDAObjects\window\excel.pyc", line 466, in kwargsFromSuper
  File "comtypes\client\lazybind.pyc", line 163, in caller
  File "comtypes\automation.pyc", line 664, in _invoke
COMError: (-2147352567, '\x97\xe1\x8aO\x82\xaa\x94\xad\x90\xb6\x82\xb5\x82\xdc\x82\xb5\x82\xbd\x81B', (None, None, None, 0, None))
@nvaccessAuto
Copy link
Author

Attachment test1.xlsx added by nishimotz on 2014-08-02 08:15
Description:
test1.xlsx

@nvaccessAuto
Copy link
Author

Attachment test2.docx added by nishimotz on 2014-08-02 08:16
Description:
test2.docx

@nvaccessAuto
Copy link
Author

Attachment nvda.log added by nishimotz on 2014-08-02 08:16
Description:
nvda.log

@nvaccessAuto
Copy link
Author

Comment 1 by jteh on 2014-08-03 22:08
Is this a regression; i.e. does this happen with NVDA 2014.2?

@nvaccessAuto
Copy link
Author

Comment 2 by nishimotz on 2014-08-04 01:30
Although error sound cannot be heard, this error happens with 2014.2.

The most annoying thing is: once the attached excel file gets focus,
the focus automatically moves to the preview of the worksheet,
and after that, there are no feedbacks for arrow keys,
because NVDA seems to handle the location of input focus incorrectly
after the occurence of this internal error.

@bhavyashah
Copy link

@nishimotz Assuming you still use Outlook 2013, do the reported errors still occur with the latest version of NVDA at your end?
It seems like we have all necessary diagnostic information present - sample documents (Word and Excel attachment), NVDA log, STR, system information and software version information. Unfortunately however, I do not have Office 2013 and I do not use Outlook (2010) either, making me unable to provide substantial testing feedback.
Anyways, while an internal error is a matter of concern but still low in terms of impact, a user-facing inconvenience has been described in #4351 (comment). To rephrase the same, @nishimotz essentially says that as a result of said error, when the Excel attachment is opened, NVDA's focus jumps to the preview of the Excel worksheet, wherein arrowing and other standard navigation commands trigger no speech feedback from NVDA.

@nishimotz
Copy link
Contributor

Actually, Outlook 2013 is just for testing.
Results with the latest version of NVDA.

setup:

  • nvda_snapshot_master-14508,17763fde.exe
  • Windows 10 (1703) 64bit Japanese
  • Microsoft Office 2013 (Outlook/Excel/Word) Japanese

procedure:

  • send a mail to myself with attached documents book1.xlsx and test1.docx
  • open received mail via Outlook 2013
  • press shift+tab to access 'attachments view'
  • when book1.xlsx is opened, raises an error
  • when document view shows the content of Excel worksheet, with the arrow keys, focus moves to a cell in the worksheet. error is not raised, however, content is not announced.

error log is as follows:

INFO - __main__ (18:32:26.157):
Starting NVDA
INFO - core.main (18:32:26.743):
Config dir: C:\Users\nishimotz\AppData\Roaming\nvda
INFO - config.ConfigManager._loadConfig (18:32:26.743):
Loading config: C:\Users\nishimotz\AppData\Roaming\nvda\nvda.ini
INFO - core.main (18:32:26.759):
NVDA version master-14508,17763fde
INFO - core.main (18:32:26.759):
Using Windows version 10.0.15063 workstation
INFO - core.main (18:32:26.759):
Using Python version 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:42:59) [MSC v.1500 32 bit (Intel)]
INFO - core.main (18:32:26.759):
Using comtypes version 0.6.2
INFO - synthDriverHandler.setSynth (18:32:27.105):
Loaded synthDriver oneCore
INFO - core.main (18:32:27.105):
Using wx version 3.0.2.0 msw (classic)
INFO - brailleInput.initialize (18:32:27.105):
Braille input initialized
INFO - braille.initialize (18:32:27.105):
Using liblouis version 3.2.0
INFO - braille.BrailleHandler.setDisplayByName (18:32:27.105):
Loaded braille display driver noBraille, current display has 0 cells.
WARNING - core.main (18:32:27.190):
Java Access Bridge not available
INFO - _UIAHandler.UIAHandler.MTAThreadFunc (18:32:27.190):
UIAutomation: IUIAutomation3
INFO - core.main (18:32:28.151):
NVDA initialized
ERROR - eventHandler.executeEvent (18:32:53.326):
error executing event: gainFocus on <NVDAObjects.Dynamic_IAccessibleExcel7WindowWindowNVDAObject object at 0x04FBA650> with extra args of {}
Traceback (most recent call last):
  File "eventHandler.pyc", line 143, in executeEvent
  File "eventHandler.pyc", line 91, in __init__
  File "eventHandler.pyc", line 98, in next
  File "NVDAObjects\window\excel.pyc", line 660, in event_gainFocus
  File "NVDAObjects\window\excel.pyc", line 629, in _getSelection
AttributeError: 'NoneType' object has no attribute 'mergeCells'

Book1.xlsx
test1.docx

@feerrenrut feerrenrut added the p4 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority label Oct 18, 2017
@feerrenrut
Copy link
Contributor

Thanks for the updated details @nishimotz

While this is pretty annoying, and restricts the way that outlook 2003 can be used with NVDA, my assumption is that there are few people actually encountering this problem. As such, I have set this as a priority 3.

@Brian1Gaff
Copy link

Brian1Gaff commented Oct 18, 2017 via email

@Adriani90
Copy link
Collaborator

Any further updates regarding this issue? I am also having this Problem in Outlook. I have disabled that live pane draft in Outlook's Settings because it is very annoying that NVDA does not read the Content. I prefer to open the attachment by right click on it and open it directly in MS Excel or Word.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app/microsoft-office bug p4 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority
Projects
None yet
Development

No branches or pull requests

7 participants