[Kde-accessibility] KTTSD does not speak, no way to debug

Gary Cramblitt garycramblitt at comcast.net
Thu Jul 29 16:34:14 CEST 2004


On Wednesday 28 July 2004 02:18 pm, Robert Vogl wrote:

Thank you for the feedback.

> today I was compiling ktts out of the kdenonbeta package from 07/27. It has
> been compiled fine, but the system remains dumb.
>
> I configured it for use of "Hadifax" (AFAIK a typo here, correct is
> "Hadifix") and the "Test" function of the kttsmgr-properties tab performes
> well. My sentence to speak is listed in the Job View.

Did you remember to also do "dcop kttsd kspeech startText 0"?  setText creates 
a text job but it doesn't start until you call startText.  You can also click 
Restart in kttsmgr to start the job.

Did you remember to click the Default button in kttsmgr after configuring 
Hadifax?  There must be a check mark next to Hadifax indicating it is the 
default talker.  (Yes, should be automatic when there is only one talker 
configured.)

> Unfortunately I 
> cannot find any debugging output, so I cannot provide you with any deeper
> information. If I could I would.
>
> Since the system is still under heavy development and I assume developers
> are interested in more detailed error-reports than I can deliver today, I
> would like to make the proposal to integrate logging functionality. At
> least the ktts-Daemon should write logs into a file due to its habit
> detaching from the terminal.

The best way to debug is 1) start kttsd in a konsole, 2) in a separate 
konsole, start kttsmgr.  This way, you can see the debug outputs from kttsd 
in the first konsole.  If you start kttsd from kttsmgr, (or restart it by 
unchecking and checking the Enable checkbox) the debug outputs of the child 
process are not displayed. 

It is possible to configure kdDebug to output to a file.  Run "kdebugdialog 
--fullmode".

Please let me know if you are still having trouble after trying these things.

FYI, KTTSD is undergoing major refactoring right now to better support 
asynchronous plugins.  I will be posting enhanced APIs in a few days.

Regards.

-- 
Gary Cramblitt (aka PhantomsDad)
KDE Text-to-Speech Maintainer
http://accessibility.kde.org/developer/kttsd/index.php


More information about the kde-accessibility mailing list