После нажатия Enter в пустой поисковой строке появляется:
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.6/cherrypy/wsgiserver/__init__.py", line 1174, in communicate
req.respond()
File "/usr/lib/pymodules/python2.6/cherrypy/wsgiserver/__init__.py", line 544, in respond
self._respond()
File "/usr/lib/pymodules/python2.6/cherrypy/wsgiserver/__init__.py", line 556, in _respond
response = self.wsgi_app(self.environ, self.start_response)
File "/home/psto/psto/web/venv/lib/python2.6/site-packages/werkzeug/local.py", line 234, in application
return ClosingIterator(app(environ, start_response), self.cleanup)
File "run.py", line 75, in __call__
catch_ http_exceptions = env.settings.debug
File "/home/psto/psto/web/venv/lib/python2.6/site-packages/werkzeug/routing.py", line 1171, in dispatch
return view_func(endpoint, args)
File "run.py", line 74, in <lambda>
lambda view, vars: views[view](**vars),
File "/home/psto/psto/web/views/__init__.py", line 203, in search
ids = map(lambda r: str(r['id']), res[0]['matches'])
IndexError: list index out of range
запилите, а?
silvery
14.06.2011 07:37 Miranda
Do you really want to delete ?