speechd-discuss
[Top][All Lists]
Advanced

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

[pygtk] Pygtk does not play nicely with speech-dispatcher


From: James Simmons
Subject: [pygtk] Pygtk does not play nicely with speech-dispatcher
Date: Fri, 25 Apr 2008 09:20:39 -0500

Michael,

Thanks for the tip!  It was a big help.  I put gtk.gdk.threads_init()  
in the __init__ method of my program and I did get callbacks.  It looks 
like I didn't get callbacks for every word, but Pygtk seems to not be 
the problem anymore.  Thanks again,

James Simmons


Michael Urman wrote:

>On Thu, Apr 24, 2008 at 1:16 PM, James Simmons
><jim.simmons at walgreens.com> wrote:
>  
>
>>The words are spoken correctly, but the callbacks that *should* be invoked
>>after each word never happen.
>>    
>>
>
>I see no sign of a call to gtk.gdk.threads_init() or whatever the
>current preferred alternative is. Without a call like that, I believe
>all versions of PyGTK don't really allow for threading. They certainly
>didn't at the python level last time I tried. Try searching for pygtk
>thread faq, or something of the sort, for more on this.
>
>  
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://lists.freebsoft.org/pipermail/speechd/attachments/20080425/41d549dd/attachment.htm
 


reply via email to

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