Skip to content

2020 refresh#5

Open
dionysio wants to merge 4 commits intojacobsvante:masterfrom
dionysio:master
Open

2020 refresh#5
dionysio wants to merge 4 commits intojacobsvante:masterfrom
dionysio:master

Conversation

@dionysio
Copy link
Copy Markdown

Hey @jmagnusson, there were a couple of minor issues which prevented me from running the script successfully, this PR hopefully fixes all of them:

  1. the progressbar2 dependency was broken, the script would crash with some ImportError - progressbar33 fixes this
  2. I had to rewriteget_download_config method, because I'd get RuntimeError due to del statements on the dict
  3. the Geoname.cc2 field was too short for the current data and I'd get an error from Postgres complaining about data that's too long. The current recommendation on http://download.geonames.org/export/dump/ was to use 200 characters for this field

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

Successfully merging this pull request may close these issues.

1 participant