使用Robot框架的Ride IDE在使用库关键字并在终端上获取“致命Python错误:无法从堆栈溢出中恢复”时崩溃

2024-09-29 23:29:12 发布

您现在位置:Python中文网/ 问答频道 /正文

使用Robot框架的Ride IDE在使用库关键字并在终端上获取“Fatal Python error: Cannot recover from stack overflow.”时崩溃

当我用鼠标点击任何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 926 in _bootstrap_inner
  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__
  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__
  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__
  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__
  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__
  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.9机器人框架4.0(我也尝试过使用Python 3.8.0/3.8.5)

非常感谢您为解决此问题提供的任何帮助。
提前谢谢


Tags: inpyexecutelibpackageslinelibrarysite

热门问题