analyze --capture-analysis-output writes corrupt zipfiles
See original GitHub issueDescribe the bug At the end of analyze, I see hundreds of the following warnings:
/usr/lib/python3.8/zipfile.py:1517: UserWarning: Duplicate name: 'sources-root/home/cc-runs/src/qt/qt5/qtbase/src/printsupport/kernel/qprint_p.h'
return self._open_to_write(zinfo, force_zip64=force_zip64)
The zipfiles stored under results_dir/run_name/failed
are troublesome to unzip. On linux with the unzip
command I am asked countless of times whether I want to overwrite certain files.
CodeChecker version is today’s latest HEAD at d78f1d9306868669ec07b8996c2cec1d29a664a3.
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
Methods to Extract Data from Corrupt ZIP File
Step 1 Launch File Repair Tool and select the "Repair ZIP File" option start to repairing the process. Step 2 Search corrupt ZIP...
Read more >Unzipping corrupted zip file - Oracle Communities
I have a corrupted zip file whose contents I'm trying to salvage. I know that the problem is with one of the files...
Read more >java - How to check if a generated zip file is corrupted?
You can use the ZipFile class to check your file : static boolean isValid(final File file) { ZipFile zipfile = null; try {...
Read more >ZIPs tricks - HackTricks
There are a handful of command-line tools for zip files that will be useful ... zip -FF input.zip --out output.zip attempt to repair...
Read more >Analysis of Data Source Using Autopsy - GeeksforGeeks
The Sleuth Kit is a library and a collection of command-line tools used to investigate disk images. Autopsy is the GUI program for...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can use the following option of the CodeChecker analyze command:
So as you can see in the log, the error is:
The return code cannot be seen in the log, but in the file
return-code
I see-11
.As mentioned earlier, this has been reported at #3012 (see 2nd point in description). It is blocking CTU analysis for C++17 projects.
But how is it related to the corrupted zipfiles issue?