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 640135 - Generator Cache can get cleared in the midst of getting the mnemonic, shortcut, and accelerator
Generator Cache can get cleared in the midst of getting the mnemonic, shortcu...
Status: RESOLVED FIXED
Product: orca
Classification: Applications
Component: general
2.91.x
Other All
: Normal normal
: 2.91.6
Assigned To: Joanmarie Diggs (IRC: joanie)
Orca Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-01-21 06:08 UTC by Joanmarie Diggs (IRC: joanie)
Modified: 2011-01-21 06:14 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Joanmarie Diggs (IRC: joanie) 2011-01-21 06:08:01 UTC
As with other 'generator cache' caches, if the timing is just right, by the time we attempt to store a new value as the 'keybinding' (aka the mnemonic, shortcut, and accelerator for a given widget) the cache has been cleared and we see tracebacks like:

Traceback (most recent call last):
  • File "/usr/lib/python2.6/dist-packages/orca/generator.py", line 249 in generate
    globalsDict[arg] = self._methodsDict[arg](obj, **args)
  • File "/usr/lib/python2.6/dist-packages/orca/braille_generator.py", line 146 in _generateAccelerator
    self._script.utilities.mnemonicShortcutAccelerator(obj)
  • File "/usr/lib/python2.6/dist-packages/orca/script_utilities.py", line 2730 in mnemonicShortcutAccelerator
    [mnemonic, fullShortcut, accelerator]
KeyError: 'keyBinding'