[python-win32] Facing issue while connecting to alm via python
Tim Roberts
timr at probo.com
Tue Jan 29 12:41:36 EST 2019
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, timr at probo.com
Providenza & Boekelheide, Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3980 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.python.org/pipermail/python-win32/attachments/20190129/ba3280b0/attachment.bin>
More information about the python-win32
mailing list