Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RDD2022_Norway.zip file corrupted #57

Open
HarisIqbal88 opened this issue Jan 12, 2023 · 1 comment
Open

RDD2022_Norway.zip file corrupted #57

HarisIqbal88 opened this issue Jan 12, 2023 · 1 comment

Comments

@HarisIqbal88
Copy link

For me the Norway data file is corrupted. Was anyone able to extract Norway data?

Archive: RDD2022_Norway.zip warning [RDD2022_Norway.zip]: 6314542430 extra bytes at beginning or within zipfile (attempting to process anyway) error [RDD2022_Norway.zip]: start of central directory not found; zipfile corrupt.

@runarbu
Copy link

runarbu commented Apr 27, 2023

This file was corrupted for me too. However, on my Mac, I was able to fix the file by running this command:

zip --fixfix RDD2022_Norway.zip --out RDD2022_Norway_fixed.zip

--fixfix does the following:

Fix the zip archive. The --fix option can be used if some portions of the archive are missing, but requires a reasonably intact central directory. The input archive is scanned as usual, but zip will ignore some problems. The resulting archive should be valid, but any inconsistent entries will be left out.

When doubled as in --fixfix, the archive is scanned from the beginning and zip scans for special signatures to identify the limits between the archive members. The single -F is more reliable if the archive is not too much damaged, so try this option first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants