[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
- Problems with "end" callback in Python, (continued)
- Problems with "end" callback in Python, Hynek Hanke, 2008/04/18
- Problems with "end" callback in Python, James Simmons, 2008/04/18
- Problems with "end" callback in Python, Lukas Loehrer, 2008/04/20
- Problems with "end" callback in Python, Hynek Hanke, 2008/04/21
- Problems with "end" callback in Python, James Simmons, 2008/04/22
- Problems with "end" callback in Python, Hynek Hanke, 2008/04/23
- Pygtk does not play nicely with speech-dispatcher, James Simmons, 2008/04/24
- [pygtk] Pygtk does not play nicely with speech-dispatcher, Dave Aitel, 2008/04/24
- [pygtk] Pygtk does not play nicely with speech-dispatcher, James Simmons, 2008/04/24
- [pygtk] Pygtk does not play nicely with speech-dispatcher, Michael Urman, 2008/04/24
- [pygtk] Pygtk does not play nicely with speech-dispatcher,
James Simmons <=
- [pygtk] Pygtk does not play nicely with speech-dispatcher, Dave Aitel, 2008/04/25
- [pygtk] Pygtk does not play nicely with speech-dispatcher, John Finlay, 2008/04/25
- [pygtk] Pygtk does not play nicely with speech-dispatcher, Hynek Hanke, 2008/04/28
- [pygtk] Pygtk does not play nicely with speech-dispatcher, Hemant Goyal, 2008/04/28