Neeraj Chhabra wrote:

I have one requirement, in which i need to connect to HP ALM and log a defect in jira using python. i tried to connect to alm through pywin32. but getting error. please check below code snippet and error -
...
IDispatch = pythoncom.connect(IDispatch)
pywintypes.com_error: (-2147221021, 'Operation unavailable', None, None) During handling of the above exception, another exception occurred: ... pywintypes.com_error: (-2147221164, 'Class not registered', None, None)

It's likely that you are using a 64-bit Python but your ALM installation is 32-bit.  An in-process COM server has to match the bittedness of the caller.  Do you have the option of installing a 32-bit Python to see if it works from there?

--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32

Reply via email to