Closed spectranaut closed 6 months ago
When getting some node data on some nodes in libreoffice, we are getting error codes from the IA2 API.
For example, IAAction::toString throws on a menu item:
------> ROLE_SYSTEM_MENUITEM Name='File', Description='', States=('FOCUSABLE', 'HASPOPUP', 'OPAQUE') ... File "C:\Users\spectranaut\repos\AXAccess\build\bin\dump_tree_ia2.py", line 28, in print_tree print(" " * level + "* " + action.toString()) ^^^^^^^^^^^^^^^^^ File "C:\Users\spectranaut\repos\AXAccess\build\bin\acacia_ia2.py", line 314, in toString return _acacia_ia2_python.IAAction_toString(self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: ERROR: get_name failed: E_NOTIMPL
And this failure:
--> IA2_ROLE_ROOT_PANE ROLE_SYSTEM_CLIENT Name='Untitled 1 — LibreOffice Writer', Description='', States=('FOCUSABLE',) ... File "C:\Users\spectranaut\repos\AXAccess\build\bin\dump_tree_ia2.py", line 22, in print_tree properties = ia2.toString() ^^^^^^^^^^^^^^ File "C:\Users\spectranaut\repos\AXAccess\build\bin\acacia_ia2.py", line 280, in toString return _acacia_ia2_python.IA2_toString(self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: ERROR: get_attributes failed: E_FAIL
this issue is really just this issue: #213 closing
When getting some node data on some nodes in libreoffice, we are getting error codes from the IA2 API.
For example, IAAction::toString throws on a menu item:
And this failure: