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 354985 - gedit script generates traceback.
gedit script generates traceback.
Status: RESOLVED FIXED
Product: orca
Classification: Applications
Component: general
1.0.x
Other All
: Normal normal
: 2.18.0
Assigned To: Rich Burridge
Orca Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-09-08 15:31 UTC by Rich Burridge
Modified: 2008-07-22 19:13 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
Patch to fix the problem. (511 bytes, patch)
2006-09-08 15:37 UTC, Rich Burridge
none Details | Review

Description Rich Burridge 2006-09-08 15:31:49 UTC
When running gedit with latest orca, the following
traceback is generated:

Traceback (most recent call last):
  • File "/usr/lib/python2.5/site-packages/orca/focus_tracking_presenter.py", line 409 in _processObjectEvent
    s.processObjectEvent(event)
  • File "/usr/lib/python2.5/site-packages/orca/script.py", line 159 in processObjectEvent
    self.listeners[key](event)
  • File "/usr/lib/python2.5/site-packages/orca/scripts/gedit.py", line 335 in onStateChanged
    orca.setLocusOfFocus(event, event.source)
NameError: global name 'orca' is not defined

Comment 1 Rich Burridge 2006-09-08 15:37:01 UTC
Created attachment 72420 [details] [review]
Patch to fix the problem.
Comment 2 Rich Burridge 2006-09-08 15:38:57 UTC
Patch checked into CVS HEAD. Closing as FIXED.