speechd-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Orca and Speech Dispatcher


From: Mírian Bruckschen
Subject: Orca and Speech Dispatcher
Date: Fri, 3 Aug 2007 08:57:45 -0300

Hi Tomas,

On 8/3/07, Tomas Cerha wrote:
> Hi M?rian,
>
> thank you for your debuging effort.  My guess now is, that you have an
> older version of python Speech Dispatcher interface installed, and it
> takes precedence over the new version (or the new version is not
> installed at all).  Could you, please, check, whether you have a package
> python-speechd installed?
>
>   dpkg -l python-speechd

You were right, I only had the previous version installed:

mirian at mirian-laptop:~$ dpkg -l python-speechd
Desejado=U=Desconhecido/Instalar/Remover/aPagar/H=Manter
| status=N?o/Instalado/arquiv.-Config./U=Descomp./Falhou-config/H=semi-inst.
|/ Erro?=(nenhum)/H=Mantido/precisa-Reinst./X=os dois problemas
(status,Erro: mai?sculas=ruim)
||/ Nome           Vers?o        Descri??o
+++-==============-==============-============================================
ii  python-speechd 0.6.1-2ubuntu1 Python interface to Speech Dispatcher

> If so, uninstall it, please, and try the python import command again.
> If it doesn't print any errors, stay in the python shell and invoke the
> following command:
>
>   from speechd import CallbackType

OK, uninstalled. But now it says I don't have python-speechd:

mirian at mirian-laptop:~$ python
Python 2.4.4c1 (#2, Oct 11 2006, 21:51:02)
[GCC 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import speechd
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named speechd

> If it produces an error, you still have a problem.  Then send us the
> result of this command (still in the python shell):
>
>   print speechd.__file__
>
> This will tell you which file is used by python.  Exit python shell and
> run also this command:
>
>   locate speechd/client.py

mirian at mirian-laptop:~$ slocate speechd/client.py
/home/mirian/spd062/src/python/speechd/client.py
/home/mirian/spd062/src/python/build/lib/speechd/client.py
/lib/python2.4/site-packages/speechd/client.py
/lib/python2.4/site-packages/speechd/client.pyc

Is this client.py in lib dir the right module? If yes, is there any
way for me to get python (and, therefore, orca) to recognize it? If
no... what else can I do?

Thank you,

-- 
M?rian Bruckschen


reply via email to

[Prev in Thread] Current Thread [Next in Thread]