How to install and start RIDE on Windows 10

547 views
Skip to first unread message

Gerhard Heil

unread,
Jun 28, 2021, 7:46:18 AM6/28/21
to robotframework-users
Hi all,
I failed in installing and starting RIDE.

I have Windows 10, Python 3.8.0 and Robotframework 4.0.3 (robot --version works).

I installed RIDE with pip install -U robotframework-ride   or  pip install -U robotframework-ride==1.7.4.1; both installations responded: Successfully installed robotframework-ride-1.7.4.1 (or .. robotframework-ride-1-7-4-2).

Then I tried to start it via python -m robotide.__init__ or via python ride.py, and with both versions of the start command and with woth ride versions I get:
wx._core.wxAssertionError: C++ assertion "strcmp(setlocale(LC_ALL, NULL), "C") == 0" failed at ..\..\src\common\intl.cpp(1579) in wxLocale::GetInfo(): You probably called setlocale() directly instead of using wxLocale and now there is a mismatch between C/C++ and Windows locale.
Things are going to break, please only change locale by creating wxLocale objects to avoid this!
OnInit returned false, exiting...
Error in atexit._run_exitfuncs:
wx._core.wxAssertionError: C++ assertion "GetEventHandler() == this" failed at ..\..\src\common\wincmn.cpp(478) in wxWindowBase::~wxWindowBase(): any pushed event handlers must have been removed

I don´t understand that message. How can I fix that?

Best regards
Gerhard

Hélio Guilherme

unread,
Jun 28, 2021, 8:33:29 AM6/28/21
to robotframework-users
Searching the Net with that error led me to my own answer here: https://www.gitmemory.com/issue/wxWidgets/Phoenix/1481/598968942

You can see the Release Notes for 1.7.4.2, https://github.com/robotframework/RIDE/blob/master/doc/releasenotes/ride-1.7.4.2.rst 
That only up to Python 3.7 that version of RIDE would work.

You should try to install the current Beta version, with:

pip install psutil
pip install -U --pre robotframework-ride
Or you can install the current development version:
   
   pip install -U https://github.com/robotframework/RIDE/archive/master.zip

--
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/df9abf4f-e3a7-49c6-8af3-028251afbc5fn%40googlegroups.com.

Gerhard Heil

unread,
Jun 28, 2021, 9:23:00 AM6/28/21
to robotframework-users
Yes, thank you.
Reply all
Reply to author
Forward
0 new messages