frozen win32com problem

Mark Hammond mhammond at skippinet.com.au
Thu Jan 10 18:17:12 EST 2002


Robin Becker wrote:

> In article <3C3D1CBB.5040000 at skippinet.com.au>, Mark Hammond <mhammond at skippinet.com.au> writes
> 
>>Robin Becker wrote:
>>
>>Actually, I could see how this happens.  I just checked in the following 
>>patch.
>>
>>RCS file: /home/cvsroot/PyWin32/com/win32com/server/register.py,v
>>retrieving revision 1.4
>>retrieving revision 1.5
>>diff -r1.4 -r1.5
>>12a13
>>
>>>import win32com
>>>
>>420c421,424
>><   RegisterPyComCategory()
>>---
>>
>>>  try:
>>>    RegisterPyComCategory()
>>>  except win32com.error: # Error with the COM category manager - oh well.
>>>    pass
>>>
> OK I tries this and got a complaint about win32com.error


It looks like you missed a line of my patch:

 >>diff -r1.4 -r1.5
 >>12a13
 >>
 >>>import win32com


This should setup win32com correctly so win32com.error can be found.

Mark.




More information about the Python-list mailing list