This looks like a bug. In webserver.py around line 268, change the two update_iff_changed lines...
if arr[0] == "ssl_port": update_iff_changed(p, 'ssl_port', [int(arr[1])]) elif arr[0] == "port": update_iff_changed(p, 'port', [int(arr[1])]) (You're inserting two pairs of brackets.) -- Murphy On Sep 15, 2011, at 5:13 PM, Candy Floss wrote: > Thanks for the reply. > > I opened a browser and started the nox_core as given below. This is the error > I got. > > /nox/build/src# ./nox_core -v -v webserver=port=8080 dummywebpage > 00001|nox|INFO:Starting nox_core (/nox/build/src/.libs/lt-nox_core) > > 00002|pyrt|DBG:Loading a component description file > 'nox/coreapps/pyrt/meta.json'. > > 00003|pyrt|DBG:Loading a component description file > 'nox/coreapps/testharness/meta.json'. > > 00004|pyrt|DBG:Loading a component description file > 'nox/coreapps/simple_py_app/meta.json'. > > 00005|pyrt|DBG:Loading a component description file > 'nox/coreapps/simple_c_py_app/meta.json'. > > 00006|pyrt|DBG:Loading a component description file > 'nox/coreapps/coretests/meta.json'. > > 00007|pyrt|DBG:Loading a component description file > 'nox/coreapps/switch/meta.json'. > > 00008|pyrt|DBG:Loading a component description file > 'nox/coreapps/messenger/meta.json'. > > 00009|pyrt|DBG:Loading a component description file > 'nox/coreapps/examples/meta.json'. > > 00010|pyrt|DBG:Loading a component description file > 'nox/coreapps/examples/t/meta.json'. > > 00011|pyrt|DBG:Loading a component description file > 'nox/coreapps/hub/meta.json'. > > 00012|pyrt|DBG:Loading a component description file > 'nox/coreapps/snmp/meta.json'. > > 00013|pyrt|DBG:Loading a component description file > 'nox/coreapps/simple_c_app/meta.json'. > > 00014|pyrt|DBG:Loading a component description file > 'nox/netapps/discovery/meta.json'. > > 00015|pyrt|DBG:Loading a component description file > 'nox/netapps/monitoring/meta.json'. > > 00016|pyrt|DBG:Loading a component description file > 'nox/netapps/flow_fetcher/meta.json'. > > 00017|pyrt|DBG:Loading a component description file > 'nox/netapps/tablog/meta.json'. > > 00018|pyrt|DBG:Loading a component description file > 'nox/netapps/networkstate/meta.json'. > > 00019|pyrt|DBG:Loading a component description file > 'nox/netapps/switchstats/meta.json'. > > 00020|pyrt|DBG:Loading a component description file > 'nox/netapps/data/meta.json'. > > 00021|pyrt|DBG:Loading a component description file > 'nox/netapps/user_event_log/meta.json'. > > 00022|pyrt|DBG:Loading a component description file > 'nox/netapps/storage/meta.json'. > > 00023|pyrt|DBG:Loading a component description file > 'nox/netapps/storage/t/meta.json'. > > 00024|pyrt|DBG:Loading a component description file > 'nox/netapps/hoststate/meta.json'. > > 00025|pyrt|DBG:Loading a component description file > 'nox/netapps/lavi/meta.json'. > > 00026|pyrt|DBG:Loading a component description file > 'nox/netapps/tests/meta.json'. > > 00027|pyrt|DBG:Loading a component description file > 'nox/netapps/spanning_tree/meta.json'. > > 00028|pyrt|DBG:Loading a component description file > 'nox/netapps/flowtracer/meta.json'. > > 00029|pyrt|DBG:Loading a component description file > 'nox/netapps/routing/meta.json'. > > 00030|pyrt|DBG:Loading a component description file > 'nox/netapps/authenticator/meta.json'. > > 00031|pyrt|DBG:Loading a component description file > 'nox/netapps/switch_management/meta.json'. > > 00032|pyrt|DBG:Loading a component description file > 'nox/netapps/bindings_storage/meta.json'. > > 00033|pyrt|DBG:Loading a component description file > 'nox/netapps/bindings_storage/t/meta.json'. > > 00034|pyrt|DBG:Loading a component description file > 'nox/netapps/topology/meta.json'. > > 00035|pyrt|DBG:Loading a component description file > 'nox/netapps/route/meta.json'. > > 00036|pyrt|DBG:Loading a component description file > 'nox/webapps/webservice/meta.json'. > > 00037|pyrt|DBG:Loading a component description file > 'nox/webapps/miscws/meta.json'. > > 00038|pyrt|DBG:Loading a component description file > 'nox/webapps/webserver/meta.json'. > > 00039|pycomponent|DBG:Importing Python module nox.webapps.webserver.webserver > > 00040|nox|DBG:Application installation report: > > 00041|nox|DBG:webserver: > > Current state: ERROR > > Required state: INSTALLED > > Dependencies: 'python' OK > > Error: > > cannot install the Python component: Traceback (most recent > call last): > > File "./nox/webapps/webserver/webserver.py", line 320, in > install > > return self.reconfigure() > > File "./nox/webapps/webserver/webserver.py", line 360, in > reconfigure > > self.reconfigure_listeners(0, self.defaults) > > File "./nox/webapps/webserver/webserver.py", line 383, in > reconfigure_listeners > > if len(list) > 0: self.siteConfig[key] = list[0] > > TypeError: object of type 'int' has no len() > > > > 00042|nox|DBG:built-in event dispatcher: > > Current state: INSTALLED > > Required state: INSTALLED > > Dependencies: > > > 00043|nox|DBG:built-in DSO deployer: > > Current state: INSTALLED > > Required state: INSTALLED > > Dependencies: > > > 00044|nox|DBG:python: > > Current state: INSTALLED > > Required state: INSTALLED > > Dependencies: > > > 00045|nox|ERR:Cannot change the state of 'webserver' to INSTALLED: > > 'webserver' ran into an error: > > cannot install the Python component: Traceback (most recent call > last): > > File "./nox/webapps/webserver/webserver.py", line 320, in install > > return self.reconfigure() > > File "./nox/webapps/webserver/webserver.py", line 360, in > reconfigure > > self.reconfigure_listeners(0, self.defaults) > > File "./nox/webapps/webserver/webserver.py", line 383, in > reconfigure_listeners > > if len(list) > 0: self.siteConfig[key] = list[0] > > TypeError: object of type 'int' has no len() > > > > > > > > Thanks, > > Candy > > > > On Thu, Sep 15, 2011 at 4:15 PM, Murphy McCauley <jam...@nau.edu> wrote: > You do have to actually open up a browser and look at it. I think it > defaults to port 80, which you probably can't use unless you're root. If you > want to change it... I can't remember exactly, but I think maybe... nox_core > -v -v webserver=port=8080 dummywebpage would do it. > > (You may want to use -v -v to make sure you get any debugging messages.) > > -- Murphy > > On Sep 15, 2011, at 4:09 PM, Candy Floss wrote: > > > I tried starting NOX web interface with the command > > ./nox_core -v dummywebpage > > > > It gave prints Loading component and listed some modules. Last statement was > > 0043|nox|INFO:nox bootstrap compelete > > > > After that i did not see any web interface opening. > > > > Thanks, > > Candy > > > > _______________________________________________ > > nox-dev mailing list > > 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