Be carefuly, don't install latest python-pyatspi2 related update, because Orca unable to import pyatspi module after installation

José Vilmar Estácio de Souza vilmar at informal.com.br
Wed Apr 4 18:20:48 UTC 2012


Hi peter.
I am not sure because I've only updated my installation.



On 04/04/2012 02:58 PM, Peter Vágner wrote:
> Hello,
> Is the apr 4 daily live cd affected or it only happens after the package update?
> Greetings
>
> Peter
>
>
> Dňa 4.4.2012, o 14:28, José Vilmar Estácio de Souza<vilmar at informal.com.br>  napísal:
>
>> Hi attila, thanks for the steps. I'll give a try.
>> Fortunately I installed speakup!
>> Thanks again.
>>
>> On 04/04/2012 09:18 AM, Hammer Attila wrote:
>>> Hy José,
>>>
>>> Very sorry the confirmation.
>>> Unfortunately the workaround is little difficult and not elegant.
>>> I doed following commands in a live system to verify the package build,
>>> you use own risk your installed system:
>>> 1. sudo apt-get install devscripts
>>> 2. sudo apt-get build-dep python-pyatspi2.
>>> 3. cd /usr/src
>>> 4. sudo apt-get source python-pyatspi2
>>> 5. sudo cd the pyatspi related directory.
>>> 6. sudo debuild
>>> 7. sudo cd debian/tmp
>>> 8. sudo cp -r usr /
>>> 9. Verify orca -v command result. If not have pyatspi related traceback,
>>> all works right again.
>>>
>>> Of course, the cp related command you possible give other place. For
>>> example if you mounted your root partition, you need replace the / path
>>> with correct mount point if you not working your installed system.
>>> If this is the case and you would like verify possible importing the
>>> pyatspi related modules, you need chrooting your installed system, and
>>> run orca -v command or run simple python code after you launched python:
>>> import pyatspi
>>> If you not get traceback error messages, all works right.
>>>
>>> If not have you a braille display and not possible to work in console
>>> your installed system, need sighted assistance all task, except you not
>>> using with speakup.
>>>
>>> Summary, I don't no why, but the buggy python-pyatspi2 package not
>>> installed python bindings with correct
>>> usr/lib/python2.7/dist-packages/pyatspi folder.
>>>
>>> Attila
>>>
>>
>> --
>> Ubuntu-accessibility mailing list
>> Ubuntu-accessibility at lists.ubuntu.com
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-accessibility
>



More information about the Ubuntu-accessibility mailing list