卡特金在中断后建立腐败

时间:2016-07-28 19:45:36

标签: python ros catkin

我没有开始实际构建文件时中断(Ctrl + C)catkin build执行。现在,我无法再次运行它,因为某些文件似乎已损坏。我在工作区执行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'

我该如何解决这个问题?

1 个答案:

答案 0 :(得分:2)

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