[nox-dev] Error on importing nox/netapps/monitoring.py

2011-12-29 Thread Dushyant Arora
Hello, I have created a NOX application NOXSwitch.py which calls send_flow_stats_request() from the module monitoring.py. However I get the following ImportError: 1|nox|INFO:Starting nox_core (/home/openflow/noxcore/build/src/.libs/lt-nox_core) 2|nox|ERR:Cannot change the state of

Re: [nox-dev] Error on importing nox/netapps/monitoring.py

2011-12-29 Thread Murphy McCauley
Are you also running the monitoring component, either on the commandline before your component or by adding it as a dependency in your component's meta.json? -- Murphy On Dec 29, 2011, at 10:25 PM, Dushyant Arora wrote: Hello, I have created a NOX application NOXSwitch.py which calls

Re: [nox-dev] Error on importing nox/netapps/monitoring.py

2011-12-29 Thread Dushyant Arora
No. - Dushyant On Fri, Dec 30, 2011 at 2:16 AM, Murphy McCauley jam...@nau.edu wrote: Are you also running the monitoring component, either on the commandline before your component or by adding it as a dependency in your component's meta.json? -- Murphy On Dec 29, 2011, at 10:25 PM,

Re: [nox-dev] Error on importing nox/netapps/monitoring.py

2011-12-29 Thread Dushyant Arora
I added monitoring to the dependency list of my component and I no longer get an ImportError. Thanks Murphy! - Dushyant - Original Message - From: Murphy McCauley jam...@nau.edu To: Dushyant Arora dushyantaror...@gmail.com Cc: Dushyant Arora dushy...@cs.princeton.edu,