robotframework / OldSeleniumLibrary

Deprecated Selenium library for Robot Framework
Apache License 2.0
13 stars 3 forks source link

Installation sometimes fails on Win7 64-bit #235

Closed spooning closed 9 years ago

spooning commented 9 years ago

Originally submitted to Google Code by maaret.p... on 24 Apr 2012

Windows 7 Professional SP1 64-bit OS. Robot Framework 2.7.1 with python-2.7.3. Downloaded robotframework-seleniumlibrary-2.8.1.win-amd64.exe to install. Installation crashes, see screenshot.

spooning commented 9 years ago

Originally submitted to Google Code by @mkorpela on 24 Apr 2012

I haven't yet been able to reproduce the problem.

Tested with: Windows 7 Professional SP1 64-bit OS RF 2.7.1 robotframework-seleniumlibrary-2.8.1.win-amd64.exe Python 2.7.2 (win32)

I'll try to make my environment more like the one in the original issue .. lets see what happens.

spooning commented 9 years ago

Originally submitted to Google Code by @spooning on 24 Apr 2012

Tested also Python 2.7.3 (amd64) on 64bit Windows 7 Home Premium and got no problems.

I'm pretty sure the Win7 flavor doesn't matter, though, and that the problem is somewhere else. From the error message in the attached screenshot alone it is pretty much impossible to tell what is going wrong. Unfortunately I don't have any good ideas what more information you could provide, though.

Instead of fighting with this weird and very annoying installation bug, I recommend you to install the library using the source distribution. Just download the source distribution from the download page, extract the package somewhere, and run python setup.py install on the created directory.

If you are planning to use Robot and/or Python more, even better alternative is installing Python package manager pip <http://pip-installer.org> that also supports upgrading and installation. Then you can install the library simply with pip install robotframework-seleniumlibrary. All Robot related Python libraries/tools ought to be pip installable nowadays so it really eases your life if you want to install plenty of them.

spooning commented 9 years ago

Originally submitted to Google Code by @spooning on 24 Apr 2012

Maaret, are you sure you have 64bit Python installed? You should have got 'Windows X86-64 MSI Installer' from http://python.org/download/releases/2.7.3/.

spooning commented 9 years ago

Originally submitted to Google Code by @mkorpela on 24 Apr 2012

Python 2.7.3 (amd64) on Windows 7 Professional - could not reproduce.

spooning commented 9 years ago

Originally submitted to Google Code by maaret.p... on 24 Apr 2012

I'm sure I have 64-bit python installed (python-2.7.3.amd64.msi). I have Robot framework installation ending with error message (still installed, so it seems) and selenium library crashing at installation. Not a very positive first experience.

I'll check still if for some reason the files would have been corrupted (I doubt it) and if I find energy, will see if I get it running without the installer.

spooning commented 9 years ago

Originally submitted to Google Code by maaret.p... on 24 Apr 2012

Installed both robot framework and the library from the source distribution. Seems your installer and my computer don't go well together. Since this selenium-library installer failed, same happens with the robot-framework installer too. The packages are not corrupt, checked. Reproduces on my machine, but you have a workaround.

spooning commented 9 years ago

Originally submitted to Google Code by @pekkaklarck on 4 May 2012

We are going to create a new SeleniumLibrary release possibly already today. Are you interested to test the new installer before we make the release? If the problem has been in creating the installer, perhaps this time we'll be luckier.

spooning commented 9 years ago

Originally submitted to Google Code by maaret.p... on 4 May 2012

Sure. Just tell me where to get it.

spooning commented 9 years ago

Originally submitted to Google Code by @pekkaklarck on 4 May 2012

Release is delayed on Monday. We didn't have time to test the new Selenium Server adequately.

spooning commented 9 years ago

Originally submitted to Google Code by bharath.... on 26 Aug 2012

Hi Mareet,

Please try these following steps for installation:

  1. Install python-2.7.2.msi (64-bit)
  2. Install pycrypto-2.3.win64-py2.7
  3. Set Environment parameters - ->my computer->properties->advanced->environmental variables->set PATH variable with C:\Python27
  4. Install paramiko-1.7

a. Extract to a folder and place in C drive.

b. Go to paramiko-1.7 folder through CMD.

c. Execute “python setup.py build”

d. Execute “python setup.py install”

  1. Install wxPython2.8-win64-unicode-2.8.12.1-py27.exe
  2. Install “robotframework-2.5.5.win64”
  3. Install SSHLibrary-1.0.win32.exe (64 bit is not available)
  4. Install robotframework-seleniumlibrary-2.8.1.win64.exe
  5. Install “robotframework-ride-0.32.1.win64”
  6. Set Environment parameters – PATH as C:\Python27\Scripts

To test installation:

Open CMD and execute pybot -–version

Best Regards, Bharath V

spooning commented 9 years ago

Originally submitted to Google Code by @pekkaklarck on 13 Jan 2013

Cannot reproduce this so cannot really do anything. Everyone should be moving to Se2Lib anyway.