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_get error in tests #72

Closed
sckott opened this issue Sep 23, 2020 · 0 comments
Closed

download_get error in tests #72

sckott opened this issue Sep 23, 2020 · 0 comments
Milestone

Comments

@sckott
Copy link
Collaborator

sckott commented Sep 23, 2020

======================================================================
ERROR: occurrences.download_get - basic test
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/nose/case.py", line 198, in runTest
    self.test(*self.arg)
  File "/Users/sckott/github/sac/pygbif/test/test-occurrences-download_get.py", line 8, in test_download_get
    res = occ.download_get(key)
  File "/Users/sckott/github/sac/pygbif/pygbif/occurrences/download.py", line 400, in download_get
    gbif_GET_write(url, path, **kwargs)
  File "/Users/sckott/github/sac/pygbif/pygbif/gbifutils.py", line 56, in gbif_GET_write
    raise NoResultException("content-type did not contain '%s'" % ctype)
pygbif.gbifutils.NoResultException: content-type did not contain 'application/octet-stream'
@sckott sckott added this to the v0.5 milestone Sep 23, 2020
@sckott sckott closed this as completed in 3c366f8 Sep 23, 2020
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