Hi Murphy,
Thanks a lot for giving me exact solution.
You are correct meta.json file has "try newapp" as component name.

{
    "components": [
        {
            "name": "try newapp" ,
            "library": "try_newapp"
        }
    ]
}

Thanks
-BSR

From: Murphy McCauley [mailto:jam...@nau.edu]
Sent: Tuesday, December 06, 2011 1:39 AM
To: Beeram, Suresh KumarReddy
Cc: nox-dev@noxrepo.org
Subject: Re: [nox-dev] unable to create new app in nox

I'm not sure if this is a bug or a feature, but if you check try_newapp's 
meta.json file, you'll see that the actual component name is "try newapp" (with 
a space) and not "try_newapp" (with an underscore).

If you try running:
./nox_core -v -l ptcp:789 "try newapp"
.. it should work.

It might be a better idea to edit the meta.json so that the component name 
doesn't contain a space, though.  I am not sure if there are parts of NOX which 
will expect component names to not contain spaces...

Hope that helps.

-- Murphy

On Dec 5, 2011, at 7:00 AM, Beeram, Suresh KumarReddy wrote:


Hi All,
I am new to NOX source code. Today I tried to create new NOX app "try_newapp" 
in netapps directory, it compiled  successfully but when I start executing 
nox_core executable
"./nox_core -v -I ptcp:789 try_newapp" it throws error 
"00041|nox|ERR:Application 'try_newapp' description not found."

Steps used to create new app:
nox-new-c-app.py try_newapp

it created try_newapp dir .
root@desktop:~/nox/src/nox/netapps/try_newapp# ls
Makefile.am  Makefile.in  meta.json  try_newapp.cc  try_newapp.hh

Please find the attachment of error log and config log.

Correct me if I was wrong in creating new app..

Thanks
-B Suresh Reddy

<config_try_newapp.txt><error_log.txt>_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org<mailto:nox-dev@noxrepo.org>
http://noxrepo.org/mailman/listinfo/nox-dev

_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev

Reply via email to