Newbie: Win32 COM problem

Paul Hemans darwin at
Thu Aug 26 04:17:40 CEST 2010

Yes, that was it. I just needed to restart the host process.

"Mark Hammond" <skippy.hammond at> wrote in message 
news:mailman.51.1282784920.29448.python-list at
> On 25/08/2010 10:33 PM, Paul Hemans wrote:
>>    File "C:\development\PyXLS\", line 13, in createSheet
>>      def createBook(self):
>> AttributeError: WrapXLS instance has no attribute '_book'
>> pythoncom error: Python error invoking COM method.
>> Can anyone help?
> That line seems an unlikely source of the error.  Note that as win32com 
> uses an in-process model by default, your problem may be that you changed 
> your implementation but didn't restart the hosting process - and therefore 
> are still using an earlier implementation.
> HTH,
> Mark 

More information about the Python-list mailing list