Have you see this http://fisheye.freeswitch.org/browse/FreeSWITCH/src/mod/languages/mod_python/python_example.py?r=9052
/b On Jan 28, 2009, at 4:31 PM, Brian Deacon wrote: > Greetings, > > Actually any advice on how to test or diagnose my mod_python code > would > be appreciated. For the most part I've been trying to keep as much of > my code as possible separated from the actual interaction with > freeswitch so that it's separately testable. But I will occasionally > run into: > [ERR] mod_python.c:121 eval_some_python() Error importing module > > This latest is, I think some missing modules in site_packages, but > it'd > be nice to get some output hinting at that. So nice would be able to > have a mocked out _freeswitch so the rest of my unit test stuff could > run. Or failing that, is there a switch I can flip to get some of the > python errors output to the log? > > TIA, > Brian > > > _______________________________________________ > Freeswitch-users mailing list > [email protected] > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org _______________________________________________ Freeswitch-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
