Refer http://groups.google.com/group/webpy/browse_thread/thread/cd441cef104894de/ff509d8395e1e73b?lnk=gst&q=jpscaletti#ff509d8395e1e73b
If you are repeatedly getting 'not found' error on using the webpy_auth code at http://jpscaletti.com/webpy_auth/ this is because through some strangeness (not sure if this is intentional; it shouldnt be!) web.py doesnt use dynamically added mappings (via app.add_mapping()) if you dont set that when you create the app. as per (http://www.mail-archive.com/[email protected]/ msg03516.html) The solution is to add autoreload=False to the app app = web.application(urls, locals(), autoreload=False) Took me sometime to find it out. I hope this helps someone else. Interestingly I got a raise AttributeError, "No template named " + name after I added the autoreload clause ... while I am quite sure that the cause must be different ... but if someone knows otherwise please let me know Cheers PK -- 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.
