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

Build failure: unable to download dataset #11

Closed
ronaldtse opened this issue Aug 26, 2021 · 2 comments
Closed

Build failure: unable to download dataset #11

ronaldtse opened this issue Aug 26, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@ronaldtse
Copy link
Contributor

From run https://github.com/interscript/geonames-transliteration-data/actions/runs/1168578292

It seems that either the page has changed or the dataset is available from another path.

We need to fix this.

@ronaldtse ronaldtse added the bug Something isn't working label Aug 26, 2021
@ronaldtse
Copy link
Contributor Author

ronaldtse commented Aug 26, 2021

Same issue as #9 .

$ curl -sSL https://geonames.nga.mil/gns/html/namefiles.html | sed -n 's/.*geonames_\([0-9]*\)\.zip.*/\1/p'
20210809
$ curl -sSL https://geonames.nga.mil/gns/html/namefiles.html | sed -n 's/.*geonames_\([0-9]*\)\.zip.*/\1/p'
20210823

The problem is when the command times out, we need to abort.

@ronaldtse
Copy link
Contributor Author

I've added the -f flag so that curl aborts when a failure is seen. It seems that the server is often returning 502, in addition to the altercating response of dates.

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

No branches or pull requests

1 participant