CodeAnalysis icon indicating copy to clipboard operation
CodeAnalysis copied to clipboard

执行结果:任务执行异常 FileNotFoundError: [Errno 2] 没有那个文件或目录: '/home/user/CodeAnalysis/client/data/taskdirs/task_223/workdir/result.json'

Open liweihui1 opened this issue 3 years ago • 6 comments

执行结果:任务执行异常 FileNotFoundError: [Errno 2] 没有那个文件或目录: '/home/user/CodeAnalysis/client/data/taskdirs/task_223/workdir/result.json' image

liweihui1 avatar Jun 06 '22 11:06 liweihui1

image

liweihui1 avatar Jun 06 '22 11:06 liweihui1

2022-06-06 18:56:55,575-INFO: Codemetric only scans main code (exclude test_source, auto_generate_source, third_party_source). 2022-06-06 18:56:55,575-INFO: Codelint only cans main code. 2022-06-06 18:56:55,629-INFO: 已经上报过代码行数,本次分析无需上报. 2022-06-06 18:56:55,640-INFO: Tool compile start. 2022-06-06 18:56:55,641-INFO: Cmd: gcc 2022-06-06 18:56:55,641-INFO: Generated shell file: /home/iotmp/CodeAnalysis/client/data/taskdirs/task_223/workdir/tca_build.sh 2022-06-06 18:56:55,642-INFO: basic compile start. 2022-06-06 18:56:55,642-INFO: subprocc normal mode: ['bash', '/home/iotmp/CodeAnalysis/client/data/taskdirs/task_223/workdir/tca_build.sh'] 2022-06-06 18:56:55,642-INFO: run build cmd: bash /home/iotmp/CodeAnalysis/client/data/taskdirs/task_223/workdir/tca_build.sh 2022-06-06 18:56:55,657-INFO: gcc: 致命错误:没有输入文件 2022-06-06 18:56:55,658-INFO: 编译中断。 2022-06-06 18:56:55,744-INFO: exist_error_flag : False 2022-06-06 18:56:55,744-INFO: exist_success_flag : False 2022-06-06 18:56:55,744-INFO: exist_100_flag : False 2022-06-06 18:56:55,744-INFO: cov_no_file_emitted : False 2022-06-06 18:56:55,745-INFO: basic compile done. 2022-06-06 18:56:55,745-INFO: Tool compile done. 2022-06-06 18:56:55,745-INFO: done_compile start. 2022-06-06 18:56:55,746-INFO: task done : <class 'task.model.compile.CompileTask'> 2022-06-06 18:56:55,747-INFO: task start : <class 'task.model.analyze.AnalyzeTask'> 2022-06-06 18:56:55,747-INFO: pre_analyze start. 2022-06-06 18:56:55,747-INFO: pre_analyze done. 2022-06-06 18:56:55,815-INFO: /bin/sh: bin/linux/APIFinder2: 没有那个文件或目录 2022-06-06 18:56:55,917-INFO: /bin/sh: bin/linux/Loong: 没有那个文件或目录 2022-06-06 18:56:56,011-WARNING: task status code is 201 2022-06-06 18:56:56,012-WARNING: task messsage: FileNotFoundError: [Errno 2] 没有那个文件或目录: '/home/iotmp/CodeAnalysis/client/data/taskdirs/task_223/workdir/result.json' 2022-06-06 18:56:56,012-INFO: task result: /home/iotmp/CodeAnalysis/client/data/taskdirs/task_223/task_response.json

liweihui1 avatar Jun 06 '22 11:06 liweihui1

需要下载这两个工具到tools目录下哈 https://github.com/TCATools/loong_beta https://github.com/TCATools/loong

cyw3 avatar Jun 06 '22 11:06 cyw3

image

liweihui1 avatar Jun 06 '22 11:06 liweihui1

image 还是会报错

liweihui1 avatar Jun 06 '22 11:06 liweihui1

需要升级工蜂社区版的puppy-tools-config。已处理

cyw3 avatar Jun 10 '22 02:06 cyw3