I enabled debugging in the spyce.conf file and I set
PythonOption to point to it explicitly.
Still, modules are not reloaded when I reload the
page. Even if I modify the spy file and I can see
the changes on the reloaded browser page the imported
module is not refreshed.
The import is done in a Python chunk and not with the
I hope this is not another Windows specific problem :(
Rimon Barr wrote:
> Hi Marius,
> Spyce does not have the functionality to check the timestamp and
> conditionally re-import the Python modules. However, the Python modules will
> be re-imported if the Spyce is recompiled. i.e. if the Spyce file changes.
> To force a recompilation of the Spyce file on each hit -- that is to disable
> caching -- can be quite useful during development. You can turn on the Spyce
> engine's debug option for this. See:
> http://spyce.sourceforge.net/doc-conf_common.html, specifically:
> All the best,
> ----- Original Message -----
> From: "Marius Scurtescu" <mariuss@...>
> To: <spyce-users@...>
> Sent: Wednesday, January 29, 2003 5:49 PM
> Subject: [Spyce-users] mod_python & cacheing
>>I am writing a Python module which is imported and used
>>by a Spyce page.
>>If I make changes to the Spyce page then next time I
>>hit the page it will be reloaded properly. But if I
>>modify the imported module then reloading the Spyce
>>page in the browser won't help, I keep getting the
>>old version. The only workaround I found was to
>>It looks like Spyce (or mod_python) is caching
>>imported modules in memory. Is there a way to
>>force the cache to check the time stamp and reload