0
當它沒有開始真正建立文件時,我中斷了(Ctrl + C)catkin build
執行。現在,我無法再運行它,因爲某些文件似乎已損壞。我在工作區執行catkin build
時出現此錯誤:Catkin在中斷後建立腐敗
$ 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'
我該如何解決這個問題?