q463643865
like sunshine
2019-03-20 15:02

phython运行ride.py时报错

  • python
  • 开发语言

phython运行ride.py报如下错,求大佬看下是什么问题哇,感谢了

Traceback (most recent call last):
File "C:\Users\坤哥\AppData\Local\Programs\Python\Python37\lib\site-packages\robotide\application\application.py", line 59, in OnInit
self._plugin_loader.enable_plugins()
File "C:\Users\坤哥\AppData\Local\Programs\Python\Python37\lib\site-packages\robotide\application\pluginloader.py", line 43, in enable_plugins
p.enable_on_startup()
File "C:\Users\坤哥\AppData\Local\Programs\Python\Python37\lib\site-packages\robotide\application\pluginconnector.py", line 52, in enable_on_startup
self.enable()
File "C:\Users\坤哥\AppData\Local\Programs\Python\Python37\lib\site-packages\robotide\application\pluginconnector.py", line 57, in enable
self._plugin.enable()
File "C:\Users\坤哥\AppData\Local\Programs\Python\Python37\lib\site-packages\robotide\contrib\testrunner\testrunnerplugin.py", line 162, in enable
self._build_ui()
File "C:\Users\坤哥\AppData\Local\Programs\Python\Python37\lib\site-packages\robotide\contrib\testrunner\testrunnerplugin.py", line 558, in _build_ui
self._build_notebook_tab()
File "C:\Users\坤哥\AppData\Local\Programs\Python\Python37\lib\site-packages\robotide\contrib\testrunner\testrunnerplugin.py", line 734, in _build_notebook_tab
self.out = self._create_output_textctrl()
File "C:\Users\坤哥\AppData\Local\Programs\Python\Python37\lib\site-packages\robotide\contrib\testrunner\testrunnerplugin.py", line 769, in _create_output_textctrl
font = self._create_font()
File "C:\Users\坤哥\AppData\Local\Programs\Python\Python37\lib\site-packages\robotide\contrib\testrunner\testrunnerplugin.py", line 789, in _create_font
font=wx.SystemSettings.GetFont(wx.SYS_ANSI_FIXED_FONT)
wx._core.wxAssertionError: C++ assertion "wxFontEnumerator::IsValidFacename(font.GetFaceName())" failed at ....\src\msw\settings.cpp(301) in wxSystemSettingsNative::GetFont():
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

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

2条回答

为你推荐