xotetb 26.06.2012 22:39

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 270, in search
return template('search/users.html', text=text, users=users, page=page)
File "lib/utils.py", line 55, in template
return Response(template_str(template_name, **context), mimetype=mimetype)
File "lib/utils.py", line 52, in template_str
env.user.login)))
File "/home/psto/psto/web/venv/lib/python2.6/site-packages/jinja2/environment.py", line 891, in render
return self.environment.handle_exception(exc_info, True)
File "templates/web/search/users.html", line 1, in top-level template code
{% extends "web/search/index.html" %}
File "templates/web/search/index.html", line 1, in top-level template code
{% extends "web/base.html" %}
File "templates/web/base.html", line 54, in top-level template code
{% block content %}
File "templates/web/search/users.html", line 8, in block "content"
{% include "web/_users_loop.html" %}
File "templates/web/_users_loop.html", line 8, in top-level template code
<p>{% if u.about|count > 320 %}{{ u.about|truncate(317)|html }}...{% else %}{{ u.about|html }}{% endif %}</p>
TypeError: object of type 'NoneType' has no len()

1. 238328 27.06.2012 15:45

слоу

2. xotetb238328 /1 27.06.2012 16:11

Я только сейчас решил заюзать поиск по пользователям =_=

3. 238328xotetb /2 27.06.2012 16:16

поиск на псто вообще говно, сто раз уже писали артсу

Do you really want to delete ?