Trouble with lager on Disco 0.4.2

47 views
Skip to first unread message

Samuel

unread,
May 11, 2012, 5:14:54 PM5/11/12
to Disco-development
I'm on OSX Lion, using Erlang R15B01, Disco 0.4.1 worked for me, but
upgrading to 0.4.2 broke it for me.

When compiling disco 0.4.2 everything goes through properly with
rebar:
==> lager (get-deps)
==> mochiweb (get-deps)
==> master (get-deps)
==> lager (compile)
==> mochiweb (compile)
==> master (compile)

When I try to start disco, I get
=INFO REPORT==== 11-May-2012::17:01:23 ===
application: disco
exited: {bad_return,
{{disco_main,start,[normal,[]]},
{'EXIT',
{{badmatch,
{error,{"no such file or
directory","lager.app"}}},
[{disco_main,start,2,
[{file,"src/disco_main.erl"},{line,37}]},
{application_master,start_it_old,4,
[{file,"application_master.erl"},{line,
274}]}]}}}}
type: temporary

When I run application:which_applications() before line 37, I get
[{stdlib,"ERTS CXC 138 10","1.18.1"}, {kernel,"ERTS CXC 138
10","2.15.1"}].
And no lager.

Can I have some help please?

Prashanth Mundkur

unread,
May 11, 2012, 11:50:35 PM5/11/12
to disc...@googlegroups.com
On 14:14 Fri 11 May , Samuel wrote:
> I'm on OSX Lion, using Erlang R15B01, Disco 0.4.1 worked for me, but
> upgrading to 0.4.2 broke it for me.
>
> When compiling disco 0.4.2 everything goes through properly with
> rebar:
> ==> lager (get-deps)
> ==> mochiweb (get-deps)
> ==> master (get-deps)
> ==> lager (compile)
> ==> mochiweb (compile)
> ==> master (compile)
>
> When I try to start disco, I get

How do you start disco? Could you double-check whether you are using
the 0.4.2 disco cli to start this?

Also, could you show the output of 'ps augxwww|grep disco' (or OSX
equivalent)? With 0.4.2, you should ideally see a -pa argument that
specifies where lager is to be found.


> =INFO REPORT==== 11-May-2012::17:01:23 ===
> application: disco
> exited: {bad_return,
> {{disco_main,start,[normal,[]]},
> {'EXIT',
> {{badmatch,
> {error,{"no such file or
> directory","lager.app"}}},
> [{disco_main,start,2,
> [{file,"src/disco_main.erl"},{line,37}]},
> {application_master,start_it_old,4,
> [{file,"application_master.erl"},{line,
> 274}]}]}}}}
> type: temporary
>
> When I run application:which_applications() before line 37, I get
> [{stdlib,"ERTS CXC 138 10","1.18.1"}, {kernel,"ERTS CXC 138
> 10","2.15.1"}].
> And no lager.
>
> Can I have some help please?

--
prashanth

Samuel

unread,
May 14, 2012, 11:44:01 AM5/14/12
to Disco-development
Ah it was a problem where it used a copy of the incorrect cli. Thank
you.


On May 11, 11:50 pm, Prashanth Mundkur <prashanth.mund...@gmail.com>
wrote:
Reply all
Reply to author
Forward
0 new messages