@lists.freeradius.org
[mailto:freeradius-users-bounces+bmccann=andmore@lists.freeradius.org] On
Behalf Of Terry Simons
Sent: Wednesday, January 26, 2011 6:07 PM
To: FreeRadius users mailing list
Subject: Re: Python module/program
Is the python module catching all exceptions?
You need to make sure you
McCann, Brian wrote:
The python module is currently catching NO exceptions. There are no
try/except blocks. Right now I just have the module simply printing
something and returning “OK” for everything…just as a proof of concept.
IIRC, the python libraries do trap signals, for a variety of
Hi all. I've got freeradius working using a python library for auth, but
something interesting happened when I did. When I run radius -X, and press
CRTL+C, it no longer exits. It just returns Ready to process requests.. The
PID doesn't change, so it's not like its exiting and restarting.
Is the python module catching all exceptions?
You need to make sure you don't mask out the KeyboardInterrupt exception...
otherwise, you may prevent Control-C from being passed up the stack.
I'm not sure if that's your issue, but it sounds like it could be. It's
considered a Python best
4 matches
Mail list logo