On Nov 25, 2008, at 24:16 , Glen Gibb wrote:

Actually, this specific problem doesn't have a cure in our local branch, but one can work around it using the reactor.callFromThread call which executes a function within the reactor's thread. The example below worked just fine on our local branch and it *should* work with the noxrepo.org version too:

       def sig_install():
           def sig_handler(signal_num, handler):
               lg.debug('HUP!')

           import signal
           signal.signal(signal.SIGHUP, sig_handler)

       from twisted.internet import reactor
       reactor.callFromThread(sig_install)

HTH,
Teemu

No luck I'm afraid Teemu. Here's the error the above code generates:

Unfortunately, it seems you have to wait for the noxrepo.org repository to get the necessary updates from our local branch then...

Teemu

--


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

Reply via email to