[mod_python] My template script isn't working

Anton selecter at gmail.com
Mon Aug 29 08:23:59 EDT 2005

I have read your articles. Well written :)
I think I know exactly what particular problem I am having

As it is written here http://issues.apache.org/jira/browse/MODPYTHON-7:
"This means that if one restores an old version of a file from backup,
eg., by using "mv" command from another location, it will not reload
it and it is necessary to touch the file or restart Apache."

I upgraded to mod_python 3.2.0 but anyway bug still persists.
'if mtime != oldmtime' is in apache.py though

Here is how my files are arranged:

2005/8/29, Graham Dumpleton <grahamd at dscpl.com.au>:
> On 29/08/2005, at 8:10 PM, Anton wrote:
> > But cache problems still persist. For example, I change something in
> > file, reload page - see no changes. Reload, reload... Nothing!
> > Sometimes I see old code in errors.
> >
> > Then I do /etc/init.d/apache2 restart
> > reload page in firefox (or konqueror), and see changes.
> >
> > What would you suggest to do? Upgrade to latest mod_python?
> There are known issues with module reloading in current versions of
> mod_python.
> For some background information, read:
>    http://www.dscpl.com.au/articles/modpython-002.html
>    http://www.dscpl.com.au/articles/modpython-003.html
> If you are using mod_python.publisher, some issues are avoided by
> using beta
> version 3.2 of mod_python, but most of the issues aren't going to be
> resolved until
> version 3.3 of mod_python.
> If you can describe how your files are arranged, may be able to
> better explain
> which particular problem you are having.
> Graham

More information about the Mod_python mailing list