I think the fix is to change line 133 in pyoxidereactor.py to:
signal.signal(signal.SIGCHLD, lambda : self.callLater(0, reapAllProcesses))

-- Murphy

On Nov 15, 2010, at 10:10 AM, Ramana Reddy wrote:

> 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
> > 00001|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

Reply via email to