Hello all,

I've got an issue with web.py or Python caching my files and I wonder
if anyone has had this problem before.

Say I've got a correctly working website and I upload some also
working changes, a change to one of the Python files and a change to
one of the html template file (I'm using web.pys default Templator).
When I try to access my site after the upload I start getting internal
server errors and looking at the logs I can see that it's because the
template is expecting a variable that isn't set, ie: the change to the
Python file I've just uploaded. So it looks like the html is Ok, but
for some reason it's trying to use the old version of the Python file.
If I refresh  1 to 3 times the error always disappears and I can see
the changes I've uploaded.

As far as I know this doesn't happen on my development servers where I
have web.reloader set.

I've had this issue with both mod_wsgi and mod_python and on both
Ubuntu Server and Fedora Core 4.

I'd really appreciate any pointers on why this could be happening or
how to solve this problem, I've want to launch a site soon and this is
pretty much the only thing holding me back. Well, that and my
production server died, but that's something completely different.

Regards,
Hermann Käser
http://theragingche.com/
http://semicir.cl/user/hermzz

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to