etnt / gettext

Erlang internationalization library.
http://www.redhoterlang.com/
MIT License
70 stars 45 forks source link

Fails to start under supervision tree #24

Closed nkmanolovsumup closed 4 years ago

nkmanolovsumup commented 6 years ago

Compiling with rebar3 and erlang 19.3 leads to

$ erl -pa ./_build/default/lib/gettext/ebin/

> gettext_app:start(application, []).
** exception exit: {shutdown,{failed_to_start_child,gettext_server,
                                                    {'EXIT',{function_clause,[{gettext_server,start_link,
                                                                                              [{gettext_server,[]}],
                                                                                              [{file,"/home/nikolay/gettext/_build/default/lib/gettext/src/gettext_server.erl"},
                                                                                               {line,94}]},
                                                                              {supervisor,do_start_child,2,
                                                                                          [{file,"supervisor.erl"},{line,310}]},
                                                                              {supervisor,start_children,3,
                                                                                          [{file,"supervisor.erl"},{line,293}]},
                                                                              {supervisor,init_children,2,
                                                                                          [{file,"supervisor.erl"},{line,259}]},
                                                                              {gen_server,init_it,6,[{file,"gen_server.erl"},{line,304}]},
                                                                              {proc_lib,init_p_do_apply,3,
                                                                                        [{file,"proc_lib.erl"},{line,239}]}]}}}}

Seems to be caused by #15