[python-win32] 'No such interface supported' error after makepy

Jens B. Jorgensen jens.jorgensen at tallan.com
Fri Oct 3 10:54:59 EDT 2003


This is very, very curious. Looking at the stack trace it really does 
appear that any makepy operation would have nothing to do with this 
problem. At least not as near as I can tell. Does this work on a 
different box?

Simon Judge wrote:

>Hi, I am trying to use win32all to export some information to word.
>
>I tried a simple program e.g: http://p-nand-q.com/python/ms_office.html
>which worked... and TestMSOffice.py which also worked.
>
>I then used makepy.py and testmakepy.py ... after this the examples
>stopped working! Why?!  (error below).
>
>I've tried removing the gen_py folder, however this makes no
>difference... 
>
>Help!
>
>Thanks.
>
>Simon
>
>---
>Error: 
>
>None: (-2147467262, 'No such interface supported', None, None)
>
>Traceback (innermost last):
>
>File "<string>", line 1, in ?
>  
>File "\\Server\meru documents\Project Files\Interface
>Centre\Python\Dialog Test\word.py", line 6, in ?
>  word = win32com.client.Dispatch("Word.Application")
>File "C:\Program
>Files\Python\231\Lib\site-packages\win32com\client\__init__.py", line
>95, in Dispatch
>    dispatch, userName =
>dynamic._GetGoodDispatchAndUserName(dispatch,userName,clsctx)
>File "C:\Program
>Files\Python\231\Lib\site-packages\win32com\client\dynamic.py", line 84,
>in _GetGoodDispatchAndUserName
>  	return (_GetGoodDispatch(IDispatch, clsctx), userName)
>File "C:\Program
>Files\Python\231\Lib\site-packages\win32com\client\dynamic.py", line 72,
>in _GetGoodDispatch
>  			IDispatch =
>pythoncom.CoCreateInstance(IDispatch, None, clsctx,
>pythoncom.IID_IDispatch)
>
>_______________________________________________
>Python-win32 mailing list
>Python-win32 at python.org
>http://mail.python.org/mailman/listinfo/python-win32
>  
>

-- 
Jens B. Jorgensen
jens.jorgensen at tallan.com

"With a focused commitment to our clients and our people, we deliver value through customized technology solutions."

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3108 bytes
Desc: S/MIME Cryptographic Signature
Url : http://mail.python.org/pipermail/python-win32/attachments/20031003/6813be9a/smime.bin


More information about the Python-win32 mailing list