darrickc
unread,Jul 7, 2010, 12:14:48 PM7/7/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Dragonfly Speech Recognition
Oddly enough this only happens the first time I do 'from dragonfly
import Window'. If I do a 2nd import I don't get any exceptions and I
can use the Window class. I do have the win32 library install also.
Thoughts?
S:\QDirectClientTest\SetupScripts>python
Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit
(Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> from dragonfly import Window
Traceback (most recent call last):
File "\loewis\25\python\Modules\_ctypes\callbacks.c", line 206, in
'calling ca
llback function'
File "C:\Python25\Lib\site-packages\dragonfly\windows\monitor.py",
line 124, i
n _callback
monitor = Monitor(handle, rectangle)
File "C:\Python25\Lib\site-packages\dragonfly\windows\monitor.py",
line 51, in
__init__
assert isinstance(handle, int)
AssertionError