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

zipfile.BadZipFile: File is not a zip file #138

Open
richielo opened this issue Mar 19, 2022 · 2 comments
Open

zipfile.BadZipFile: File is not a zip file #138

richielo opened this issue Mar 19, 2022 · 2 comments

Comments

@richielo
Copy link

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!

@Syzygy2048
Copy link

@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

response = session.get(GDRIVE_URL, params={'id': id, 'resourcekey': key, 'authuser': '0', 'export': 'download'}, stream=True)

@sbassi
Copy link
Collaborator

sbassi commented Jun 17, 2022

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

sbassi added a commit that referenced this issue Jun 17, 2022
Fixing download bug. 
This closes issue #138
@sbassi sbassi mentioned this issue Jun 17, 2022
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

3 participants