Bug 635484

Summary: Missing dependency on python-xlib causes orca to fail on start
Product: [Fedora] Fedora Reporter: Adam Williamson <awilliam>
Component: orcaAssignee: David Zeuthen <davidz>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: davidz, mclasen
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: pyatspi-0.3.91-2.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-22 04:07:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 634253    

Description Adam Williamson 2010-09-19 23:10:19 UTC
Orca in F14 is missing a dependency on python-xlib, causing it to fail to run out of the box:

[adamw@vaioz live]$ orca 
Gtk-Message: Failed to load module "atk-bridge": libatk-bridge.so: cannot open shared object file: No such file or directory

(orca:31286): Bonobo-WARNING **: Bonobo must be initialized before use
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib64/python2.7/site-packages/orca/orca.py", line 2205, in main
    init(pyatspi.Registry)
  File "/usr/lib64/python2.7/site-packages/orca/orca.py", line 1618, in init
    "object:children-changed")
  File "/usr/lib/python2.7/site-packages/pyatspi/registry.py", line 269, in registerEventListener
    self._set_default_registry ()
  File "/usr/lib/python2.7/site-packages/pyatspi/registry.py", line 163, in _set_default_registry
    self._set_registry (MAIN_LOOP_GLIB)
  File "/usr/lib/python2.7/site-packages/pyatspi/registry.py", line 134, in _set_registry
    cache = AccessibleCache (app_name)
  File "/usr/lib/python2.7/site-packages/pyatspi/cache.py", line 326, in __init__
    self._manager = DesktopCacheManager (self)
  File "/usr/lib/python2.7/site-packages/pyatspi/cache.py", line 87, in __init__
    bus = SyncAccessibilityBus (registry.Registry())
  File "/usr/lib/python2.7/site-packages/pyatspi/busutils/bus.py", line 163, in __new__
    _bus.BusConnection.__new__ (cls, _get_accessibility_bus_address(), None)
  File "/usr/lib/python2.7/site-packages/pyatspi/busutils/bus.py", line 30, in _get_accessibility_bus_address
    from Xlib import display, Xatom
ImportError: No module named Xlib

This is obviously especially problematic in this case, as anyone who needs to use Orca will likely be unable to see the error message. After installing python-xlib, I can run orca fine (or, at least, it seems to run fine; I don't know how to use it to really be sure it does what a user would need it to).

It would be very good to fix this for Beta, it's a trivial fix that can't break much and it's very important to sight-impaired users.

Comment 1 Adam Williamson 2010-09-19 23:23:06 UTC

-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 2 Fedora Update System 2010-09-20 17:32:33 UTC
pyatspi-0.3.91-2.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/pyatspi-0.3.91-2.fc14

Comment 3 Fedora Update System 2010-09-20 18:42:38 UTC
pyatspi-0.3.91-2.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update pyatspi'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/pyatspi-0.3.91-2.fc14

Comment 4 Fedora Update System 2010-09-22 04:06:58 UTC
pyatspi-0.3.91-2.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.