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

ZIP file is corrupt when using the Advanced Search (and unzip) #69

Open
vurt2 opened this issue Aug 7, 2024 · 0 comments
Open

ZIP file is corrupt when using the Advanced Search (and unzip) #69

vurt2 opened this issue Aug 7, 2024 · 0 comments

Comments

@vurt2
Copy link

vurt2 commented Aug 7, 2024

When using the "Advanced Search" and selecting a least two contacts, a ZIP-file is generated that differs from the
file when using the modern (searchui) version of the search.

The file is bigger and corrupted, unzip is unable to unpack it.

I am using unzip on linux:
unzip -v
UnZip 6.00 of 20 April 2009, by Debian. Original by Info-ZIP.

unzip CiviOffice-Dokumente.zip Archive: CiviOffice-Dokumente.zip End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of CiviOffice-Dokumente.zip or CiviOffice-Dokumente.zip.zip, and cannot find CiviOffice-Dokumente.zip.ZIP, period.

Unpacking with other, more modern (and more forgiving) programs works fine (like 7z x CiviOffice-Dokumente.zip).

The strange thing is that the files differ depending from which search you generate the zip - maybe one uses the commandline zip and the other the php extension?

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

No branches or pull requests

2 participants