python is crashed when running ride.py on windows 10

634 views
Skip to first unread message

Hồ Hưng

unread,
Nov 17, 2017, 7:08:16 AM11/17/17
to robotframework-users
Hi All, 

I have faced issue : "python is crashed when running ride.py on windows 10"

I installed :
 1. python 2.7.13 (32 bit)
 2. RIDE 1.5.2.1 with wxPython 2.8.12.1.
 3. robot framework 3.0.2

Pls help me passed this issue

Thanks,

Hélio Guilherme

unread,
Nov 17, 2017, 11:56:43 AM11/17/17
to robotframework-users
On item 2, make sure you installed  wxPython 2.8.12.1 32bit version.

It would be better if you have copied the actual error output.

My Favorite Open Source Projects
awsome-lists gretl meld robotframework wxPython
(sponsored/patrocinado) Recomendo servidores e alojamento Web em:
http://www.proalojamento.com/clientes/aff.php?aff=258

--
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.
To post to this group, send email to robotframework-users@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.

Hồ Hưng

unread,
Nov 20, 2017, 3:44:52 AM11/20/17
to robotframework-users
Hi Hélio Guilherme

On the item 2 : I make sure I installed wxPython 2.8.12.1 32bit version. 

There is no error message is displayed, 

Just display pop up "python.exe has stopped working" and exit .

Do you have any suggestion for me ?

Thanks,

Vào 23:56:43 UTC+7 Thứ Sáu, ngày 17 tháng 11 năm 2017, Hélio Guilherme đã viết:
On item 2, make sure you installed  wxPython 2.8.12.1 32bit version.

It would be better if you have copied the actual error output.

My Favorite Open Source Projects
awsome-lists gretl meld robotframework wxPython
(sponsored/patrocinado) Recomendo servidores e alojamento Web em:
http://www.proalojamento.com/clientes/aff.php?aff=258

On Fri, Nov 17, 2017 at 9:42 AM, Hồ Hưng <hungh...@gmail.com> wrote:
Hi All, 

I have faced issue : "python is crashed when running ride.py on windows 10"

I installed :
 1. python 2.7.13 (32 bit)
 2. RIDE 1.5.2.1 with wxPython 2.8.12.1.
 3. robot framework 3.0.2

Pls help me passed this issue

Thanks,

--
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.
To post to this group, send email to robotframe...@googlegroups.com.

Krzysztof Jozefowicz

unread,
Nov 20, 2017, 8:24:59 AM11/20/17
to robotframework-users

Use another editor not limited to wxPython ;)
Sorry,could not resisted ;)

Hélio Guilherme

unread,
Nov 20, 2017, 12:16:07 PM11/20/17
to robotframework-users
On Mon, Nov 20, 2017 at 1:24 PM, Krzysztof Jozefowicz <kjo...@gmail.com> wrote:

Use another editor not limited to wxPython ;)
Sorry,could not resisted ;)

Not funny, Krzysztof.

You are trying to "sell" RED while I am trying to keep "selling" RIDE !!!

:D

---
@Hồ Hưng

There are some debugging experiments we can try, but using this emails will take long time. Do you have access to our Slack?

If possible start a cmd window and try to start ride from there. Then you'll get better error message to show us.

If there is no ride.bat, or ride.py does not work, you can try:
"
C:\python27\python.exe -c "from robotide import main; main()""



Good luck

Tatu Aalto

unread,
Nov 20, 2017, 12:44:49 PM11/20/17
to Hélio Guilherme, robotframework-users
Ugh

If this comes a selling contents, then I will try to sell Sublime Text 3 and Robot Framework Assistant plugin: https://github.com/andriyko/sublime-robot-framework-assistant

Well, if you want to use RIDE, then Helio is the right person to help you.

-Tatu
Send from my mobile


--
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.
To post to this group, send email to robotframework-users@googlegroups.com.

Hồ Hưng

unread,
Nov 21, 2017, 2:27:42 AM11/21/17
to robotframework-users
Hi Helio Guilherme,

Python.exe is crashed also after running "C:\python27\python.exe -c "from robotide import main; main()""

Could you give me your slack ?

Thank for your support, I really appriciated about your support.

I hope you can help me pass this issue, I have just run RIDE on windows 7 before, so I have no experience on windows 10.

Thanks,

Vào 00:16:07 UTC+7 Thứ Ba, ngày 21 tháng 11 năm 2017, Hélio Guilherme đã viết:

adam.wyp...@gmail.com

unread,
Nov 21, 2017, 3:58:04 AM11/21/17
to robotframe...@googlegroups.com
Hi Ho,

I) you can try to collect windows log from event viewer.

1) press Windows start button (or press Windows key on keyboard)
2) type "event viewer" and start application (it should appear inside Programs label)
3) try to search for python application in Custom Views->Administrative Events or Windows Logs->Application.
4) if you will see corresponding event just switch to Details tab on it and choose XML View 
5) copy all content here.

II) after execute problematic command ( "C:\python27\python.exe -c "from robotide import main; main()"" ) just execute command ( "echo %ERRORLEVEL%" [without quota (") brackets] ) and copy result code here.
III) your windows is 64-bits or 32-bits?

BR,
-Adam.

Hélio Guilherme

unread,
Nov 21, 2017, 5:21:09 AM11/21/17
to robotframework-users
You can get Slack from: http://robotframework.org/#support

This troubleshooting is a bit like doctors do evaluate their patients:
- they know the symptoms 
- they formulate hypothesis about the cause (and prescribe medication to reduce the symptoms)
- they ask for tests or exams to confirm hypothesis
- in the end they confirm the cause (disease) and stopped the symptoms

We could be cycling in those phases, but we know ways to shorten those cycles.
Also like a doctor would ask, we would like to know a bit of your history (related to the installation of RIDE).
We must confirm that you have the 32 bit version of python, and also how you installed the packages.
So, please, paste here the output of interactive python (to see its version text), and another test like I paste below:
C:\>python -i
Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [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, '')

Thanks.

On Tue, Nov 21, 2017 at 8:58 AM, <adam.wyp...@gmail.com> wrote:
Hi Ho,

I) you can try to collect windows log from event viewer.

1) press Windows start button (or press Windows key on keyboard)
2) type "event viewer" and start application (it should appear inside Programs label)
3) try to search for python application in Custom Views->Administrative Events or Windows Logs->Application.
4) if you will see corresponding event just switch to Details tab on it and choose XML View 
5) copy all content here.

II) after execute problematic command ( "C:\python27\python.exe -c "from robotide import main; main()"" ) just execute command ( "echo %ERRORLEVEL%" [without ) and copy result code here.
III) your windows is 64-bits or 32-bits?

BR,
-Adam.

W dniu wtorek, 21 listopada 2017 07:27:42 UTC użytkownik Hồ Hưng napisał:
Hi Helio Guilherme,

Python.exe is crashed also after running "C:\python27\python.exe -c "from robotide import main; main()""

Could you give me your slack ?

Thank for your support, I really appriciated about your support.

I hope you can help me pass this issue, I have just run RIDE on windows 7 before, so I have no experience on windows 10.

Thanks,

Vào 00:16:07 UTC+7 Thứ Ba, ngày 21 tháng 11 năm 2017, Hélio Guilherme đã viết:
On Mon, Nov 20, 2017 at 1:24 PM, Krzysztof Jozefowicz <kjo...@gmail.com> wrote:

Use another editor not limited to wxPython ;)
Sorry,could not resisted ;)

Not funny, Krzysztof.

You are trying to "sell" RED while I am trying to keep "selling" RIDE !!!

:D

---
@Hồ Hưng

There are some debugging experiments we can try, but using this emails will take long time. Do you have access to our Slack?

If possible start a cmd window and try to start ride from there. Then you'll get better error message to show us.

If there is no ride.bat, or ride.py does not work, you can try:
"
C:\python27\python.exe -c "from robotide import main; main()""



Good luck

--
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.
To post to this group, send email to robotframework-users@googlegroups.com.

Hồ Hưng

unread,
Nov 22, 2017, 1:41:21 AM11/22/17
to robotframework-users
Hi Adam,

My windows is 64 bit

Below is my error log on windows 

- <System>
  <Provider Name="Application Error" />
  <EventID Qualifiers="0">1000</EventID>
  <Level>2</Level>
  <Task>100</Task>
  <Keywords>0x80000000000000</Keywords>
  <TimeCreated SystemTime="2017-11-22T06:38:53.335298400Z" />
  <EventRecordID>3973</EventRecordID>
  <Channel>Application</Channel>
  <Computer>hungho</Computer>
  <Security />
  </System>
- <EventData>
  <Data>python.exe</Data>
  <Data>0.0.0.0</Data>
  <Data>5855a38f</Data>
  <Data>wxbase28uh_vc.dll</Data>
  <Data>2.8.12.1</Data>
  <Data>4e2114a2</Data>
  <Data>c0000005</Data>
  <Data>0003c623</Data>
  <Data>f0</Data>
  <Data>01d3635c8c1c6e35</Data>
  <Data>C:\python27\python.exe</Data>
  <Data>C:\python27\lib\site-packages\wx-2.8-msw-unicode\wx\wxbase28uh_vc.dll</Data>
  <Data>5107515e-bea8-4fb5-9e98-27d70e8e1973</Data>
  <Data />
  <Data />
  </EventData>
  </Event>

Pls help me pass it.

Thank you so much



Vào 15:58:04 UTC+7 Thứ Ba, ngày 21 tháng 11 năm 2017, adam.wyp...@gmail.com đã viết:

adam.wyp...@gmail.com

unread,
Nov 22, 2017, 2:15:16 AM11/22/17
to robotframe...@googlegroups.com
Hi Ho,

Thank you very much, I will try to check this. Can you please satisfy Helio, by providing answer for his query as well:

So, please, paste here the output of interactive python (to see its version text), and another test like I paste below:
C:\>python -i
Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [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, '')

And please provide for me the exit code as well by executing ECHO %ERRORLEVEL%. Thank you very much in advance.

BR,
-Adam.

Hồ Hưng

unread,
Nov 22, 2017, 2:40:10 AM11/22/17
to robotframework-users
Hi Adam and Helio,

Below is my result :

python -i
Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:42:59) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
>>> print(wx.VERSION)
(2, 8, 12, 1, '')
>>>

Do you need more information ?

Thanks,

Vào 14:15:16 UTC+7 Thứ Tư, ngày 22 tháng 11 năm 2017, adam.wyp...@gmail.com đã viết:

adam.wyp...@gmail.com

unread,
Nov 22, 2017, 2:52:44 AM11/22/17
to robotframework-users
Hi Ho,

1) Can you try to do in interactive mode (python -i) following steps:

C:\Users\Adam>python -i
Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (In
tel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from robotide import main
>>> main()
Creating librarykeywords database to "C:\Users\Adam\AppData\Roaming\Robot
Framework\ride\librarykeywords.db"

2) Did you chose compile option (in exec installer), when you were installing wxpython? Or you installed this using pip?

Thanks,
Adam.

Hồ Hưng

unread,
Nov 22, 2017, 4:00:34 AM11/22/17
to robotframework-users
Hi Adam, 

1. I executed your step and python is crashed also .

I don't understand step "Creating librarykeywords database to "C:\Users\Adam\AppData\Roaming\Robot
Framework\ride\librarykeywords.db""

I dont see this folder in C:\Users\PC\AppData\Roaming\Robot
Framework\ride

2. I choose compile option when installing wxpython.

Do you have any suggestion for me ?

Thanks,
Hung Ho

Vào 14:52:44 UTC+7 Thứ Tư, ngày 22 tháng 11 năm 2017, adam.wyp...@gmail.com đã viết:

adam.wyp...@gmail.com

unread,
Nov 22, 2017, 4:10:02 AM11/22/17
to robotframe...@googlegroups.com
Hi Ho,

Ignore this line ""Creating librarykeywords database to "C:\Users\Adam\AppData\Roaming\Robot
Framework\ride\librarykeywords.db"" it was output from RIDE.

Did it create any output in python interactive console?

Can you execute in command line:
ride.py
and then when it will crash 
echo %ERRORLEVEL% 
?

I am not able to reproduce your issue on my Virtual Box with clean Windows 10 64 bit (output from systeminfo command):
OS Name:                   Microsoft Windows 10 Pro
OS Version:                10.0.10240 N/A Build 10240

I've been installed (I performed installation of robot in following order):

1) https://www.python.org/ftp/python/2.7.13/python-2.7.13.msi (I changed only one option to include python in my path)
3) Execute command: pip install robotframework
4) Execute command: pip install robotframework-ride

My suggestion is to perform once again installation (as administrator) by the first uninstall wxPython and python itself and after remove completly C:\Python27 directory from your disk.

Best Regards,
Adam

Hồ Hưng

unread,
Nov 22, 2017, 4:30:16 AM11/22/17
to robotframework-users
Hi Adam, 

I can't run ride.py

I navigate to cmd and run "ride.py"

python is crashed after that.

Pls get video in the attachment file to see more detail.

Thanks,

Vào 16:10:02 UTC+7 Thứ Tư, ngày 22 tháng 11 năm 2017, adam.wyp...@gmail.com đã viết:
Hi Ho,

Ignore this line ""Creating librarykeywords database to "C:\Users\Adam\AppData\Roaming\Robot
Framework\ride\librarykeywords.db"" it was output from RIDE.

Did it create any output in python interactive console?

Can you execute in command line:
ride.py
and then when it will crash 
echo %ERRORLEVEL% 
?

Best Regards,
11-22-2017 4-27-46 PM.mp4

adam.wyp...@gmail.com

unread,
Nov 22, 2017, 4:50:11 AM11/22/17
to robotframe...@googlegroups.com
Hi Ho,

Can you try to reinstall python & wxpython as I mentioned in previous response?

My suggestion is to perform once again installation (as administrator) by the first uninstall wxPython and python itself and after remove completly C:\Python27 directory from your disk.

1) https://www.python.org/ftp/python/2.7.13/python-2.7.13.msi (I changed only one option to include python in my path)
3) Execute command: pip install robotframework
4) Execute command: pip install robotframework-ride

PS. I have different Windows 10 build - I will try to download your Windows 10 build and check if I am able to reproduce the problem.

BR,
-Adam.

Hồ Hưng

unread,
Nov 22, 2017, 5:40:32 AM11/22/17
to robotframework-users
Hi Adam, 

I have tried it as your step.

But python is crashed also

Thanks,
Hung Ho

Vào 16:50:11 UTC+7 Thứ Tư, ngày 22 tháng 11 năm 2017, adam.wyp...@gmail.com đã viết:

adam.wyp...@gmail.com

unread,
Nov 22, 2017, 12:00:03 PM11/22/17
to robotframe...@googlegroups.com
Hi,

I was not able to reproduce your issue on my clean Windows 10 build 14393 (1607).

I think you should execute:

1) sfc /scannow (to check if your windows file are not corrupted) if this will not help then
2) try to install https://support.microsoft.com/en-us/help/4038782 and check if it helps

BR,
-Adam.

Hồ Hưng

unread,
Nov 22, 2017, 11:50:40 PM11/22/17
to robotframework-users
Hi Adam,

Me too, I can run ride on another PC windows 10.

I don't know why.

I appriciated for your help.

Thank you so much, Adam

Could I add your skype ID Adam ?


Vào 00:00:03 UTC+7 Thứ Năm, ngày 23 tháng 11 năm 2017, adam.wyp...@gmail.com đã viết:

adam.wyp...@gmail.com

unread,
Nov 23, 2017, 3:16:05 AM11/23/17
to robotframe...@googlegroups.com
Hi,

If installing the patch and executing sfc /scannow didn't help. You can check if in your Windows Registry (regedit):

HKLM\Software\Microsoft\WindowsNT\CurrentVersion\Windows\LoadAppInit_DLLs is set to 0
HKLM\Software\Microsoft\WindowsNT\CurrentVersion\Windows\AppInit_DLLs is empty value


After change in registry the reboot is required.

If it will didn't help you can attach core dump from crashing application, so we will be able to trace what function is being called.

Best Regards,
-Adam.

Hồ Hưng

unread,
Nov 23, 2017, 11:08:36 PM11/23/17
to robotframework-users
Hi, 

I updated patch for windows and execute your step.

But python is creahed when run ride.py.

But I can run python without ride.

Thanks,

Vào 15:16:05 UTC+7 Thứ Năm, ngày 23 tháng 11 năm 2017, adam.wyp...@gmail.com đã viết:

adam.wyp...@gmail.com

unread,
Nov 24, 2017, 3:03:01 AM11/24/17
to robotframework-users
Hi,

Yes you will have problem only with ride, because it is python application which use wxPython and your wxPython is crashing in C:\python27\lib\site-packages\wx-2.8-msw-unicode\wx\wxbase28uh_vc.dll . 
I don't want confuse you, but if you want to avoid re installation of whole machine. You can check couple of things:
1) if you have AntiVirus you can try to disable it (try if it works now)
2) disable windows defender - https://www.windowscentral.com/how-permanently-disable-windows-defender-windows-10 (try if it works now - if you have antivirus disable it as well)
3) try to create minidump for python application by creating registry key if doesn't exists: https://msdn.microsoft.com/en-us/library/windows/desktop/bb787181(v=vs.85).aspx (ps. check and if not exists create %LOCALAPPDATA%\CrashDumps ) and start ride again. After minidump will be created send it here. 

If you are don't care about root cause, you can just try to re install whole machine and the first step after successful windows installation just install python, robot, wxPython and ride, then you will know if is not caused by any other software installed.

BR,
-Adam.

Hồ Hưng

unread,
Nov 27, 2017, 11:00:36 PM11/27/17
to robotframework-users
Hi,

Pls get attachment file to see crashdump .



Vào 15:03:01 UTC+7 Thứ Sáu, ngày 24 tháng 11 năm 2017, adam.wyp...@gmail.com đã viết:
CrashDumps.rar

adam.wyp...@gmail.com

unread,
Nov 29, 2017, 6:20:05 AM11/29/17
to robotframework-users
Hi,

Thanks I will try to take a look, but it sounds for me as disassemble the code from the first look.

BR,
-Adam

Hélio Guilherme

unread,
Nov 29, 2017, 6:28:58 AM11/29/17
to robotframework-users
Looks like Ho Hung managed to get working RIDE from my fork (under development).
I instructed to uninstall wxPython and robotframework-ride, and then to:

Of course that this is ongoing development, and there may be some problems, which could be reported on our Slack #ride channel.


--
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.
To post to this group, send email to robotframework-users@googlegroups.com.

adam.wyp...@gmail.com

unread,
Nov 30, 2017, 3:11:32 AM11/30/17
to robotframework-users
Am I right that your development version use wxPython 4.0?
To post to this group, send email to robotframe...@googlegroups.com.

Hélio Guilherme

unread,
Nov 30, 2017, 9:58:21 AM11/30/17
to robotframework-users
Yes, it works with wxPython 4.0.0 (b1/b2/rc1) on Python 3. And still works with wxPython 2.8.12.1 and 3.0.2 on Python 2.7.

In the future will be only for Python 3 and wxPython 4+.

Warning to Linux users, you should download the specific Wheel for wxPyhton 4, otherwise it try to compile on your own system.
Search for the packages at http://wxpython.org/. I have also some new ones for Fedora 26 and CentOS 7 at http://robotframework.transformidea.com/.

 

To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsubscrib...@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.
To post to this group, send email to robotframework-users@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages