Newbie: Win32 COM problem

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


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

"Mark Hammond" <skippy.hammond at gmail.com> wrote in message 
news:mailman.51.1282784920.29448.python-list at python.org...
> On 25/08/2010 10:33 PM, Paul Hemans wrote:
>>    File "C:\development\PyXLS\pyXLS.py", 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