in your boss.config can you put this and try again ?

{smsengine, [

   ...
   {controller_modules,
           [
            smsengine_inbound_controller,
            smsengine_web_controller
           ]},

  ...

}

2015-01-12 23:14 GMT+08:00 Emacs the Viking <[email protected]>:

> Here is the output from the result of the logging code you gave:
>
>
>> DEV MODE (./init-dev.sh)
>>
>> 15:10:05.848 [info] Loading routes from
>> "/Users/seancharles/Documents/bitbucket/smsengine/priv/smsengine.routes"
>> ....
>> 15:10:05.921 [info] Boss Route smsengine "web" "index" []
>> 15:10:05.921 [info] ???>>> App smsengine
>> 15:10:05.921 [info] ???>>> C "web"
>> 15:10:05.921 [info] ???>>> Controllers
>> ["smsengine_inbound_controller","smsengine_web_controller"]
>> 15:10:06.002 [notice] Request Method 'GET'
>> 15:10:06.002 [notice] Tokens []
>> 15:10:06.093 [info] GET / [smsengine] 200 0ms
>> 15:10:06.493 [notice] ApplicationForPath smsengine
>>
>>
>> DEPLY MOD (./init.sh start)
>>
>> 2015-01-12 15:11:55.850 [notice]
>> <0.268.0>@boss_web_controller_handle_request:handle_request:23
>> ApplicationForPath smsengine
>> 2015-01-12 15:11:55.853 [info] <0.255.0>@boss_router_controller:route:171
>> Boss Route smsengine "web" "index" []
>> 2015-01-12 15:11:55.853 [info] <0.255.0>@boss_router_controller:route:172
>> ???>>> App smsengine
>> 2015-01-12 15:11:55.853 [info] <0.255.0>@boss_router_controller:route:173
>> ???>>> C "web"
>> 2015-01-12 15:11:55.853 [info] <0.255.0>@boss_router_controller:route:174
>> ???>>> Controllers []
>> 2015-01-12 15:11:55.869 [warning] <0.6.0> lager_error_logger_h dropped 30
>> messages in the last second that exceeded the limit of 50 messages/sec
>> 2015-01-12 15:11:55.869 [error] <0.255.0> gen_server <0.255.0> terminated
>> with reason: bad argument in call to erlang:list_to_atom(undefined) in
>> boss_router_controller:route/2 line 176
>> 2015-01-12 15:11:55.869 [error] <0.255.0> CRASH REPORT Process <0.255.0>
>> with 0 neighbours exited with reason: bad argument in call to
>> erlang:list_to_atom(undefined) in boss_router_controller:route/2 line 176
>> in gen_server:terminate/7 line 804
>> 2015-01-12 15:11:55.869 [error]
>> <0.268.0>@boss_web_controller_handle_request:handle_request:30 Unhandled
>> Error:
>> exit:{{badarg,[{erlang,list_to_atom,[undefined],[]},{boss_router_controller,route,2,[{file,"src/boss/boss_router_controller.erl"},{line,176}]},{boss_router_controller,handle_call,3,[{file,"src/boss/boss_router_controller.erl"},{line,64}]},{gen_server,try_handle_call,4,[{file,"gen_server.erl"},{line,607}]},{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,639}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,237}]}]},{gen_server,call,[<0.255.0>,{route,"/"}]}}.
>> Stacktrace:
>> [{gen_server,call,2,[{file,"gen_server.erl"},{line,182}]},{boss_web_controller_handle_request,process_dynamic_request,4,[{file,"src/boss/boss_web_controller_handle_request.erl"},{line,237}]},{boss_web_controller_handle_request,process_request,4,[{file,"src/boss/boss_web_controller_handle_request.erl"},{line,232}]},{boss_web_controller_handle_request,set_timer,7,[{file,"src/boss/boss_web_controller_handle_request.erl"},{line,148}]},{boss_web_controller_handle_request,build_dynamic_response,4,[{file,"src/boss/boss_web_controller_handle_request.erl"},{line,122}]},{boss_web_controller_handle_request,handle_request,3,[{file,"src/boss/boss_web_controller_handle_request.erl"},{line,26}]},{mochicow_upgrade,upgrade,4,[{file,"src/mochicow_upgrade.erl"},{line,72}]},{cowboy_protocol,execute,4,[{file,"src/cowboy_protocol.erl"},{line,529}]}]
>> 2015-01-12 15:11:55.870 [error] <0.254.0> Supervisor
>> {<0.254.0>,boss_router_sup} had child router_controller started with
>> boss_router_controller:start_link([{application,smsengine},{controllers,[]}])
>> at <0.255.0> exit with reason bad argument in call to
>> erlang:list_to_atom(undefined) in boss_router_controller:route/2 line 176
>> in context child_terminated
>> 2015-01-12 15:11:55.871 [info] <0.269.0> Loading routes from
>> "../smsengine/priv/smsengine.routes" ....
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "ChicagoBoss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> Visit this group at http://groups.google.com/group/chicagoboss.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/chicagoboss/c28a7921-581e-4c38-bf52-00bc87a3a71f%40googlegroups.com
> <https://groups.google.com/d/msgid/chicagoboss/c28a7921-581e-4c38-bf52-00bc87a3a71f%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at http://groups.google.com/group/chicagoboss.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/chicagoboss/CAB-OfhmWAPxuCMiLiyD4oKEwxQLDpgj_o419KC7sNudSagC5Ng%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to