[nox-dev] Error while running nox_core
Have anyone implemented a fix for http://noxrepo.org/pipermail/nox-dev/2010-November/006685.html? I am still experiencing the issue. Murphy's fix works fine for me but I would like to have it fixed in stable branch. Murphy fix: I think the fix is to change line 133 in pyoxidereactor.py to: signal.signal(signal.SIGCHLD, lambda : self.callLater(0, reapAllProcesses)) regards M. Galkiewicz ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev
Re: [nox-dev] Error while running nox_core
That fix is actually buggy. :) A better one is in the destiny branch, which is very, very close to being the stable branch. -- Murphy On Jan 21, 2012, at 11:44 AM, Maciej Gałkiewicz wrote: Have anyone implemented a fix for http://noxrepo.org/pipermail/nox-dev/2010-November/006685.html? I am still experiencing the issue. Murphy's fix works fine for me but I would like to have it fixed in stable branch. Murphy fix: I think the fix is to change line 133 in pyoxidereactor.py to: signal.signal(signal.SIGCHLD, lambda : self.callLater(0, reapAllProcesses)) regards M. Galkiewicz ___ 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
Re: [nox-dev] Error while running nox_core
What distro are you using, and which version of twisted do you have installed? I have python-twisted-core 10.0.0-2ubuntu2, which I believe is the latest in Ubuntu 10.04. This function is defined in it (in the file /usr/lib/python2.6/dist-packages/twisted/internet/base.py). -- Murphy On Nov 15, 2010, at 9:40 AM, Ramana Reddy wrote: Hi Everyone, I got the following error after running the following command: ./nox_core -i ptcp:6633 switch switch_management hostip hosttracker monitoring jsonmessenger NOX 0.9.0(zaku)~full~beta (nox_core), compiled Nov 15 2010 21:36:36 Compiled with OpenFlow 0x01 1|nox|ERR:Cannot change the state of 'python' to INSTALLED: 'python' ran into an error: Unable to construct a Python component: Traceback (most recent call last): File ./nox/coreapps/pyrt/pyoxidereactor.py, line 364, in instance return pyoxidereactor(ctxt) File ./nox/coreapps/pyrt/pyoxidereactor.py, line 133, in __init__ signal.signal(signal.SIGCHLD, self._handleSigchld) AttributeError: 'pyoxidereactor' object has no attribute '_handleSigchld' Thanks, Ramana ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
Re: [nox-dev] Error while running nox_core
Hi, Version is : 10.1.0-2 Ubuntu 10.10. and also verified the function definition and is defined in /usr/lib/python2.6/dist-packages/twisted/internet/base.py This is the output of find command. $ sudo find / -name base.py /usr/lib/python2.6/dist-packages/twisted/persisted/journal/base.py /usr/lib/python2.6/dist-packages/twisted/internet/base.py /usr/lib/python2.6/dist-packages/apt/progress/base.py But I do not get clue why that error is coming. Any help is appreciated. Thanks, Ramana. On Mon, Nov 15, 2010 at 11:27 PM, Murphy McCauley jam...@nau.edu wrote: What distro are you using, and which version of twisted do you have installed? I have python-twisted-core 10.0.0-2ubuntu2, which I believe is the latest in Ubuntu 10.04. This function is defined in it (in the file /usr/lib/python2.6/dist-packages/twisted/internet/base.py). -- Murphy On Nov 15, 2010, at 9:40 AM, Ramana Reddy wrote: Hi Everyone, I got the following error after running the following command: ./nox_core -i ptcp:6633 switch switch_management hostip hosttracker monitoring jsonmessenger NOX 0.9.0(zaku)~full~beta (nox_core), compiled Nov 15 2010 21:36:36 Compiled with OpenFlow 0x01 1|nox|ERR:Cannot change the state of 'python' to INSTALLED: 'python' ran into an error: Unable to construct a Python component: Traceback (most recent call last): File ./nox/coreapps/pyrt/pyoxidereactor.py, line 364, in instance return pyoxidereactor(ctxt) File ./nox/coreapps/pyrt/pyoxidereactor.py, line 133, in __init__ signal.signal(signal.SIGCHLD, self._handleSigchld) AttributeError: 'pyoxidereactor' object has no attribute '_handleSigchld' Thanks, Ramana ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
Re: [nox-dev] Error while running nox_core
I had this problem a long time ago, right when an OF 1.0 branch became usable, but before Zaku was the official branch. Not sure if this still applies with the current version of nox. Anyway, someone had a similar problem, and the fix I suggested to them is below... I had this issue before after doing a fresh install on a Debian sid machine using the openflow-1.0 branch. What I found is, the function _handleSigchld has been moved-around/removed from more recent versions of TwistedPython. The fix I found was to go grab Twisted 8.0 and install it. I haven't tested the controller in a production setup yet, but the source compiles and I can run a simple switch without getting any error messages. Anyway, maybe that will be of some help. Good luck... Tim Upthegrove Georgia Institute of Technology College of Computing (406)-437-1493 - Original Message - Hi, Version is : 10.1.0-2 Ubuntu 10.10. and also verified the function definition and is defined in /usr/lib/python2.6/dist-packages/twisted/internet/base.py This is the output of find command. $ sudo find / -name base.py /usr/lib/python2.6/dist-packages/twisted/persisted/journal/base.py /usr/lib/python2.6/dist-packages/twisted/internet/base.py /usr/lib/python2.6/dist-packages/apt/progress/base.py But I do not get clue why that error is coming. Any help is appreciated. Thanks, Ramana. On Mon, Nov 15, 2010 at 11:27 PM, Murphy McCauley jam...@nau.edu wrote: What distro are you using, and which version of twisted do you have installed? I have python-twisted-core 10.0.0-2ubuntu2, which I believe is the latest in Ubuntu 10.04. This function is defined in it (in the file /usr/lib/python2.6/dist-packages/twisted/internet/base.py). -- Murphy On Nov 15, 2010, at 9:40 AM, Ramana Reddy wrote: Hi Everyone, I got the following error after running the following command: ./nox_core -i ptcp:6633 switch switch_management hostip hosttracker monitoring jsonmessenger NOX 0.9.0(zaku)~full~beta (nox_core), compiled Nov 15 2010 21:36:36 Compiled with OpenFlow 0x01 1|nox|ERR:Cannot change the state of 'python' to INSTALLED: 'python' ran into an error: Unable to construct a Python component: Traceback (most recent call last): File ./nox/coreapps/pyrt/pyoxidereactor.py, line 364, in instance return pyoxidereactor(ctxt) File ./nox/coreapps/pyrt/pyoxidereactor.py, line 133, in __init__ signal.signal(signal.SIGCHLD, self._handleSigchld) AttributeError: 'pyoxidereactor' object has no attribute '_handleSigchld' Thanks, Ramana ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
Re: [nox-dev] Error while running nox_core
Hi, Thanks for your quick reply, now its not giving the previous error, but when I run the same command the following error is coming. ./nox_core -i ptcp:6633 switch switch_management hostip hosttracker monitoring jsonmessenger NOX 0.9.0(zaku)~full~beta (nox_core), compiled Nov 16 2010 00:36:32 Compiled with OpenFlow 0x01 1|nox|ERR:Application 'monitoring' description not found. Even the same error came when I run $./nox_core tests NOX 0.9.0(zaku)~full~beta (nox_core), compiled Nov 16 2010 00:36:32 Compiled with OpenFlow 0x01 1|nox|ERR:Application 'pytstorage' description not found. But this was not the case, when I just listen the port no 6633: $./nox_core -i ptcp:6633 No error is coming, so it seems that the error might be in the respective applications. If that is the case, how can I fix those. Thanks, Ramana. On Tue, Nov 16, 2010 at 12:47 AM, Murphy McCauley jam...@nau.edu wrote: Hah, I just missed this. :) Yeah, I think this should work, though the fix I just posted doesn't require changing anything outside NOX. -- Murphy On Nov 15, 2010, at 11:07 AM, Srini Seetharaman wrote: There's another solution online: http://www.mail-archive.com/nox-dev@noxrepo.org/msg01448.html On Mon, Nov 15, 2010 at 9:40 AM, Ramana Reddy gtvrre...@gmail.com wrote: Hi Everyone, I got the following error after running the following command: ./nox_core -i ptcp:6633 switch switch_management hostip hosttracker monitoring jsonmessenger NOX 0.9.0(zaku)~full~beta (nox_core), compiled Nov 15 2010 21:36:36 Compiled with OpenFlow 0x01 1|nox|ERR:Cannot change the state of 'python' to INSTALLED: 'python' ran into an error: Unable to construct a Python component: Traceback (most recent call last): File ./nox/coreapps/pyrt/pyoxidereactor.py, line 364, in instance return pyoxidereactor(ctxt) File ./nox/coreapps/pyrt/pyoxidereactor.py, line 133, in __init__ signal.signal(signal.SIGCHLD, self._handleSigchld) AttributeError: 'pyoxidereactor' object has no attribute '_handleSigchld' Thanks, Ramana ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
Re: [nox-dev] Error while running nox_core
monitoring is currently only in the destiny branch, so the way to fix that is really to use destiny. tests doesn't currently work. As far as I know, nobody has really used it for quite some time. You can probably get it to at least sort of work by removing dependencies that don't exist in the current repo from its meta.json file. These include pytstorage, noxinfows, and tstorage-server at least. -- Murphy On Tue, 2010-11-16 at 01:16 +0530, Ramana Reddy wrote: Hi, Thanks for your quick reply, now its not giving the previous error, but when I run the same command the following error is coming. ./nox_core -i ptcp:6633 switch switch_management hostip hosttracker monitoring jsonmessenger NOX 0.9.0(zaku)~full~beta (nox_core), compiled Nov 16 2010 00:36:32 Compiled with OpenFlow 0x01 1|nox|ERR:Application 'monitoring' description not found. Even the same error came when I run $./nox_core tests NOX 0.9.0(zaku)~full~beta (nox_core), compiled Nov 16 2010 00:36:32 Compiled with OpenFlow 0x01 1|nox|ERR:Application 'pytstorage' description not found. But this was not the case, when I just listen the port no 6633: $./nox_core -i ptcp:6633 No error is coming, so it seems that the error might be in the respective applications. If that is the case, how can I fix those. Thanks, Ramana. On Tue, Nov 16, 2010 at 12:47 AM, Murphy McCauley jam...@nau.edu wrote: Hah, I just missed this. :) Yeah, I think this should work, though the fix I just posted doesn't require changing anything outside NOX. -- Murphy On Nov 15, 2010, at 11:07 AM, Srini Seetharaman wrote: There's another solution online: http://www.mail-archive.com/nox-dev@noxrepo.org/msg01448.html On Mon, Nov 15, 2010 at 9:40 AM, Ramana Reddy gtvrre...@gmail.com wrote: Hi Everyone, I got the following error after running the following command: ./nox_core -i ptcp:6633 switch switch_management hostip hosttracker monitoring jsonmessenger NOX 0.9.0(zaku)~full~beta (nox_core), compiled Nov 15 2010 21:36:36 Compiled with OpenFlow 0x01 1|nox|ERR:Cannot change the state of 'python' to INSTALLED: 'python' ran into an error: Unable to construct a Python component: Traceback (most recent call last): File ./nox/coreapps/pyrt/pyoxidereactor.py, line 364, in instance return pyoxidereactor(ctxt) File ./nox/coreapps/pyrt/pyoxidereactor.py, line 133, in __init__ signal.signal(signal.SIGCHLD, self._handleSigchld) AttributeError: 'pyoxidereactor' object has no attribute '_handleSigchld' Thanks, Ramana ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org