Closed manudatta closed 5 years ago
Did you solve whatever was the problem? The log excerpt suggests the application wasn't started. If you launch the shell by running make console
it should start it automatically for you. Otherwise, if you're importing the library as a dependency, including it in app.src
should do it, too.
Yes I did realise it is an app. Thanks a lot for creating this wonderful library. Regards Manu
On 12 Apr 2019, at 04:51, Guilherme Andrade notifications@github.com wrote:
Did you solve whatever was the problem? The log excerpt suggests the application wasn't started. If you launch the shell by running make console it should start it automatically for you. Otherwise, if you're importing the library as a dependency, including it in app.src should do it, too.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/g-andrade/locus/issues/3#issuecomment-482309114, or mute the thread https://github.com/notifications/unsubscribe-auth/AAvQnRR0-gRAqMISRCxpmVYLgsHapSYwks5vf6BZgaJpZM4cpR8_.
Looks like the code is broken. I tried both the example and trying loading the local file.
1> URL = "https://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.tar.gz". "https://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.tar.gz" 2> locus:start_loader(country, URL). ** exception exit: {noproc, {gen_server,call, [locus_sup, {start_child, {{http_loader,country}, {locus_http_loader,start_link, [country, "https://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.tar.gz", [{event_subscriber,locus_logger}]]}, permanent,5000,worker, [locus_http_loader]}}, infinity]}} in function gen_server:call/3 (gen_server.erl, line 214) in call from locus_sup:start_child/3 (/Users/manu/misc/ex/_build/default/lib/locus/src/locus_sup.erl, line 67)