[Zope] COM Problems :-(

Toby Dickenson tdickenson@geminidataloggers.com
Thu, 12 Jul 2001 14:31:48 +0100


On Mon, 09 Jul 2001 14:51:20 +0100, Chris Withers <chrisw@nipltd.com>
wrote:

>Hi,
>
>I keep getting this at aparently random intervals:
>
>  File <COMObject SoftSEALVtk.SoftSEALVtkLocker>, line 2, in LockFile
>com_error: (-2147352567, 'Exception occurred.', (0, None, None, None, 0,
>-2147467259), None)

I assume you have some python code that imports Mark Hammond's
pythoncom module (directly, or indirectly).....

Are you taking precautions to correctly initialize com? you will need
some code that calls pythoncom.CoInitializeEx. This was a popular
question around 12 months ago, but DC rejected all patches to get this
into the core :-(



Toby Dickenson
tdickenson@geminidataloggers.com