DadsOrange
2019-04-25 16:41
采纳率: 0%
浏览 3.8k

安装完robotframework-ride之后运行ride.py报错,救救孩子吧!!!我试了好几个方法都失败

Traceback (most recent call last):
File "C:\Python27\lib\site-packages\robotide\application\application.py", line 59, in OnInit
self._plugin_loader.enable_plugins()
File "C:\Python27\lib\site-packages\robotide\application\pluginloader.py", line 43, in enable_plugins
p.enable_on_startup()
File "C:\Python27\lib\site-packages\robotide\application\pluginconnector.py", line 52, in enable_on_startup
self.enable()
File "C:\Python27\lib\site-packages\robotide\application\pluginconnector.py", line 57, in enable
self._plugin.enable()
File "C:\Python27\lib\site-packages\robotide\contrib\testrunner\testrunnerplugin.py", line 162, in enable
self._build_ui()
File "C:\Python27\lib\site-packages\robotide\contrib\testrunner\testrunnerplugin.py", line 558, in _build_ui
self._build_notebook_tab()
File "C:\Python27\lib\site-packages\robotide\contrib\testrunner\testrunnerplugin.py", line 734, in _build_notebook_tab
self.out = self._create_output_textctrl()
File "C:\Python27\lib\site-packages\robotide\contrib\testrunner\testrunnerplugin.py", line 769, in _create_output_textctrl
font = self._create_font()
File "C:\Python27\lib\site-packages\robotide\contrib\testrunner\testrunnerplugin.py", line 789, in _create_font
font=wx.SystemSettings.GetFont(wx.ANSI_FIXED_FONT)
AttributeError: 'module' object has no attribute 'ANSI_FIXED_FONT'
OnInit returned false, exiting...
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "C:\Python27\lib\atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
wxAssertionError: C++ assertion "GetEventHandler() == this" failed at ....\src\common\wincmn.cpp(478) in wxWindowBase::~wxWindowBase(): any pushed event handlers must have been removed
Error in sys.exitfunc:
Traceback (most recent call last):
File "C:\Python27\lib\atexit.py", line 24, in _run_exitfuncs
func(*targs, **kargs)
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

  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

2条回答 默认 最新

  • jzh_kingagroot 2020-04-29 09:40

    你这个报错网上有大神解答,https://blog.csdn.net/u011127242/article/details/88864476
    我遇到的保存跟你不一样,我是wxPython版本太高导致的,换了4.0.7的解决了

    打赏 评论
  • weixin_40909954 2020-09-28 09:02

    因为RobotFramework是开源的,并且对各个工具版本兼容性不太友好,经过实践,你可以用以下版本进行安装ride
    图片说明

    打赏 评论

相关推荐 更多相似问题