After installed python-pyatspi2 2.4.0+dfsg-0ubuntu2 packaged version, Orca can not possible import pyatspi

Bug #973229 reported by Attila Hammer
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
pyatspi (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Dear Developers,

Unfortunately this is not a joke.
After I installed python-pyatspi2 2.4.0+dfsg-0ubuntu2 package version my Precise system, Orca impossible to import pyatspi module.
I verifyed this with my custom live CD, the problem is unfortunately not depending my installed system.
Reproducation steps:
1. Type orca -v command.
You will be see following traceback error message:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/orca/orca.py", line 55, in <module>
    import pyatspi
ImportError: No module named pyatspi

If I run python command, and run import pyatspi code, I see following error:
Python 2.7.3rc2 (default, Mar 21 2012, 21:13:11)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyatspi
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named pyatspi

Of course the proposed repository is not enabled my Precise system and my live CD.

Attila

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: python-pyatspi2 2.4.0+dfsg-0ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-21.34-generic-pae 3.2.13
Uname: Linux 3.2.0-21-generic-pae i686
ApportVersion: 2.0-0ubuntu4
Architecture: i386
CasperVersion: 1.314
Date: Wed Apr 4 11:28:46 2012
LiveMediaBuild: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120402)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=hu_HU:en
 TERM=xterm
 LANG=hu_HU.UTF-8
 LC_MESSAGES=hu_HU.UTF-8
 SHELL=/bin/bash
SourcePackage: pyatspi
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Attila Hammer (hammera) wrote :
tags: added: a11y
summary: After installed python-pyatspi2 2.4.0+dfsg-0ubuntu2 packaged version,
- Orca can not possible import pytatspi
+ Orca can not possible import pyatspi
Attila Hammer (hammera)
Changed in pyatspi (Ubuntu):
status: New → Confirmed
Revision history for this message
Attila Hammer (hammera) wrote :

I tryed rebuild again this package.
In debian/python-pyatspi and python-pyatspi2 directoryes in usr directory only have the share/doc folder, so python bindings are not installed after build.
Python bindings are land in the debian/tmp folder in usr/lib/python2.7/dist-packages/pyatspi folder.
If I copying my systems the python bindings in this directory, all works correct again.

Attila

Revision history for this message
jose vilmar estacio de souza (vilmar-informal) wrote :

This is confirmed.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package pyatspi - 2.4.0+dfsg-0ubuntu3

---------------
pyatspi (2.4.0+dfsg-0ubuntu3) precise; urgency=low

  * Add install file to make sure the python module actually gets shipped.
    This was forgotten about with the adding of the transition package.
    (LP: #973229)
 -- Luke Yelavich <email address hidden> Thu, 05 Apr 2012 10:03:25 +1000

Changed in pyatspi (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.