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

Handle missing/invalid Flickr API key #23

Open
mvaaltola opened this issue Oct 19, 2021 · 0 comments
Open

Handle missing/invalid Flickr API key #23

mvaaltola opened this issue Oct 19, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@mvaaltola
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Leaving the placeholder Flickr API key/secret in .env results in:

--- Importing Flickr data for Helsinki ---
Traceback (most recent call last):
  File "./import.py", line 85, in <module>
    bbox=",".join(bbox)
TypeError: sequence item 0: expected str instance, float found

This happens after running docker-compose run notebook ./import.py Helsinki.

Describe the solution you'd like
Handle the invalid API key gracefully, i.e. provide some error message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants