Re: [python-win32] Win32 com module error

2016-06-24 Thread Tim Roberts
Asha Eshu wrote:
>
> yes.  The COM Object, python and the application which i am invoking
> is also 32-bit. 
> its is just a win32com.client.Dispatc("a.application");
>
> I have this error for the Interface.

I'm not sure what you mean by the last sentence.  You are dribbling out
only tiny pieces of partial information, which makes it very difficult
for us to do any analysis.  Does the error occur when you call
win32com.client.Dispatch, or does it happen later?  The full traceback
would have shown that, but you didn't give us a full traceback.

Is this a COM server that you wrote?  Is it in-process or
out-of-process?  Have you verified that you can instantiate this object
from other languages?  It's pretty easy to test COM interfaces from
VBScript or PowerShell.

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

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


Re: [python-win32] Win32 com module error

2016-06-24 Thread Tim Roberts
On Jun 23, 2016, at 6:56 AM, Asha Eshu 
> wrote:

I have python 32 bit version 3.5.1 with win32com module installed . I have also 
pywin32 32-bit.

I am getting the following error
  File "C:\Program Files 
(x86)\Python35-32\lib\site-packages\win32com\client\dynamic.py", line 89, in 
_GetGoodDispatch
IDispatch = pythoncom.connect(IDispatch)
pywintypes.com_error: (-2147221021, 'Vorgang nicht 
verfügbar.', None, None)
-2147221021 is 0x800401E3, which is “operation not available.”

What COM object were you trying to instantiate?  Are you ABSOLUTELY sure that 
you have a 32-bit version of that object installed?  You can’t cross the 32/64 
boundary with in-process COM objects.
—
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.

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


[python-win32] Win32 com module error

2016-06-23 Thread Asha Eshu
Hello,

I have python 32 bit version 3.5.1 with win32com module installed . I have
also pywin32 32-bit.

I am getting the following error


  File "C:\Program Files
(x86)\Python35-32\lib\site-packages\win32com\client\dyn

amic.py", line 89, in _GetGoodDispatch

IDispatch = pythoncom.connect(IDispatch)

pywintypes.com_error: (-2147221021, 'Vorgang nicht verfügbar.', None, None)


Could you please suggest what is the problem and solution for the same


Thank you

regards,


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