gpt4 book ai didi

python - 中断后 Catkin 构建腐败

转载 作者:行者123 更新时间:2023-12-01 03:48:09 24 4
gpt4 key购买 nike

catkin build尚未开始实际构建文件时,我中断了(Ctrl+C)它的执行。现在,我无法再次运行它,因为某些文件似乎已损坏。当我在工作区上执行 catkin build 时,出现此错误:

$ catkin build
Traceback (most recent call last):
File "/usr/local/bin/catkin", line 9, in <module>
load_entry_point('catkin-tools', 'console_scripts', 'catkin')()
File "/usr/local/lib/python2.7/dist-packages/catkin_tools/commands/catkin.py", line 258, in main
catkin_main(sysargs)
File "/usr/local/lib/python2.7/dist-packages/catkin_tools/commands/catkin.py", line 253, in catkin_main
sys.exit(args.main(args) or 0)
File "/usr/local/lib/python2.7/dist-packages/catkin_tools/verbs/catkin_build/cli.py", line 418, in main
summarize_build=opts.summarize # Can be True, False, or None
File "/usr/local/lib/python2.7/dist-packages/catkin_tools/verbs/catkin_build/build.py", line 245, in build_isolated_workspace
for (k, v) in existing_buildspace_marker_data.items():
AttributeError: 'NoneType' object has no attribute 'items'

我该如何解决这个问题?

最佳答案

我通过删除文件 <workspace>/build/.catkin_tools.yaml 解决了这个问题.

关于python - 中断后 Catkin 构建腐败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38645427/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com