Robot Framework - 无法在 MacOS 上启动 RIDE

Robot Framework - Can't start RIDE on MacOS

上下文

我想为移动自动测试构建一个环境。关于工具,我想将 Appium 与 Robot Framework 一起使用。

MacOS 莫哈韦沙漠 (10.14.6)

问题

我想使用 RIDE 来编写我的测试,但我无法启动它。

我按照 README 中的安装指南进行操作,并且已经测试了很多方法来获得良好的环境,但每次都失败了,我迷路了... 我测试过的内容:

并且 none 正在工作。

当我尝试启动 RIDE

$ ride.py
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/robotide/application/application.py", line 64, in OnInit
    self._plugin_loader.enable_plugins()
  File "/usr/local/lib/python3.8/site-packages/robotide/application/pluginloader.py", line 36, in enable_plugins
    p.enable_on_startup()
  File "/usr/local/lib/python3.8/site-packages/robotide/application/pluginconnector.py", line 52, in enable_on_startup
    self.enable()
  File "/usr/local/lib/python3.8/site-packages/robotide/application/pluginconnector.py", line 57, in enable
    self._plugin.enable()
  File "/usr/local/lib/python3.8/site-packages/robotide/contrib/testrunner/testrunnerplugin.py", line 225, in enable
    self._add_tab_to_notebook()
  File "/usr/local/lib/python3.8/site-packages/robotide/contrib/testrunner/testrunnerplugin.py", line 814, in _add_tab_to_notebook
    self._output_panel = self._build_output_panel(self.panel)
  File "/usr/local/lib/python3.8/site-packages/robotide/contrib/testrunner/testrunnerplugin.py", line 842, in _build_output_panel
    self.show_message_log,
  File "/usr/local/lib/python3.8/site-packages/robotide/pluginapi/plugin.py", line 136, in __getattr__
    raise AttributeError("No attribute or settings with name '%s' found" % name)
AttributeError: No attribute or settings with name 'show_message_log' found
OnInit returned false, exiting...
Error in atexit._run_exitfuncs:
wx._core.wxAssertionError: C++ assertion "GetEventHandler() == this" failed at /Users/robind/projects/bb2/dist-osx-py38/build/ext/wxWidgets/src/common/wincmn.cpp(470) in ~wxWindowBase(): any pushed event handlers must have been removed

这是安装的框架

$ pip3 list
Package             Version
------------------- ----------
numpy               1.19.5
Pillow              8.1.0
pip                 20.3.3
psutil              5.8.0
Pygments            2.7.4
Pypubsub            4.0.3
robotframework-ride 2.0b2.dev1
setuptools          51.1.1
six                 1.15.0
wheel               0.36.2
wxPython            4.1.1

谁能帮帮我?

该问题应该已经在当前开发分支中得到修复。 请尝试安装:

pip install -U https://github.com/robotframework/RIDE/archive/master.zip

编辑: 您可以尝试从我的 colours 分支安装:

pip3 install -U https://github.com/HelioGuilherme66/RIDE/archive/colours.zip

或在文件 settings.cfg.

[Test Runner] 部分添加缺少的属性 show_message_log = True