| Summary: |
in Fedora12 HyperText of linklabel got GetInterfaces error |
| Product: |
[Mono] UI Automation
|
Reporter: |
calen chen <cachen> |
| Component: |
Winforms - General | Assignee: |
E-mail List <mono-a11y-bugs> |
| Status: |
NEW
---
|
QA Contact: |
E-mail List <mono-a11y-qa> |
| Severity: |
Normal
|
|
|
| Priority: |
P3 - Medium
|
|
|
| Version: |
Unspecified | |
|
| Target Milestone: |
--- | |
|
| Hardware: |
Other | |
|
| OS: |
Other | |
|
| Whiteboard: |
|
|
Found By:
|
---
|
Services Priority:
|
|
|
Business Priority:
|
|
Blocker:
|
---
|
|
Marketing QA Status:
|
---
|
IT Deployment:
|
---
|
| Attachments: |
test script
|
REPRO: 1. run uia2atk/test/samples/winfroms/linklabel.py 2. run the attachment script 3 times to doing queryAction() of linklabel RESULTS: the first time to run the script would doing correct, but then get difference errors: [a11y@a11y-fedora12-32bit ~]$ ./getState.py /usr/lib/python2.6/site-packages/dbus/connection.py:242: DeprecationWarning: object.__init__() takes no parameters super(Connection, self).__init__(*args, **kwargs) print hypertext and link: [label | calculator:/usr/bin/gcalctool] [DEAD] print link object: [push button | /usr/bin/gcalctool] iaction: 1 [a11y@a11y-fedora12-32bit ~]$ ./getState.py /usr/lib/python2.6/site-packages/dbus/connection.py:242: DeprecationWarning: object.__init__() takes no parameters super(Connection, self).__init__(*args, **kwargs) print hypertext and link: [label | calculator:/usr/bin/gcalctool] [DEAD] print link object: [DEAD] Traceback (most recent call last): File "./getState.py", line 23, in <module> iaction = obj.queryAction() File "/usr/lib/python2.6/site-packages/pyatspi/accessible.py", line 123, in new_query return self.queryInterface(interface) File "/usr/lib/python2.6/site-packages/pyatspi/accessible.py", line 269, in queryInterface if interface in self.interfaces or interface == "org.a11y.atspi.Collection": File "/usr/lib/python2.6/site-packages/pyatspi/accessible.py", line 511, in _get_interfaces return func() File "/usr/lib/python2.6/site-packages/pyatspi/accessible.py", line 193, in dbus_method_func raise LookupError(e) LookupError: org.freedesktop.DBus.Error.Failed: Method "GetInterfaces" with signature "" on interface "org.a11y.atspi.Accessible" could not be processed as object /org/a11y/atspi/accessible/6 does not exist [a11y@a11y-fedora12-32bit ~]$ ./getState.py /usr/lib/python2.6/site-packages/dbus/connection.py:242: DeprecationWarning: object.__init__() takes no parameters super(Connection, self).__init__(*args, **kwargs) print hypertext and link: [label | calculator:/usr/bin/gcalctool] [DEAD] print link object: None Traceback (most recent call last): File "./getState.py", line 23, in <module> iaction = obj.queryAction() AttributeError: 'NoneType' object has no attribute 'queryAction' EXPECTED RESULTS: no error appears. COMMENTS: link children don't appear when using accerciser to navigate the linklabel. this problem only appears in Fedora.