Hi. I'm running otp_src_17.4/ and ChicagoBoss-0.8.19
I'm just learning the ChicagoBoss flow and its is failing me when accessing
http://localhost:8001/admin.
I followed the project github page to setup cb_admin
but when getting the url it fails with:
Enter code here...2016-02-12 18:36:43.538 [error] <0.282.0>@boss_web_controller_render:render_with_template:272 Error in view cb_admin_view_admin_index_html error:{badmatch,#Fun<cb_admin_view_admin_index_html.2.14532082>} Stacktrace: [{cb_admin_view_admin_index_html,render_internal,2,[{file,""},{line,1644}]},{cb_admin_view_admin_index_html,render,2,[{file,""},{line,500}]},{boss_web_controller_render,render_with_template,11,[{file,"src/boss/boss_web_controller_render.erl"},{line,264}]},{boss_web_controller,execute_action_inner,9,[{file,"src/boss/boss_web_controller.erl"},{line,290}]},{boss_web_controller_handle_request,process_dynamic_request,5,[{file,"src/boss/boss_web_controller_handle_request.erl"},{line,250}]},{boss_web_controller_handle_request,process_request,5,[{file,"src/boss/boss_web_controller_handle_request.erl"},{line,240}]},{timer,tc,3,[{file,"timer.erl"},{line,194}]},{boss_web_controller_handle_request,build_dynamic_response,5,[{file,"src/boss/boss_web_controller_handle_request.erl"},{line,129}]}]
2016-02-12 18:36:43.548 [error] <0.282.0>@boss_web_controller_handle_request:handle_request:30 Unhandled Error: error:function_clause Stacktrace: [{boss_web_controller_handle_request,process_result,[{boss_app_info,cb_admin,
"/admin","/static","/doc",
all,
[{cb_admin_01_news,[]}],
<0.270.0>,<0.271.0>,
<0.273.0>,<0.274.0>,[],
["cb_admin_view_upgrade_upgrade_html",
"cb_admin_view_routes_index_html",
"cb_admin_view_model_upload_html",
"cb_admin_view_model_show_html",
"cb_admin_view_model_model_html",
"cb_admin_view_model_edit_html",
"cb_admin_view_model_delete_html",
"cb_admin_view_model_create_html",
"cb_admin_view_lang_show_html",
"cb_admin_view_lang_shared__lang_right_submenu_html",
"cb_admin_view_lang_shared__lang_left_submenu_html",
"cb_admin_view_lang_delete_html",
"cb_admin_view_lang_create_html",
"cb_admin_view_lang_big_red_button_html",
"cb_admin_view_admin_splash_html",
"cb_admin_view_admin_layouts_shared__sidebar_html",
"cb_admin_view_admin_layouts_shared__main_menu_html",
"cb_admin_view_admin_layouts_shared__alerts_html",
"cb_admin_view_admin_layouts_admin_html",
"cb_admin_view_admin_index_html",
"cb_admin_view_admin_access_denied_html"],
["cb_admin_upgrade_controller",
"cb_admin_routes_controller",
"cb_admin_model_controller",
"cb_admin_lang_controller",
"cb_admin_admin_controller"]},
{simple_bridge_request_wrapper,
mochiweb_request_bridge,
{mochicow_request,
#Port<0.40194>,'GET',
"/admin",'HTTP/1.1',
{8,
{"host",
{"host",
"localhost:8001"},
{"accept",
{"accept",
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"},
nil,
{"accept-language",
{"accept-language",
"es-ES,es;q=0.8,en-US;q=0.5,en;q=0.3"},
...