ikabelerma / robotframework-autoitlibrary

Automatically exported from code.google.com/p/robotframework-autoitlibrary
Apache License 2.0
0 stars 1 forks source link

AutoItLibrary in 64 bit Windows 7 with 64 bit python and win32com #29

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Trying to import AutoItLibrary shows stack trace:
 Initializing test library 'AutoItLibrary'
 with no arguments failed: com_error: (-2147221164, 'Class not registered', None, None)

What steps will reproduce the problem?
1. Win 7 64 bit, Python 2.7 64 bit, pywin32 64 bit for 2.7 python
2. Try executing the tests in AutoItLibrary

What is the expected output? What do you see instead?
I expect it to work or give me an error that a "normal" user could use to solve 
the issue.

So what works:
Install 32 bit python and 32 bit version of pywin32
-- but the error message doesn't really tell this so I suggest that 
AutoItLibrary at least checks that it is running in a platform that it supports 
and instructs the user to do what is needed to get things working.

Original issue reported on code.google.com by mikko.ko...@gmail.com on 28 Jan 2014 at 9:34

bartkl commented 7 years ago

I don't understand. I installed a 32 bit version of Python and pywin32, and it still gives me this error. I'm also on a 64-bit Windows 7 installation,

srinivasalokesh commented 6 years ago

Hi,

I am facing the same error, did you get resolution ?

Thanks, Lokesh

bartkl commented 6 years ago

@srinivasalokesh If I remember correctly I mistakenly used the 64 bit version of AutoIt Library. That too needs to be the 32 bit version.

Good luck.

srinivasalokesh commented 6 years ago

How to find whether I have 32bit installed or 64bit. I am using 64bit machine

pip freeze gives only libraries installed ..

androidviewclient==15.1.2 Appium-Python-Client==0.26 AutoItLibrary==1.1

srinivasalokesh commented 6 years ago

I had downloaded the 32 bit version from below link and it works fine. THANK YOU. https://pypi.python.org/pypi/robotframework-autoitlibrary