Closed ruancan closed 5 years ago
I also want konw.
Hope it can support python3 asap
You can experiment from my fork, with:
pip install -U --pre https://github.com/HelioGuilherme66/RIDE/archive/python3.zip
Any update on when ride with python 3 support will get stable release?
@HelioGuilherme66
@akshaykochar There is no official stable release (this project is more a less abandoned). You can experiment latest development branch from my fork with:
sudo -H pip3 install -U https://github.com/HelioGuilherme66/RIDE/archive/python3.zip
Hi, I loaded RIDE above but can not execute it. What is the command to launch the app? Thanks, Ed
Try instead this one, it creates a desktop shortcut:
sudo -H pip3 install -U https://github.com/HelioGuilherme66/RIDE/archive/neweditor.zip
If on Windows you need to install pywin32.
To start RIDE you can use:
python -m robotide.__init__
But be aware of nasty bugs.
Thanks!
Here is the return,
[root@localhost /]# python -m robotide.init
Traceback (most recent call last):
File "/root/anaconda3/lib/python3.6/runpy.py", line 183, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/root/anaconda3/lib/python3.6/runpy.py", line 109, in _get_module_details
import(pkg_name)
File "/root/anaconda3/lib/python3.6/site-packages/robotide/init.py", line 35, in
I tried installing wx with no luck.
You need wxPython. I was assumng that you knew RIDE already (or seen the Wiki). install with:
sudo -H python3 -m pip install wxPython
If it is a Mac or Windows, if not you get the wheel from wxpython.org
HI guys, I'm trying to make work RIDE in python 3.6.2 here, my system is Windows10, after following your indication i'm still seeing this kinf of error when trying to execute it:
C:\Users\CARLOS-PC\AppData\Local\Programs\Python\Python36-32>python -m robotide.init
Thank you for helping developing and testing RIDE on Python 3 and wxPython 4
Traceback (most recent call last):
File "C:\Users\CARLOS-PC\AppData\Local\Programs\Python\Python36-32\lib\site-packages\robotide\application\application.py", line 56, in OnInit
coreplugins.get_core_plugins())
File "C:\Users\CARLOS-PC\AppData\Local\Programs\Python\Python36-32\lib\site-packages\robotide\context\coreplugins.py", line 22, in get_core_plugins
from robotide.editor.texteditor import TextEditorPlugin
File "C:\Users\CARLOS-PC\AppData\Local\Programs\Python\Python36-32\lib\site-packages\robotide\editor\texteditor.py", line 41, in
C:\Users\CARLOS-PC\AppData\Local\Programs\Python\Python36-32>
Any idea?
It is pretty obvious: from pygments.lexer import Lexer ModuleNotFoundError: No module named 'pygments'
Solve with:
sudo -H python3 -m pip install Pygments
@HelioGuilherme66 RIDE officially supports wxPython 2.8.12.1 and 3.0.2. But wxPython 3.0.2 does not support python3. https://sourceforge.net/projects/wxpython/files/wxPython/3.0.2.0/ so.......emmm......
@HelioGuilherme66 An Error! wx._core.wxAssertionError: C++ assertion "m_count == -1 || m_count == -2" failed at ....\src\msw\textctrl.cpp(242) in UpdatesCountFilter::UpdatesCountFilter(): wrong initial m_updatesCount value
The above exception was the direct cause of the following exception:
SystemError: <class 'wx._core.CommandEvent'> returned a result with an error set
@JoffreyN
Regarding my fork.
Well, for Python 2.7 you can use wxPython, 2.8.12.1, 3.02, 4.0.1, 4.0.2a1.
For Python 3.6 you can use wxPython, 4.0.1, 4.0.2a1.
Rule is, first install wxPython for the correct python architecture and version, then robotframework
and pygments
(on Windows you also should install pywin32
).
For Python 3, see instructions for my latest pre-release
@Hélio Guilherme
I have update robotframework ride according with your latest pre-release.
I create my own Library,but import error,it is red.
[ ERROR ] Error in file 'E:\Programs\Python36-32\Scripts\TestDobot\Init_Dobot.txt': Importing test library 'TestRF' failed: ModuleNotFoundError: No module named 'MyClass'
Traceback (most recent call last):
File "e:\programs\python36-32\lib\site-packages\TestRF__init__.py", line 1, in
It can run at the python2.6 .
@Anney-Ying Glad that you installed and use my pre-release, however, you should not use this Issue to report a different problem. Also you are not reporting a problem but asking for help, that should be done in different forums that you see here. About your specific problem, you must know the differences of Python 2.6, 2.7 and >3.5, so the first thing is to make sure your script or module is running on Python 3.6.
i have use this
sudo -H pip3 install -U https://github.com/HelioGuilherme66/RIDE/archive/neweditor.zip
but there is no desktop shortcut ,how can i run it ? thanks the environment is mac
@wjlu That is an old branch. You may try to install from my latest development branch:
sudo -H pip3 install -U https://github.com/HelioGuilherme66/RIDE/archive/gificons.zip
Or you should try the latest pre-release, see the instructions and warnings, here
Note: when using versions from my fork Issues or Pull Request should also be reported there!
RobotFrameWork also supports python3 Does RIDE have any plans?
Robot Framework 3.0.4+pyhon3.6.2+ ride1.72 is astable
Testsuit have defined Variable, Testsuit have resource Variable come from resource should be defined again python2 RIDE is OK
resource
Testsuit
run
Testsuit已经定义了Variable,Testsuit有资源 变量来自资源应该再定义 python2 RIDE就行了
资源
Testsuit
跑
你这个问题是你使用的变量出现歧义了,跟RIDE没有关系
@HelioGuilherme66 i install RIDE-release,but do not run error: command: "no pybot" --argumentfile C:\Users\admin\AppData\Local\Temp\RIDEuthk1lcb.d\argfile.txt --listener D:\python\lib\site-packages\robotide\contrib\testrunner\TestRunnerAgent.py:5259:False D:\robot_project\test [WinError 2] 系统找不到指定的文件。 i do not how to solve it
Testsuit已经定义了Variable,Testsuit有资源 变量来自资源应该再定义 python2 RIDE就行了 资源 Testsuit 跑
你这个问题是你使用的变量出现歧义了,跟RIDE没有关系
求教三个问题,从python2的ride到python3的ride才出现的 以下三个问题有任何解决思路吗,感激不尽!
你好,你的这个变量名可以区分一下,这样就可以了,你这个报错主要还是命名有很多相似的导致的
发自我的 iPhone
在 2019年1月22日,23:51,hyh162213 notifications@github.com 写道:
Testsuit已经定义了Variable,Testsuit有资源 变量来自资源应该再定义 python2 RIDE就行了 资源
Testsuit
跑
你这个问题是你使用的变量出现歧义了,跟RIDE没有关系
求教三个问题,从python2的ride到python3的ride才出现的 以下三个问题有任何解决思路吗,感激不尽!
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
RIDE 1.7.3.1 supports Python 3 now.
@HelioGuilherme66 i install RIDE-release,but do not run error: command: "no pybot" --argumentfile C:\Users\admin\AppData\Local\Temp\RIDEuthk1lcb.d\argfile.txt --listener D:\python\lib\site-packages\robotide\contrib\testrunner\TestRunnerAgent.py:5259:False D:\robot_project\test [WinError 2] 系统找不到指定的文件。 i do not how to solve it
I have try these steps, but still don't work. I can run case in cmd like pybot MY_CASE.robot succeed, but in RIDE, It doesn't work.
You can refer to this blog.If you have any questions, you can contact me again https://mp.weixin.qq.com/s/zTo4w33ZzBjiPMr6NkvTLw ------------------ 原始邮件 ------------------ 发件人: "robotframework/RIDE" <notifications@github.com>; 发送时间: 2020年8月28日(星期五) 下午4:12 收件人: "robotframework/RIDE"<RIDE@noreply.github.com>; 抄送: "冷风"<962199374@qq.com>;"Comment"<comment@noreply.github.com>; 主题: Re: [robotframework/RIDE] when RIDE will support python3? (#1719)
@HelioGuilherme66 i install RIDE-release,but do not run error: command: "no pybot" --argumentfile C:\Users\admin\AppData\Local\Temp\RIDEuthk1lcb.d\argfile.txt --listener D:\python\lib\site-packages\robotide\contrib\testrunner\TestRunnerAgent.py:5259:False D:\robot_project\test [WinError 2] 系统找不到指定的文件。 i do not how to solve it
I miss the same problem too, have you solve it? RIDE 1.7.4.2 running on Python 3.7.8.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.
wxpython4.0 has been released. It supports python3. robotFrameWork also supports python3. Does RIDE have any plans?