-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 05/05/2011 10:27 AM, 田 wrote: > yes, hello.py is in sys.path. > > What's interesting is that, mostly, the browser displays " ImportError: > No module named hello", but sometimes, it is "not found". > > I am using mod_python on a Linux host without root access, so I can not > check the log of apache.
I'm running Apache2 + WSGI and have seen problems with Apache2 threads updating at different times. So depending on which thread gets called, you may be seeing results from a thread that is still running older code. I suspect that the file change / reload detection code is buggy, but since i have root access I just reload apache after making code changes. I don't know how to force the WSGI threads to reload the code if it doesn't see the updates you are making without root access. Tony -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJNwrf2AAoJEAPVzrg8OofbrvwIAI4c3IMwyNPqOjNTN8fi4iMx 2Ft5bQpvvjTIquKA8Tv/YoZSPeBP203NbqE5Qbc++h497ltljB0ozpgAEt4AXrbN JDcYq/u1WOef8iMf0SscOtkqLlaL/p5TKoRypuXdITDW5kN+rgq8ivQu15v67Kig syagf6FMEd8MPeDOmtsTr159sfd9qvPxFGuaWkSzg2ndsFYFXs6BN8OO34I/ut4G Rmx9lidbbPTboxnt/Cs2F5qrCkIQXKsausWk2TnJArcttLs7AbweK1VQ7dVSN/g7 KyqifQeF2Vv4vVMDuQ8VonH8c3OUdZjVwwVhQDUX1mZ9+zd2Z/sbhOgTx3cx1xM= =mFRb -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to webpy@googlegroups.com. To unsubscribe from this group, send email to webpy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/webpy?hl=en.