After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 615304 - Sanity check needed in the Gecko script's updateBraille
Sanity check needed in the Gecko script's updateBraille
Status: RESOLVED FIXED
Product: orca
Classification: Applications
Component: general
2.30.x
Other All
: Normal normal
: 2.30.1
Assigned To: Joanmarie Diggs (IRC: joanie)
Orca Maintainers
Depends on:
Blocks: 404403
 
 
Reported: 2010-04-09 15:55 UTC by Joanmarie Diggs (IRC: joanie)
Modified: 2010-04-09 16:00 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Joanmarie Diggs (IRC: joanie) 2010-04-09 15:55:14 UTC
While working on another issue, I came across the following traceback:

vvvvv PROCESS OBJECT EVENT object:children-changed:add:system vvvvv
OBJECT EVENT: object:children-changed:add:system       detail=(0,0,[invalid | ])
IGNORING DEFUNCT OBJECT
^^^^^ PROCESS OBJECT EVENT object:children-changed:add:system ^^^^^

DEQUEUED EVENT object:text-changed:insert:system <----------

vvvvv PROCESS OBJECT EVENT object:text-changed:insert:system vvvvv
OBJECT EVENT: object:text-changed:insert:system        detail=(0,1,)
    app.name='Firefox' name='Index of /pub/mozilla.org/firefox/nightly/2010' role='document frame' state='enabled focusable focused horizontal opaque sensitive showing visible' relations='node child of'
Object deemed to be for layout purposes only: [table | ]

Traceback (most recent call last):
  • File "/usr/lib/python2.6/site-packages/orca/focus_tracking_presenter.py", line 709 in _processObjectEvent
    s.processObjectEvent(event)
  • File "/usr/lib/python2.6/site-packages/orca/script.py", line 370 in processObjectEvent
    self.listeners[key](event)
  • File "/usr/lib/python2.6/site-packages/orca/scripts/toolkits/Gecko/script.py", line 1624 in onTextInserted
    default.Script.onTextInserted(self, event)
  • File "/usr/lib/python2.6/site-packages/orca/default.py", line 3747 in onTextInserted
    self.updateBraille(event.source)
  • File "/usr/lib/python2.6/site-packages/orca/scripts/toolkits/Gecko/script.py", line 2382 in updateBraille
    if focusedObj.getRole() == pyatspi.ROLE_SLIDER:
AttributeError: 'NoneType' object has no attribute 'getRole'

Comment 1 Joanmarie Diggs (IRC: joanie) 2010-04-09 16:00:40 UTC
Fix committed to master:
http://git.gnome.org/browse/orca/commit/?id=c916f867ad04a0cae8b5566df1fb3f81d92094b2

Fix committed to the gnome-2-30 branch:
http://git.gnome.org/browse/orca/commit/?id=ca63a27c33ef98bd046fae1032ed8a12de491f8c