lala
lala copied to clipboard
GeoLite2 database not available anymore -- lala does not import
Due to GDPR, MaxMind has changed the GeoLite2 Database access policy used in conf.py https://blog.maxmind.com/2019/12/18/significant-changes-to-accessing-and-using-geolite2-databases/
Access to GeoLite2 requires registration (free of charge).
After registration and careful reading of the EULA, one can download a CSV database: make sure you tick NO for "Old versions of our GeoIP Update program use a different license key format. Will this key be used for GeoIP Update?"
The CSV must then be converted to .dat
, using the geolite2legacy module:
"This tool will convert MaxMind GeoLite2 Database to the old legacy format."
Download the module and -- after PIP installing the ipaddr
package -- follow the instructions there to convert the zip/csv
file into a .dat
file, which can then be specified in https://github.com/Edinburgh-Genome-Foundry/lala/blob/master/lala/conf.py#L9.
Unfortunately, requirement cartopy
's API has changed considerably, therefore tests still won't run without errors.