Hi João, Thank you for the response. However, mod_python is not reloadable on my machine:
freeswitch@amil-ubuntu> reload mod_python 2012-08-13 13:44:48.922331 [CRIT] switch_loadable_module.c:1421 Module is not unloadable. -ERR unloading module [Module is not unloadable] +OK Reloading XML -ERR loading module [Module already loaded] 2012-08-13 13:44:49.242317 [WARNING] switch_loadable_module.c:1370 Module mod_python Already Loaded! 2012-08-13 13:44:49.242317 [INFO] mod_enum.c:812 ENUM Reloaded 2012-08-13 13:44:49.242317 [INFO] switch_time.c:1123 Timezone reloaded 530 definitions
Any other ideas? Is there some command to just reload the dist-packages? If not, I guess this is a feature request (although not urgent). -Amil On Mon, Aug 13, 2012 at 2:27 PM, João Mesquita <jmesquita@freeswitch.org>wrote:
Reloading the mod should be enough. I imagine that mod_python respects anything that the interpreter would do as if it was running standalone.
Reloading modules is potentially hazardous and you should be careful with it: http://stackoverflow.com/questions/684171/how-to-re-import-an-updated-packag...
Regards, João Mesquita