[python-win32] Python and LabView over COM? (again)
xeoicq at netscape.net
Thu Apr 21 12:31:03 CEST 2005
> I try to access LabView by Python-win32com but LabView crashes on
some COM-method calls.
> The same calls work in VB.
> Are there some known problem with the LabView COM implementation?
There is a strange behavior of attribute/method access of the
COM-Object: Methods are already called without using (..).
If I use method(..) I get the TypeError: 'NoneType' object is not
callable, but the method is obviously executed.
I found an old thread in a python-list that discusses the same problem.
If I try the advice to use EnsureDispatch I get following error:
File "ExportVIStrings.py", line 19, in ?
line 434, in EnsureDispatch
disp_class = CLSIDToClass.GetClass(str(disp_clsid))
line 50, in GetClass
Are there some changes in win32com for Py23 or Py24 so that the problem
could be fixed?
How can I try to debug the dynamic.py to find the reason for the crashes
and strange behavior?
From the NI LabView-support I got the answer the reason could be like
but I didn't get an explanation and can not see a connection between
this thread and my problem.
More information about the Python-win32