Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange "vsn" value in Applications loaded pour cb_admin #36

Open
lc3t35 opened this issue Aug 24, 2014 · 0 comments
Open

Strange "vsn" value in Applications loaded pour cb_admin #36

lc3t35 opened this issue Aug 24, 2014 · 0 comments

Comments

@lc3t35
Copy link

lc3t35 commented Aug 24, 2014

As you can see at #35 snapshot, there is a strange value of cb_admin:vsn in Applications loaded, instead of "0.7.1' we have "/bin/sh: 1: 0.7.1: not found" ...

Applications loaded

    {kernel,"ERTS CXC 138 10","2.16.1"}
    {lager,"Erlang logging framework","2.0.3"} 
    {cowboy,"Small, fast, modular HTTP server.","0.9.0"}
    {mimetypes,"mimetypes","1.0"}
    {cb_admin,"Chicago Boss Admin Interface","/bin/sh: 1: 0.7.1: not found"}
    {goldrush,"Erlang event stream processor","0.1.6"}
    {boss,"Chicago Boss web framework, now serving three flavors of Comet", "0.8.11"}
    {crypto,"CRYPTO version 2","2.3"}
    {stdlib,"ERTS CXC 138 10","1.19.1"}
    {cowlib,"Support library for manipulating Web protocols.","0.4.0"}
    {syntax_tools,"Syntax tools","1.6.11"}
    {compiler,"ERTS CXC 138 10","4.9.1"}
    {tinymq,"TinyMQ: a diminutive message queue","0.1.1"}
    {ranch,"Socket acceptor pool for TCP protocols.","0.9.0"}
    {sasl,"SASL CXC 138 11","2.3.1"}

Searching :
cb_admin.app.src : {vsn, "0.7.1"} OK
cb_admin_admin_controller.erl :
{modules_loaded, ModulesLoaded} is set by application:info()
Searching for "loaded" in boss, i went to boss_load.rel :

make_computed_vsn({unknown, Val} ) ->Val;
make_computed_vsn(Cmd ) ->
    VsnString = os:cmd(Cmd),
    string:strip(VsnString, right, $\n).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant