[sr-dev] App_python in 4.2 - fail

Olle E. Johansson oej at edvina.net
Thu Nov 13 10:01:40 CET 2014


Friends,

app_python in 4.2 fails to initialize on both OS/X, FreeBSD and Centos 6 Linux.

 0(18630) ERROR: app_python [python_support.c:132]: python_handle_exception(): mod_init: Unhandled exception in the Python code:
AttributeError: init_modules() has failed
 0(18630) ERROR: <core> [sr_module.c:968]: init_mod(): Error while initializing module app_python (/usr/local/lib64/kamailio/modules/app_python.so)
ERROR: error while initializing modules


This is before even trying to parse the python file. We've tested with FreeBSD 10 /Python 2.7.8, OS/X with Python 2.7.3, Centos 6 with Python 2.6.6

I will try to use my Kamailio Time Machine (TM) and see if we can go back in releases and see what happened. We had a running Kamailio 3.3.2 on FreeBSD with app_python that we tried to update.

If you have any hints, please let me know. 

I think we need to call for volunteers to build some sort of test rig for new releases.

/O


More information about the sr-dev mailing list