本帖最后由 伯纳乌 于 2009-10-19 09:42 编辑
<type 'exceptions.IndexError'> Python 2.5.1: /usr/local/bin/python2.5
Mon Oct 19 09:27:02 2009
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/usr/local/lib/python2.5/site-packages/flup-1.0.1-py2.5.egg/flup/server/scgi_base.py in run(self=<flup.server.scgi_base.Request object at 0x2a3d0b6c>)
183
184 try:
185 self._conn.server.handler(self)
186 except:
187 self.logger.exception('Exception caught from handler')
self = <flup.server.scgi_base.Request object at 0x2a3d0b6c>, self._conn = <flup.server.scgi_base.Connection object at 0x2a3d084c>, self._conn.server = <flup.server.scgi.WSGIServer object at 0x2894316c>, self._conn.server.handler = <bound method WSGIServer.handler of <flup.server.scgi.WSGIServer object at 0x2894316c>>
/usr/local/lib/python2.5/site-packages/flup-1.0.1-py2.5.egg/flup/server/scgi_base.py in handler(self=<flup.server.scgi.WSGIServer object at 0x2894316c>, request=<flup.server.scgi_base.Request object at 0x2a3d0b6c>)
454 try:
455 try:
456 result = self.application(environ, start_response)
457 try:
458 for data in result:
result = None, self = <flup.server.scgi.WSGIServer object at 0x2894316c>, self.application = <paste.cascade.Cascade object at 0x2975874c>, environ = {'CONTENT_LENGTH': '0', 'DOCUMENT_ROOT': '/usr/local/www/ligdata/51ktu.xiaok.com/htdocs/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET |