[python-win32] com error

Michael Johnstone mpjoh1977 at yahoo.com.au
Tue Nov 8 03:14:10 CET 2005


Hi

I was hoping to get some help trouble shooting the
following error:

Traceback (most recent call last):
  File
"C:\Python22\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py",
line 310, in RunScript
    exec codeObject in __main__.__dict__
  File
"C:\Deneb\BHSS\Projects\AKL_0502\VC\PythonApplications\OPCWriteTestor.py",
line 103, in ?
    Sensor(1)
  File
"C:\Deneb\BHSS\Projects\AKL_0502\VC\PythonApplications\OPCWriteTestor.py",
line 100, in Sensor
    grpPinWheel.SyncWrite(num, sh, listval, errors)#,
CID, SID)
  File
"C:\Python22\Lib\site-packages\win32com\gen_py\F5F1FC84-DB0B-11D3-883B-0050041DD057x0x1x0.py",
line 302, in SyncWrite
    , ServerHandles, Values, Errors)
  File
"C:\Python22\Lib\site-packages\win32com\client\__init__.py",
line 446, in _ApplyTypes_
    return self._get_good_object_(
com_error: (-2147352567, 'Exception occurred.', (0,
None, None, None, 0, -2147024809), None)


This is occuring whenever I try to use a method of a
COM object. If I use VB this method doesn't fail.

Thanks in advance for any help
mike


		
____________________________________________________ 
Do you Yahoo!? 
Listen to over 20 online radio stations and watch the latest music videos on Yahoo! Music. 
http://au.launch.yahoo.com


More information about the Python-win32 mailing list