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 598556 - Import errors for mouse_review and braille
Import errors for mouse_review and braille
Status: RESOLVED NOTGNOME
Product: orca
Classification: Applications
Component: general
2.28.x
Other Linux
: Normal normal
: ---
Assigned To: Orca Maintainers
Orca Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-10-15 13:29 UTC by Arky
Modified: 2009-10-19 14:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Arky 2009-10-15 13:29:58 UTC
Fails to start on Karmic test machine

$ orca

** (orca:2756): WARNING **: Trying to register gtype 'WnckWindowState' as flags when in fact it is of type 'GEnum'

** (orca:2756): WARNING **: Trying to register gtype 'WnckWindowActions' as flags when in fact it is of type 'GEnum'

** (orca:2756): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as flags when in fact it is of type 'GEnum'
Traceback (most recent call last):
  • File "<string>", line 1 in <module>
  • File "/usr/lib/python2.6/dist-packages/orca/orca.py", line 54 in <module>
    import mouse_review
  • File "/usr/lib/python2.6/dist-packages/orca/mouse_review.py", line 44 in <module>
    import braille
  • File "/usr/lib/python2.6/dist-packages/orca/braille.py", line 45 in <module>
    _defaultContractionTable = louis.getDefaultTable()
AttributeError: 'module' object has no attribute 'getDefaultTable'

Comment 1 Willie Walker 2009-10-15 13:43:12 UTC
The Wnck issues are known and are not Orca.  :-(  The following lines make me suspicious that there might be a configuration issue on the machine since the line in question doesn't exist in the current source code:

  • File "/usr/lib/python2.6/dist-packages/orca/braille.py", line 45 in <module>
    _defaultContractionTable = louis.getDefaultTable()

What does "orca --version" give you?
Comment 3 Arky 2009-10-19 09:01:31 UTC
Willie, looks a packaging issue in Ubuntu. Removing the gnome-orca package and deleting orca folder manually from /usr/lib/python2.6/dist-packages fixed this error.
Comment 4 Willie Walker 2009-10-19 14:40:40 UTC
Thanks!