RE: Help about debug mode and python

2012-05-23 Thread Vladimir KOLLA
adius users mailing list Subject: Re: Help about debug mode and python Phil Mayers wrote: > http://bugs.python.org/issue4434 > > Warning: reading that bug will make you either sad or angry. Probably both. > "Use the static library, closing NOTABUG". Sigh. > > I believe

Re: Help about debug mode and python

2012-05-15 Thread Alan DeKok
Phil Mayers wrote: > http://bugs.python.org/issue4434 > > Warning: reading that bug will make you either sad or angry. Probably both. > "Use the static library, closing NOTABUG". Sigh. > > I believe it's fixed in Python 2.7. > > In my code, I worked around it by dlopen()ing libpython, as per

Re: Help about debug mode and python

2012-05-15 Thread Phil Mayers
On 05/15/2012 10:12 PM, Alan DeKok wrote: I'm not sure why you need to preload the python library. It should be loaded automatically when you load the rlm_python library. It's more tricky, I'm afraid , due to some python idiocy :o( Basically, python modules (compiled as a .so) are not the

Re: Help about debug mode and python

2012-05-15 Thread Alan DeKok
Vladimir KOLLA wrote: > Thank you for your presentation at OSSIR today. You're welcome. It was nice to get to Paris for a while. > As said, I've a technical question about the debug mode and Python. > We are using python with "LD_PRELOAD=/usr/lib/python2.6.so.1" in > /etc/init.d/freeradius fi