Hi,
I'm trying to get PyDbgEng up and running with the latest SVN comtypes. When I
try to load the generated COM type, DbgEng, I get the following traceback,
which appears to be caused by comtypes:
C:\Documents and Settings\Brendan Dolan-Gavitt>python
ActivePython 2.5.2.2 (ActiveState Software Inc.) based on
Python 2.5.2 (r252:60911, Mar 27 2008, 17:57:18) [MSC v.1310 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from comtypes.gen import DbgEng
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python25\lib\site-packages\comtypes\gen\DbgEng.py", line 1, in
<module>
from comtypes.gen import _95F974F5_B0AE_44A4_8EB9_FEC4E8136416_0_0_0
File
"C:\Python25\lib\site-packages\comtypes\gen\_95F974F5_B0AE_44A4_8EB9_FEC4E8136416_0_0_0.py",
line 2249, in <module>
( [], _midlSAFEARRAY(VARIANT), '__MIDL_0018' )),
File "C:\Python25\lib\site-packages\comtypes\automation.py", line 598, in
_midlSAFEARRAY
from comtypes.safearray import SAFEARRAY
ImportError: cannot import name SAFEARRAY
Also, when I try to run the safearray test, I get tons of errors, like:
ImportError: cannot import name UnpackSafeArray
ImportError: No module named TestComServerLib
ImportError: cannot import name SAFEARRAY
...and so on, which lead me to believe comtypes just isn't working right.
Anyone know what's going on?
Thanks,
Brendan
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
comtypes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/comtypes-users