GNOME Bugzilla – Bug 444860
Traceback from Orca when quitting Firefox from the www.google.com webpage.
Last modified: 2008-07-22 19:27:55 UTC
Found whilst working on Orca bug #435199: Steps to reproduce: 1/ Start up Orca 2/ Statup Firefox 3.0(alpha) with www.google.com as the home page. 3/ Quit Firefox with Alt-f, "q" Orca generates the following two tracebacks:
+ Trace 138858
start(registry) # waits until we stop the registry
registry.start()
bonobo.main()
self._processObjectEvent(event)
s.processObjectEvent(event)
self.listeners[key](event)
default.Script.onFocus(self, event)
orca.setLocusOfFocus(event, newFocus)
orca_state.locusOfFocus)
newLocusOfFocus)
self.updateBraille(newLocusOfFocus)
max(0, lineContentsOffset))
self.findPreviousCaretInOrder(obj, characterOffset)
includeNonText)
obj.parent.child(index),
debug.printStack(debug.LEVEL_WARNING)
traceback.print_stack(None, 100, debugFile)
Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/orca/Gecko.py", line 5172, in findPreviousCaretInOrder includeNonText) File "/usr/lib/python2.5/site-packages/orca/Gecko.py", line 5139, in findPreviousCaretInOrder elif obj.childCount and obj.child(obj.childCount - 1): AttributeError: 'NoneType' object has no attribute 'childCount'
I just checked in a fix for the NoneType error. That leaves what to do about getting a focus: event for an object and then having that object go away on us.
(In reply to comment #1) > I just checked in a fix for the NoneType error. That leaves what to do about > getting a focus: event for an object and then having that object go away on us. I'm trying to reproduce this and cannot do so. But, I notice that the stack trace is purposely output by Orca at LEVEL_WARNING, meaning we handle it gracefully.
Will and I discussed this one this morning. I think it's okay to just close it out now thanks Joanie.
Okie dokie. Done.