471,354 Members | 1,745 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,354 software developers and data experts.

Beginner: Com problem

Hello,

I'm a beginner with python and I have a problem.

I'm using Python 2.5 with PyWin32 on Windows Vista.

I try to run this script

Office2PDF

but I get this error message:


C:\>python Office2PDF.py
Traceback (most recent call last):
File "Office2PDF.py", line 200, in <module>
pdf = PDFCreator()
File "Office2PDF.py", line 131, in __init__
self.OLE = com.DispatchWithEvents(PDFCreatorCOMClass, PDFCreatorEvents)
File "C:\Python25\Lib\site-packages\win32com\client\__init__.py", line 258, in
DispatchWithEvents
clsid = disp_class.CLSID
AttributeError: 'NoneType' object has no attribute 'CLSID'

C:\>


What's wrong?

Best regards,

Frank
Dec 19 '07 #1
0 1047

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by jvax | last post: by
5 posts views Thread by Richard B. Kreckel | last post: by
18 posts views Thread by mitchellpal | last post: by
10 posts views Thread by See_Red_Run | last post: by
4 posts views Thread by Bails | last post: by
10 posts views Thread by Roman Zeilinger | last post: by
22 posts views Thread by ddg_linux | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.