Posted on Nov 14, 2008 by
Quick Lion
I've installed PIL and TGCaptcha and wrote a small test page, but the captcha image doesn't display and CherryPy spits out a 404. Here's a part of the server output:
- "GET /testcaptcha HTTP/1.1" 200 1653 "" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4" 2008-11-14 20:49:47,270 cherrypy.msg INFO HTTP: Page handler: "The path '/ captcha/image/Own80rcziuRFbMoU8qPw0bIdatzXn8bN6nZ0v1gSJ1Y=' was not found." Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/CherryPy-2.3.0-py2.5.egg/cherrypy/ _cphttptools.py", line 121, in _run self.main() File "/usr/lib/python2.5/site-packages/CherryPy-2.3.0-py2.5.egg/cherrypy/ _cphttptools.py", line 256, in main page_handler, object_path, virtual_path = self.mapPathToObject(path) File "/usr/lib/python2.5/site-packages/CherryPy-2.3.0-py2.5.egg/cherrypy/ _cphttptools.py", line 326, in mapPathToObject raise cherrypy.NotFound(objectpath) NotFound: 404
Is this a config issue? Did I miss anything?
Comment #1
Posted on Nov 14, 2008 by Happy BirdWhen TG starts up, do you get a message like "Attached controller "/captcha" to the application". Or do you see any odd exceptions or errors at startup?
Comment #2
Posted on Nov 14, 2008 by Quick LionNope, I don't see that message, nor do I get any strange startup errors.
Status: New
Labels:
Type-Defect
Priority-Medium