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

Download all submissions downloads broken zip file when streaming from S3 #580

Open
nbozhkov-ucl opened this issue Sep 11, 2023 · 0 comments

Comments

@nbozhkov-ucl
Copy link

Trying to download all submissions in a Moodle assignment with a large number of submissions results in a broken zip file.

Trying to unzip the file produces the following error:
"Unable to expand STAT0023_22-23.zip into Downloads. Error -1- No such process"

Using CLI to unzip complains randomly with different errors but produces a folder with most files working and few empty/ broken ones. See output from run1 below:

warning [STAT0023_22-23.zip]: 5268 extra bytes at beginning or within zipfile
(attempting to process anyway)
file #1: bad zipfile offset (local header sig): 5268
(attempting to re-compensate)

Please also see https://tracker.moodle.org/browse/MDL-72935

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

1 participant