Re: [orca-list] strange error



Hi Chris,

Sorry--it's a regression in 2.0.1. The attach patch fixes it for me (it is committed in git). THanks for the report.

-Mike

On Wed, 4 May 2011, Christopher Moore wrote:

Hello,
I couldn't capture the entire traceback, but maybe there's enough to
look at.
At the bottom we seem "global name exwrap" not defined.  I'm running
3.0.1 and received this when going into thunderbird.

 File "/usr/lib/python2.7/site-packages/orca/script.py", line 406, in
processOb
jectEvent
   self.listeners[key](event)
 File
"/usr/lib/python2.7/site-packages/orca/scripts/toolkits/Gecko/script.py",
line 1486, in onChildrenChanged
   self.liveMngr.handleEvent(event)
 File "/usr/lib/python2.7/site-packages/orca/liveregions.py", line 165,
in hand
leEvent
   politeness = self._getLiveType(event.source)
 File "/usr/lib/python2.7/site-packages/orca/liveregions.py", line 522,
in _get
LiveType
   uri = self._script.bookmarks.getURIKey()
 File
"/usr/lib/python2.7/site-packages/orca/scripts/toolkits/Gecko/bookmarks.p
y", line 289, in getURIKey
   uri = self._script.utilities.documentFrameURI()
 File
"/usr/lib/python2.7/site-packages/orca/scripts/toolkits/Gecko/script_util
ities.py", line 209, in documentFrameURI
   attrs = documentFrame.queryDocument().getAttributes()
 File "/usr/lib/python2.7/site-packages/pyatspi/document.py", line 60,
in getAt
tributes
   ret = exwrap(Atspi.Document.get_attributes, self.obj)
NameError: global name 'exwrap' is not defined

Perhaps this is the result of a block of code which was never
encountered during testing.

Chris
_______________________________________________
orca-list mailing list
orca-list gnome org
http://mail.gnome.org/mailman/listinfo/orca-list
Visit http://live.gnome.org/Orca for more information on Orca.
The manual is at http://library.gnome.org/users/gnome-access-guide/nightly/ats-2.html
The FAQ is at http://live.gnome.org/Orca/FrequentlyAskedQuestions
Netiquette Guidelines are at http://live.gnome.org/Orca/FrequentlyAskedQuestions/NetiquetteGuidelines
Log bugs and feature requests at http://bugzilla.gnome.org
Find out how to help at http://live.gnome.org/Orca/HowCanIHelp

Attachment: document-fix.patch
Description: Text document



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]