Re: gnopernicus - no speech



It's finally working !!!! Thank you so much.
I added the export path and reinstalled with the pre-fix you suggested.
Started brlmonitor and then Gnopernicus and heard  "Welcome to
Gnopernicus".

Sharon Snider
Linux Information Development, Accessibility, and Usability
IBM Linux Technology Services
(512) 838-4127, T/L 678-4127



                                                                                                                                 
                      Michael Meeks                                                                                              
                      <michael ximian c        To:       Sharon D Snider/Austin/IBM IBMUS                                        
                      om>                      cc:       gnome-accessibility-list gnome org                                      
                                               Subject:  Re: gnopernicus - no speech                                             
                      08/28/2002 03:37                                                                                           
                      AM                                                                                                         
                                                                                                                                 
                                                                                                                                 



Hi Sharon,

On Tue, 2002-08-27 at 20:49, Sharon D Snider wrote:
> I have reinstalled the latest version of gnome-speech and it compiles
> without error. I also installed Festival and have tried all 3 settings in
> Gnopernicus (ViaVoice, Festival and Gnome-Speech) with the same results,
0
> servers found. I ran brlmonitor and it functions properly on UDP port
7000.
> I tried to locate the problem in Gnome-speech but have been unsuccessful.
> If I execute the festival-tts-driver or the viavoice-tts-driver, I get
the
> following error:
> ** ERROR **: Error registering speech synthesis driver.

             That comes from this code fragment.

  ret = bonobo_activation_active_server_register (
                obj_id,
                bonobo_object_corba_objref (bonobo_object (driver)));

  if (ret != Bonobo_ACTIVATION_REG_SUCCESS)
    g_error ("Error registering speech synthesis driver.\n");

             Firstly; are you sure that you installed gnome-speech ? it's
vital to
have the '.server' file describing the location of that component in the
right place ${libdir}/bonobo/servers typically.

             Secondly; are you sure that your bonobo-activation-server is
pointing
at the directory you installed it to ? to make sure add:

             export GNOME2_PATH=/usr:/usr/local

             to your default shell; [ /etc/bashrc or whatever in your home
directory
].

             I'm assuming you installed to /usr/local - Indeed I did advise
installing into the '/usr' prefix precisely to avoid this problem. This
is done by configuring with './configure --prefix=/usr'.

             Then - you need to ensure that bonobo-activation-server
(b-a-s) is
re-started to inherit that environment variable; to do that - simply
type 'bonobo-slay' [ this has the side-effect of killing pretty much
everything to do with CORBA / bonobo ;-]. They should auto-restart
mostly.

             Then you should be ready to go; if not test b-a-s by running:

              bonobo-activation-run-query \
                         "repo_ids.has
('IDL:GNOME/Speech/SynthesisDriver:1.0')"

             I get:

number of results: 1
OAFIID:GNOME_Speech_SynthesisDriver_Festival:proto0.1

             You should get ViaVoice too I imagine.

             If you don't it's a b-a-s problem; so you need to repeat the
above
steps; perhaps re-configure / make clean / make install with the /usr
prefix ; bonobo-slay etc. until it works.

> Any suggestions on what I can check in Gnome-Speech,  server
connectivity,
> etc. would be greatly appreciated.

             It's an activation problem - it's just a real shame that
gnopernicus
seems to ignore the fact that the activation of gnome-speech has failed,
and not give useful feedback as to the probable cause; can you help fix
that ? presumably you can find where the bonobo_activation_activate_
(type) method is called in gnopernicus, add some error handling and a
warning GtkMessageDialog to help people ?

             HTH,

                         Michael.

--
 mmeeks gnu org  <><, Pseudo Engineer, itinerant idiot









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