Jump to content
  • Advertisement
Sign in to follow this  
Lucidquiet

python win32com erron on network install...

This topic is 4501 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm not sure if this is the best place for a Python question -- but I hope so. I get the following error and I'm having trouble working it out. I'm fairly new to Python, but I'm not really intimidated by the language, only the possibility that I might have to write some dll(s) to fix this problem. Here is the error: >>> acad = win32com.client.Dispatch("AutoCad.Application") Traceback (most recent call last): File "<stdin>", line 1, in ? File "C:\Documents and Settings\me.ACADEMIC\Desktop\Python24\lib\site-packages\win32com\client\__init__.py", line 95, in Dispatch dispatch, userName = dynamic._GetGoodDispatchAndUserName(dispatch,userName,c lsctx) File "C:\Documents and Settings\me.ACADEMIC\Desktop\Python24\lib\site-pa ckages\win32com\client\dynamic.py", line 98, in _GetGoodDispatchAndUserName return (_GetGoodDispatch(IDispatch, clsctx), userName) File "C:\Documents and Settings\me.ACADEMIC\Desktop\Python24\lib\site-pa ckages\win32com\client\dynamic.py", line 78, in _GetGoodDispatch IDispatch = pythoncom.CoCreateInstance(IDispatch, None, clsctx, pythoncom.II D_IDispatch) pywintypes.com_error: (-2147221005, 'Invalid class string', None, None) Runing XP, and AutoCad 2005. It's strange because this will work fine on my home machine. But then in the lab I get some wierd errors like the machine cannot find the right DLL. But it will, of course, find the DLL(s) associated with Windows products... so I find this a bit annoying. Anyway please help. Thanks, L-

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!