allofplos icon indicating copy to clipboard operation
allofplos copied to clipboard

zipfile.BadZipFile: File is not a zip file

Open richielo opened this issue 3 years ago • 2 comments

Hello, I followed the guide and installed it from source. I get the titled error when I run:

python -m allofplos.update

Am I missing something? Thank you!

richielo avatar Mar 19 '22 17:03 richielo

@richielo It fails because google throws a warning that the file is to large to be virus scanned.

You can fix this by adding "confirm": "t" to the params in https://github.com/PLOS/allofplos/blob/55be153189a26329d5d5ab97876a54ad9ee94631/allofplos/corpus/gdrive.py#L60

Syzygy2048 avatar Jun 17 '22 10:06 Syzygy2048

you are right, will fix it. Thank you very much!

sbassi avatar Jun 17 '22 20:06 sbassi