Which version of Python and RIDE are suitable to Window 10 ???

1,537 views
Skip to first unread message

Quang Do

unread,
Jul 21, 2016, 9:13:23 AM7/21/16
to robotframework-users
Hello everyone,

My team will start to use RIDE for Automation Testing this week. We are using Window 10 and do not know which version of Python and RIDE are best. Would you like to suggest us about this.

Thank you so much.

Hélio Guilherme

unread,
Jul 21, 2016, 7:18:05 PM7/21/16
to robotframework-users
I recommend using Python 2.7.11 and RIDE 1.5.2.1 with wxPython 2.8.12.1.
You may consider using RF_Installer.ps1 from https://github.com/joao-carloto/RF_Install_Script/. You should edit the PowerShell script and set $useOldRIDEwxPython = $true

Quang Do

unread,
Aug 1, 2016, 7:00:58 AM8/1/16
to robotframe...@googlegroups.com
I could install RIDE successfully on Windows 10. However, when completing installation, message "close failed in file object destructor: sys.excepthook is missing lost sys.stderr"  appeared and RIDE did not appear when opening.


I tried to enable UAC and re-install but RIDE did not work.

I also tried to open RIDE by "ride.py" but window "python.exe" was appeared and crashed.

Could you please help me any solutions to fix this error ?

Thanks so much.


Krzysztof Jozefowicz

unread,
Aug 1, 2016, 8:19:06 AM8/1/16
to robotframework-users
Hi
Is it necessary for you to use RIDE? It has many drawbacks compared to other editors.

Hélio Guilherme

unread,
Aug 1, 2016, 8:26:39 AM8/1/16
to robotframework-users
Can you please put here what were the steps you used to install RIDE?
You have to give us more information on versions and platform (32bit or 64bit):
Python
wxPython

Thanks,
Hélio

On Mon, Aug 1, 2016 at 12:00 PM, Quang Do <quangd...@gmail.com> wrote:
I could install RIDE successfully on Windows 10. However, when completing installation, message "close failed in file object destructor: sys.excepthook is missing lost sys.stderr"  appeared and RIDE did not appeared when opening.

Please help me fix this error.

Thanks so much.

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.

Quang Do

unread,
Aug 1, 2016, 10:55:53 PM8/1/16
to robotframework-users
Yes, we are using RIDE on Windows 7. Now, we need to upgrade Windows 10.

Vào 19:19:06 UTC+7 Thứ Hai, ngày 01 tháng 8 năm 2016, Krzysztof Jozefowicz đã viết:

Quang Do

unread,
Aug 1, 2016, 11:21:54 PM8/1/16
to robotframework-users
Hi Hélio,
 
Thanks for your supports.
 
These are my steps to install RIDE on Windows 10 Pro 64 bit:

  1. Installing Python (python-2.7.11.amd64.msi)
  2. Installing wxPython (wxPython2.8-win64-unicode-2.8.12.1-py27.exe)
  3. Adding "C:\Python27;C:\Python27\Lib;C:\Python27\Scripts" to path of Environment Variables
  4. Installing Robot Framework by using either "pip" or "easy_install" on Command Prompt
    • Using "pip":
      • Installing pywin32 (pywin32-220.win-amd64-py2.7.exe)
      • Run commands
      • python -m pip install --upgrade pip
        pip install robotframework
        --upgrade  
        pip install robotframework
        -ride --upgrade
        pip install robotframework
        -seleniumlibrary --upgrade
        pip install robotframework
        -selenium2library --upgrade
    • Using "easy_install":
      • Installing Setuptools (setuptools-25.1.1)
      • Run commands
      • python setup.py install
        easy_install robotframework --upgrade  
        easy_install robotframework-ride --upgrade 
        easy_install robotframework
        -seleniumlibrary --upgrade
        easy_install robotframework
        -selenium2library --upgrade
5. Installing RIDE (robotframework-ride-1.5.2.1.win-amd64.exe)
 

 
 
I also tried to open RIDE by "ride.py" but window "python.exe" was appeared within crashing.

I tried to enable UAC and re-install but RIDE did not work.

Hopely you have solutions to help me fix this error.

Regards,

 
Vào 19:26:39 UTC+7 Thứ Hai, ngày 01 tháng 8 năm 2016, Hélio Guilherme đã viết:
Can you please put here what were the steps you used to install RIDE?
You have to give us more information on versions and platform (32bit or 64bit):
Python
wxPython

Thanks,
Hélio
On Mon, Aug 1, 2016 at 12:00 PM, Quang Do <quangd...@gmail.com> wrote:
I could install RIDE successfully on Windows 10. However, when completing installation, message "close failed in file object destructor: sys.excepthook is missing lost sys.stderr"  appeared and RIDE did not appeared when opening.

Please help me fix this error.

Thanks so much.

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.

Hélio Guilherme

unread,
Aug 2, 2016, 5:22:15 AM8/2/16
to robotframework-users
These are my suggestions:
- First clean up the installs, uninstall robotframework-ride-1.5.2.1.win-amd64.exe (we will avoid using .exe)
  I would recommend to uninstall robotframework-seleniumlibrary (unless you really need to use it, because selenium2library replaces it)
- Test wxPython installation:
   python
   import wx
   print(wx.VERSION)

Then use only pip to install (maybe you need to have admin rights).

(the multiple installations may cause problems)

   

To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.

Ed Manlove

unread,
Aug 2, 2016, 6:47:54 AM8/2/16
to robotframe...@googlegroups.com
You should be able to open a Windows Command Prompt and either run the command the shortcut is running (which I am sorry but but don't have it in front of me). Note that shortcut runs, if I remember correctly, pythonw.exe which forces the command propmt into the background. Here you instead should use plain python,exe becasue you want to see the output. Or open the command prompt and start python and in the interactive interpretor try something like

import ride

If there is a problem you should see a traceback which you can share with us and might provide some more insight.  Generally if you manually open the command prompt and run stuff from there it should automatically close. If it does it could be a larger python install issue for which one should still be able to get it to run without crashing at the command line to get some information out.

Ed

Quang Do

unread,
Aug 2, 2016, 6:49:23 AM8/2/16
to robotframe...@googlegroups.com
I cleaned up my installations, re-install Robot Framework without SeleniumLibrary and RIDE.
Python and wxPython are installed correctly.
However, when opening file "ride.py", window "python.exe" appeared within crashing.
Note: if I install "pywin32-220.win-amd64-py2.7.exe", the error will also appear same as RIDE ("close failed in file object destructor: sys.excepthook is missing lost sys.stderr" ).
These are my commands for installing Robot Framework by using "pip":

C:\WINDOWS\system32>python
Python 2.7.11 (v2.7.11:6d1b6a68f775, Dec  5 2015, 20:40:30) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
>>> print(wx.VERSION)
(2, 8, 12, 1, '')
>>>




Microsoft Windows [Version 10.0.10586]
(c) 2015 Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>

C:\WINDOWS\system32>cd C:\Python27

C:\Python27>python -m pip install --upgrade pip
Collecting pip
  Downloading pip-8.1.2-py2.py3-none-any.whl (1.2MB)
    100% |################################| 1.2MB 327kB/s
Installing collected packages: pip
  Found existing installation: pip 7.1.2
    Uninstalling pip-7.1.2:
      Successfully uninstalled pip-7.1.2
Successfully installed pip-8.1.2

C:\Python27>pip install robotframework --upgrade
Collecting robotframework
  Downloading robotframework-3.0.tar.gz (430kB)
    100% |################################| 440kB 819kB/s
Installing collected packages: robotframework
  Running setup.py install for robotframework ... done
Successfully installed robotframework-3.0

C:\Python27>pip install robotframework-ride --upgrade
Collecting robotframework-ride
  Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ConnectTimeoutError(<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x000000000437D940>, 'Connection to pypi.python.org timed out. (connect timeout=15)')': /simple/robotframework-ride/
  Downloading robotframework-ride-1.5.2.1.tar.gz (576kB)
    100% |################################| 583kB 939kB/s
Installing collected packages: robotframework-ride
  Running setup.py install for robotframework-ride ... done
Successfully installed robotframework-ride-1.5.2.1

C:\Python27>pip install robotframework-selenium2library --upgrade
Collecting robotframework-selenium2library
  Downloading robotframework-selenium2library-1.7.4.tar.gz (234kB)
    100% |################################| 235kB 226kB/s
Collecting decorator>=3.3.2 (from robotframework-selenium2library)
  Downloading decorator-4.0.10-py2.py3-none-any.whl
Collecting selenium>=2.32.0 (from robotframework-selenium2library)
  Downloading selenium-2.53.6-py2.py3-none-any.whl (884kB)
    100% |################################| 890kB 242kB/s
Requirement already up-to-date: robotframework>=2.6.0 in c:\python27\lib\site-packages (from robotframework-selenium2library)
Collecting docutils>=0.8.1 (from robotframework-selenium2library)
  Downloading docutils-0.12.tar.gz (1.6MB)
    100% |################################| 1.6MB 437kB/s
Installing collected packages: decorator, selenium, docutils, robotframework-selenium2library
  Running setup.py install for docutils ... done
  Running setup.py install for robotframework-selenium2library ... done
Successfully installed decorator-4.0.10 docutils-0.12 robotframework-selenium2library-1.7.4 selenium-2.53.6



Vào 16:22:15 UTC+7 Thứ Ba, ngày 02 tháng 8 năm 2016, Hélio Guilherme đã viết:
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.

Muhammad Atta ur Rahman

unread,
Jul 31, 2019, 4:28:19 PM7/31/19
to robotframework-users

2019-07-31_14h55_02.png

How to fix this Problem??

Ananda Kumar

unread,
Aug 1, 2019, 12:50:22 AM8/1/19
to robotframework-users

These are my suggestions:
- First clean up the installs, uninstall robotframework-ride-1.5.2.1.win-amd64.exe (we will avoid using .exe)
  I would recommend to uninstall robotframework-seleniumlibrary (unless you really need to use it, because selenium2library replaces it)
- Test wxPython installation:
   python
   import wx
   print(wx.VERSION)

Then use only pip to install (maybe you need to have admin rights).

Once clean up, it will remove all existing installation, in that case you can use normal PIP command
Example: pip install robotframework

Note: please do not use upgrade  command for new installation

Thanks
Ananda

Neelendra Ranjan

unread,
Aug 1, 2019, 1:37:01 PM8/1/19
to m.a.ra...@gmail.com, robotframework-users
could you someone please help me with a regular expressions to match the string "lqam3058_BO_1" or "l8enas41_MEI_12"..

Need only 1 regex for both the above example.

Regards,
Neel

--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/robotframework-users/a7ef39a4-4f6e-4006-9085-e33edce1e42d%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages