On 11/06/2009 11:24 AM, Greg Antal wrote:
Greetings, Experts:

I've run into this error and wonder if any of you can help.

First I get this message:
[snip]\lib\site-packages\win32com\client\__init__.py:480:
RuntimeWarning: tp_compare didn't return -1 or -2 for exception
elif type(obj)==TupleType:

Something then raises an exception (NOT a pythoncom.com_error), from
which I extract this traceback, exception type, and value:
[snip]
iRet, nOpen, liOpen = zFem.feAppGetAllModels ()
In feAppGetAllModels, "PyFemap.py" line 14661,
, nModelID)
In _ApplyTypes_, "__init__.py" line 449,
user, resultCLSID)
In _get_good_object_, "__init__.py" line 467,
return _get_good_object_(obj, obUserName, resultCLSID)
In _get_good_object_, "__init__.py" line 480,
elif type(obj)==TupleType:

<type 'exceptions.TypeError'>- The VARIANT type 0x14 is not supported
for SAFEARRAYS

I think the "noise" before this error was already fixed, but yeah, there isn't support in pythoncom for 64bit ints - mainly as the SDK header files indicate they aren't value. However, the MIDL compiler accepts them, so I just checked in a fix for this. Unfortunately though, this means you need to wait for the next build, or build it yourself from CVS.

Cheers,

Mark
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to