-
Notifications
You must be signed in to change notification settings - Fork 30
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
Module doesn't export mod_opt_type/1 #12
Comments
Hi @rrigoni have you been able to find the fix? |
Hi @xdnny , I wrote my own module based on the module_interact containing presence and push notifications. |
Hi @ronaldo-getreveel thanks for the reply, looking forward to check it out. Just for the record, I was able to make it work by looking into issue #5 - it seems that it is the same problem and it's fixed with following action: #5 (comment) It applies to ejabberd 14.05 and it also fixes ejabberd 16.02 (wich is current as of now) if someone is experiencing:
|
I compiled complete with ejabber 16.02, we need update
|
I compiled the module from ejabberd source 15.07 and everything is ok.
But, the ejabberd fails to start and I get this log:
ejabberd_1 | 02:47:11.988 [warning] module 'mod_offline_post' doesn't export mod_opt_type/1
ejabberd_1 | 02:47:11.988 [warning] module 'mod_offline_post' doesn't export mod_opt_type/1
ejabberd_1 | 02:47:11.988 [info] Starting mod_offline_post
ejabberd_1 | 02:47:11.988 [warning] module 'mod_available_post' doesn't export mod_opt_type/1
ejabberd_1 | 02:47:11.994 [warning] module 'mod_available_post' doesn't export mod_opt_type/1
ejabberd_1 | 02:47:11.995 [info] Starting mod_available_post
ejabberd_1 | 02:47:12.001 [warning] module 'mod_unavailable_post' doesn't export mod_opt_type/1
ejabberd_1 | 02:47:12.009 [warning] module 'mod_unavailable_post' doesn't export mod_opt_type/1
ejabberd_1 | 02:47:12.015 [critical] Problem starting the module mod_unavailable_post for host <<"tribbeapp.com">>
ejabberd_1 | options: [{auth_token,<<"unavailable_post_auth_token">>},
ejabberd_1 | {post_url,<<"http://localhost:4567/unavailable_post">>}]
ejabberd_1 | error: undef
ejabberd_1 | [{mod_unavailable_post,start,
ejabberd_1 | [<<"tribbeapp.com">>,
ejabberd_1 | [{auth_token,<<"unavailable_post_auth_token">>},
ejabberd_1 | {post_url,<<"http://localhost:4567/unavailable_post">>}]],
ejabberd_1 | []},
ejabberd_1 | {gen_mod,start_module,3,[{file,"src/gen_mod.erl"},{line,99}]},
ejabberd_1 | {lists,foreach,2,[{file,"lists.erl"},{line,1336}]},
ejabberd_1 | {ejabberd_app,start,2,[{file,"src/ejabberd_app.erl"},{line,72}]},
ejabberd_1 | {application_master,start_it_old,4,
ejabberd_1 | [{file,"application_master.erl"},{line,272}]}]
ejabberd_1 | 02:47:12.015 [critical] ejabberd initialization was aborted because a module start failed.
ejabberd_1 |
ejabberd_1 | Crash dump was written to: //var/log/ejabberd/erl_crash_20150906-024705.dump
ejabberd_1 | Problem starting the module mod_unavailable_post for host <<"tribbeapp.com">>
ejabberd_1 | options: [{auth_token,<<"unavailable_post_auth_token">>},
ejabberd_1 | {post_url,<<"http://localhost:4567/unavailable_pos
Any suggestion of how I can get it fixed?
Kind regards.
The text was updated successfully, but these errors were encountered: