Time 2007/04/26 12:57:45.572 GMT+0530 User Name (User Id) Anonymous User (None) Request URL http://localhost:8119/myartinfo/z_scripts/captcha_renderer Exception Type AttributeError Exception Value 'file' object has no attribute 'startswith' Traceback (innermost last): * Module ZPublisher.Publish, line 119, in publish * Module ZPublisher.mapply, line 88, in mapply * Module ZPublisher.Publish, line 42, in call_object * Module Shared.DC.Scripts.Bindings, line 313, in __call__ * Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec * Module Products.PythonScripts.PythonScript, line 327, in _exec * Module None, line 1, in captcha_renderer Line 1 * Module Products.ExternalMethod.ExternalMethod, line 231, in __call__ __traceback_info__: ((ZServerHTTPResponse(''), '99574747002ecee474db6a9a1decb1faa92d6457'), {}, None) * Module /home/joerg/zope/myartinfo-instance/Extensions/captcha.py, line 780, in render_captcha * Module /home/joerg/zope/myartinfo-instance/Extensions/captcha.py, line 226, in render * Module /home/joerg/zope/myartinfo-instance/Extensions/captcha.py, line 247, in render_layers * Module /home/joerg/zope/myartinfo-instance/Extensions/captcha.py, line 416, in render * Module Image, line 1730, in open * Module App.ImageFile, line 41, in __init__ * Module posixpath, line 60, in join AttributeError: 'file' object has no attribute 'startswith' Display traceback as text REQUEST form digest '99574747002ecee474db6a9a1decb1faa92d6457' cookies lazy items SESSION > other TraversalRequestNameStack [] AUTHENTICATED_USER URL 'http://localhost:8119/myartinfo/z_scripts/captcha_renderer' SERVER_URL 'http://localhost:8119' AUTHENTICATION_PATH '' traverse_subpath [] digest '99574747002ecee474db6a9a1decb1faa92d6457' PUBLISHED AcceptLanguage ACTUAL_URL 'http://localhost:8119/myartinfo/z_scripts/captcha_renderer' URL0 http://localhost:8119/myartinfo/z_scripts/captcha_renderer URL1 http://localhost:8119/myartinfo/z_scripts URL2 http://localhost:8119/myartinfo URL3 http://localhost:8119 BASE0 http://localhost:8119 BASE1 http://localhost:8119 BASE2 http://localhost:8119/myartinfo BASE3 http://localhost:8119/myartinfo/z_scripts BASE4 http://localhost:8119/myartinfo/z_scripts/captcha_renderer environ HTTP_ACCEPT 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5' HTTP_ACCEPT_CHARSET 'ISO-8859-1,utf-8;q=0.7,*;q=0.7' HTTP_USER_AGENT 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.11) Gecko/20070217 Iceape/1.0.8 (Debian-1.0.8-4)' SERVER_NAME '0.0.0.0' GATEWAY_INTERFACE 'CGI/1.1' channel.creation_time 1177588645 SERVER_SOFTWARE 'Zope/(Zope 2.10.3-final, python 2.4.4, linux2) ZServer/1.1' REMOTE_ADDR '127.0.0.1' HTTP_ACCEPT_LANGUAGE 'en-us,en;q=0.5' SCRIPT_NAME '' REQUEST_METHOD 'GET' HTTP_HOST 'localhost:8119' HTTP_KEEP_ALIVE '300' SERVER_PORT '8119' SERVER_PROTOCOL 'HTTP/1.1' QUERY_STRING 'digest=99574747002ecee474db6a9a1decb1faa92d6457' PATH_TRANSLATED '/myartinfo/z_scripts/captcha_renderer' CONNECTION_TYPE 'keep-alive' HTTP_ACCEPT_ENCODING 'gzip,deflate' PATH_INFO '/myartinfo/z_scripts/captcha_renderer'