I seem to recall seeing this before. Is your boss.config specifying your application directory correctly?
g On 11 January 2015 at 17:16, emacstheviking <[email protected]> wrote: > I am still stuck with this same problem. To be sure, I did this: > > rm -fr deps > ./rebar g-d > ./rebar compile > ./init.sh > > ...and it *still* insists it has issues finding the routes... > > terminated with reason: bad argument in call to > erlang:list_to_atom(undefined) in boss_router_controller:route/2 line 172 > > If I type this into the browser address bar: > > http://localhost:31415/web/index > > I get this message back: > > No routes matched the requested URL. Additionally, no handler was found > for processing 404 errors. You probably want to modify > ../smsengine/priv/smsengine.routes to prevent errors like this one. > > Which is a nonsense of course because the route is configured, in fact > here is the default "/" route from my routes file that it apparently cannot > use! > > % Front page > {"/", [{controller, "web"}, {action, "index"}]}. > > In "dev" mode both work as expected... I am goig to pur some "printf" > statements in so that I can at least see what comes out in dev mode and > deploy mode, it might shed some light on the problem. I will post my > findings... > > > On 9 January 2015 at 14:58, ENTR0PY <[email protected]> wrote: > >> I tried this as wll , i compiled the project before and nada, ebin had >> all the beams >> >> On Friday, March 28, 2014 at 4:22:01 PM UTC-4, Jesse Gumm wrote: >>> >>> To be clear, before running "./init.sh start", are you running "./rebar >>> compile"? It may be that your modules are not yet compiled. While dev mode >>> automatically compiles and loads the .erl files, production mode must be >>> compiled ahead of time, and have the .beam files placed into the ebin >>> directory. >>> >>> Have you done this step? >>> >>> -Jesse >>> >>> >>> On Tue, Mar 25, 2014 at 5:36 AM, Peter Yuen <[email protected]> wrote: >>> >>>> i have the same problem, but, the path is correctly.... I don't know >>>> what to do. >>>> >>>> please help >>>> >>>> On Friday, May 3, 2013 4:42:20 PM UTC+8, Derek Chiang wrote: >>>>> >>>>> I'm not sure why this happens, but when I try to deploy my application >>>>> on a remote server and start in production mode ("./init.sh start"), the >>>>> routes file is not found. However if I start it in development mode, then >>>>> everything is good. >>>>> >>>>> It's worth noting that both development mode and production mode run >>>>> normally on my local machine. >>>>> >>>> -- >>>> 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/5ccdc68b-0613-49d0-8fb6-c8344a8f2052% >>>> 40googlegroups.com >>>> <https://groups.google.com/d/msgid/chicagoboss/5ccdc68b-0613-49d0-8fb6-c8344a8f2052%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> >>> >>> -- >>> Jesse Gumm >>> Owner, Sigma Star Systems >>> 414.940.4866 || sigma-star.com || @jessegumm >>> >> -- >> 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/94c4f4e3-a4f6-4c40-81ab-021147e71d5c%40googlegroups.com >> <https://groups.google.com/d/msgid/chicagoboss/94c4f4e3-a4f6-4c40-81ab-021147e71d5c%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/CAEiEuUKpvaJ5%3DsuT5GPfGFt-zC7_aaRfx_a2GZV2kU3-MgukzQ%40mail.gmail.com > <https://groups.google.com/d/msgid/chicagoboss/CAEiEuUKpvaJ5%3DsuT5GPfGFt-zC7_aaRfx_a2GZV2kU3-MgukzQ%40mail.gmail.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/CAKF5fiBNAqEpOwp%3DBY4HaXLL2mMu6wSxFb5xGdco4uf0Xj4MWg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
