[Freeswitch-dev] [patch] Better Python Debug Output

STIEG Heimo Heimo.STIEG at nextiraone.eu
Mon Oct 24 12:44:28 MSD 2011


Hello,

I've modified the mod_python module to create meaninfull Error Messages:

Instead of this:
2011-10-19 08:28:29.356605 [ERR] mod_python.c:224 Error importing module

We have now this:
2011-10-19 08:28:29.356605 [ERR] mod_python.c:224 Error importing module
2011-10-19 08:28:29.356605 [ERR] mod_python.c:156 Python Error in script nxo_transferifgroup: <type 'exceptions.AttributeError'>: 'module' object has no attribute 'argv'
Exception: None

Traceback:
File: /usr/local/freeswitch/scripts/nxo_transferifgroup.py
Line: 6

Can someone import the patch to the trunk please?
http://jira.freeswitch.org/browse/FS-3615

Regards
Heimo Stieg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20111024/cc72739e/attachment-0001.html 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mod_python_new.txt
Url: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20111024/cc72739e/attachment-0001.txt 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-dev mailing list