Note that there are some explanatory texts on larger screens.

plurals
  1. POWorks alone but not after I release it with rebar
    primarykey
    data
    text
    <p>A simple application based on Webmachine and ErlyDtl when I start it with ./start it works. If I try to do a release with rebar then it starts but when I exeute a request then it will fail with following error. I've tried to include the compiler ... still does not help something else is missing but no idea how to detect.</p> <pre><code>{error, {error,undef, [{erlydtl_runtime,find_value,[param,[{param,"Slartibartfast"}]],[]}, {index_dtl,render_internal,4,[]}, {index_dtl,render,2,[]}, {web_resource,to_html,2,[{file,"src/web_resource.erl"},{line,13}]}, {webmachine_resource,resource_call,3, [{file,"src/webmachine_resource.erl"},{line,183}]}, {webmachine_resource,do,3, [{file,"src/webmachine_resource.erl"},{line,141}]}, {webmachine_decision_core,resource_call,1, [{file,"src/webmachine_decision_core.erl"},{line,48}]}, {webmachine_decision_core,decision,1, [{file,"src/webmachine_decision_core.erl"},{line,555}]}]}} </code></pre> <p>Here is my reltool.config</p> <pre><code>{sys, [ {lib_dirs, ["../apps", "../deps"]}, {erts, [{mod_cond, derived}, {app_file, strip}]}, {app_file, strip}, {rel, "numbes", "1", [ web, cowboy, crypto, ranch, kernel, mochiweb, compiler, webmachine, stdlib, inets, sasl ]}, {rel, "start_clean", "", [ kernel, stdlib ]}, {boot_rel, "numbes"}, {profile, embedded}, {incl_cond, exclude}, {excl_archive_filters, [".*"]}, %% Do not archive built libs {excl_sys_filters, ["^bin/.*", "^erts.*/bin/(dialyzer|typer)", "^erts.*/(doc|info|include|lib|man|src)"]}, {excl_app_filters, ["\.gitignore"]}, {app, sasl, [{incl_cond, include}]}, {app, stdlib, [{incl_cond, include}]}, {app, kernel, [{incl_cond, include}]}, {app, cowboy, [{incl_cond, include}]}, {app, crypto, [{incl_cond, include}]}, {app, inets, [{incl_cond, include}]}, {app, mochiweb, [{incl_cond, include}]}, {app, ranch, [{incl_cond, include}]}, {app, compiler, [{incl_cond, include}]}, {app, webmachine, [{incl_cond, include}]}, {app, web, [{incl_cond, include}]} ]}. {target_dir, "numbes"}. {overlay, [ {mkdir, "log/sasl"}, {copy, "files/erl", "\{\{erts_vsn\}\}/bin/erl"}, {copy, "files/nodetool", "\{\{erts_vsn\}\}/bin/nodetool"}, {copy, "files/numbes", "bin/numbes"}, {copy, "files/numbes.cmd", "bin/numbes.cmd"}, {copy, "files/start_erl.cmd", "bin/start_erl.cmd"}, {copy, "files/install_upgrade.escript", "bin/install_upgrade.escript"}, {copy, "files/sys.config", "releases/\{\{rel_vsn\}\}/sys.config"}, {copy, "files/vm.args", "releases/\{\{rel_vsn\}\}/vm.args"} ]}. </code></pre> <p>Any help will be greatly appreciated.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload