<div dir="ltr">Hi Joćo,<div><br></div><div>Thank you for the response. However, mod_python is not reloadable on my machine:</div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
freeswitch@amil-ubuntu> reload mod_python<br>2012-08-13 13:44:48.922331 [CRIT] switch_loadable_module.c:1421 Module is not unloadable.<br>-ERR unloading module [Module is not unloadable]<br>+OK Reloading XML<br>-ERR loading module [Module already loaded]<br>
2012-08-13 13:44:49.242317 [WARNING] switch_loadable_module.c:1370 Module mod_python Already Loaded!<br>2012-08-13 13:44:49.242317 [INFO] mod_enum.c:812 ENUM Reloaded<br>2012-08-13 13:44:49.242317 [INFO] switch_time.c:1123 Timezone reloaded 530 definitions</blockquote>
</div><div><br></div><div><br></div><div>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).</div><div><br></div><div>-Amil</div><div>
<br>
<div class="gmail_quote">On Mon, Aug 13, 2012 at 2:27 PM, Joćo Mesquita <span dir="ltr"><<a href="mailto:jmesquita@freeswitch.org" target="_blank">jmesquita@freeswitch.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Reloading the mod should be enough. I imagine that mod_python respects anything that the interpreter would do as if it was running standalone.<div><br></div><div>Reloading modules is potentially hazardous and you should be careful with it: <a href="http://stackoverflow.com/questions/684171/how-to-re-import-an-updated-package-while-in-python-interpreter" target="_blank">http://stackoverflow.com/questions/684171/how-to-re-import-an-updated-package-while-in-python-interpreter</a></div>
<div><br></div><div>Regards, </div><div>Joćo Mesquita<br></div></blockquote></div></div></div>