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

Cannot refresh data for taxa_tree_gbif #6

Open
grantfitzsimmons opened this issue Apr 6, 2023 · 1 comment · Fixed by #8
Open

Cannot refresh data for taxa_tree_gbif #6

grantfitzsimmons opened this issue Apr 6, 2023 · 1 comment · Fixed by #8
Labels
bug Something isn't working

Comments

@grantfitzsimmons
Copy link
Member

~ $ cd /home/specify/taxa_tree_gbif/back_end/ && /home/specify/venv/bin/python3
refresh_data.py
Config
Preparation
Downloading meta data
Downloading the archive
Unzipping the file
Traceback (most recent call last):
  File "/home/specify/taxa_tree_gbif/back_end/refresh_data.py", line 69, in <module>
    with ZipFile(archive_name, 'r') as zip_file:
  File "/usr/local/lib/python3.9/zipfile.py", line 1266, in __init__
    self._RealGetContents()
  File "/usr/local/lib/python3.9/zipfile.py", line 1333, in _RealGetContents
    raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file

I am getting zipfile.BadZipFile: File is not a zip file

@maxpatiiuk
Copy link
Member

Seems like GBIF changed their API. I will take a look

@maxpatiiuk maxpatiiuk added the bug Something isn't working label Apr 7, 2023
maxpatiiuk added a commit that referenced this issue Apr 7, 2023
@maxpatiiuk maxpatiiuk linked a pull request Apr 24, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants