No module named pyatspi
Bug #491327 reported by
arky
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
at-spi (Ubuntu) |
Fix Released
|
Critical
|
Luke Yelavich |
Bug Description
Binary package hint: at-spi
Might be the caused of path changes in the last upstream release.
$ python -c 'import pyatspi'
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named pyatspi
$ apt-cache policy at-spi
at-spi:
Installed: 1.29.2-0ubuntu1
Candidate: 1.29.2-0ubuntu1
Version table:
*** 1.29.2-0ubuntu1 0
500 http://
100 /var/lib/
$ apt-cache policy python-pyatspi
python-pyatspi:
Installed: 1.29.2-0ubuntu1
Candidate: 1.29.2-0ubuntu1
Version table:
*** 1.29.2-0ubuntu1 0
500 http://
100 /var/lib/
Related branches
Changed in at-spi (Ubuntu): | |
importance: | Undecided → Critical |
tags: | added: iso-testing |
Changed in at-spi (Ubuntu): | |
assignee: | nobody → Luke Yelavich (themuso) |
status: | Confirmed → In Progress |
Changed in at-spi (Ubuntu): | |
status: | Fix Released → New |
To post a comment you must log in.
This is caused by a stale reference to site-packages in /usr/lib/ python2. 6/dist- packages/ pyatspi- cobra.pth. It refers to the old 'site-packages' instead of 'dist-packages'. The contents should look like:
import commands, sys; a = commands. getoutput( 'gconftool- 2 --get /desktop/ gnome/interface /at-spi- corba') ; (a == 'true') and sys.path.insert(0, '/usr/lib/ python2. 6/dist- packages/ pyatspi- corba')
Bill