在使用库关键字时使用 Robot Framework Crashes 乘坐 IDE 并收到“致命的 Python 错误:无法从堆栈溢出中恢复”在终端

问题描述

在使用库关键字并在终端上获取Fatal Python error: Cannot recover from stack overflow.”时,使用 Robot Framework Crashes 运行 IDE。

当我用鼠标点击任何 selenium 或 Appium 库时,RIDE IDE 崩溃如下。

Thread 0x0000700008014000 (most recent call first):
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/selectors.py",line 415 in select
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/socketserver.py",line 232 in serve_forever
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py",line 870 in run
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py",line 926 in _bootstrap_inner
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py",line 890 in _bootstrap

Thread 0x0000700007b11000 (most recent call first):
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py",line 296 in wait
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/queue.py",line 170 in get
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/robotide/spec/librarymanager.py",line 60 in _handle_message
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/robotide/spec/librarymanager.py",line 41 in run
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py",line 890 in _bootstrap

Current thread 0x0000000104facdc0 (most recent call first):
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/robotide/controller/ui/treecontroller.py",line 97 in _find_node_with_predicate
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/robotide/controller/ui/treecontroller.py",line 90 in find_node_by_controller
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/robotide/ui/treeplugin.py",line 967 in _item_changed
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/robotide/publish/publisher.py",line 98 in __call__
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/robotide/publish/publisher.py",line 52 in _sendMessage
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/robotide/publish/publisher.py",line 30 in publish
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/robotide/publish/messages.py",line 76 in _publish
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/robotide/publish/messages.py",line 68 in publish
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/robotide/controller/macrocontrollers.py",line 305 in _notify
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/robotide/controller/macrocontrollers.py",line 301 in notify_steps_changed
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/robotide/controller/ctrlcommands.py",line 255 in _execute
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/robotide/controller/ctrlcommands.py",line 191 in _execute_without_redo_clear
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/robotide/controller/ctrlcommands.py",line 186 in execute
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/robotide/controller/basecontroller.py",line 27 in execute
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/robotide/editor/kweditor.py",line 222 in _execute
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/robotide/editor/kweditor.py",line 427 in cell_value_edited
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/robotide/editor/kweditor.py",line 953 in ApplyEdit
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/robotide/editor/kweditor.py",line 378 in _write_steps
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/robotide/editor/kweditor.py",line 371 in _data_changed
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/robotide/publish/publisher.py",line 98 in __call__
  ...
Abort trap: 6

我使用的是 Python 3.7.9Robot Framework 4.0(我也尝试过使用 python 3.8.0 / 3.8.5)

解决问题的任何帮助表示高度赞赏。
提前致谢。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)