furryconflictarts 08.01.2012 11:28

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/tags.py", line 44, in tag
posts=posts, page=page, users=users)
File "lib/utils.py", line 53, in template
return Response(template_str(template_name, **context), mimetype=mimetype)
File "lib/utils.py", line 50, in template_str
user_agent=env.user_agent)
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/tag.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/tag.html", line 34, in block "content"
{% include "web/_posts_loop.html" %}
File "templates/web/_posts_loop.html", line 29, in top-level template code
<a href=" http://{{ p.login }}.{{ settings.host }}/{{ p.id|id_encode }}" title="{% trans %}Add comment{% endtrans %}"><img src="/img/reply.png" alt="re"/>{{ p.comments|plural("comment, comments, comments", "add comment") }}</a>
File "lib/utils.py", line 404, in plural_filter
return plural(*args, **kwargs)
File "lib/utils.py", line 400, in plural
return get_plural(n, v, absence=a)
File "/home/psto/psto/web/venv/lib/python2.6/site-packages/pytils/third/aspn426123.py ", line 362, in takes_invocation_proxy
return method(*args, **kwargs)
File "/home/psto/psto/web/venv/lib/python2.6/site-packages/pytils/numeral.py", line 202, in get_plural
return u"%d %s" % (amount, choose_plural(amount, variants))
File "/home/psto/psto/web/venv/lib/python2.6/site-packages/pytils/third/aspn426123.py ", line 362, in takes_invocation_proxy
return method(*args, **kwargs)
File "/home/psto/psto/web/venv/lib/python2.6/site-packages/pytils/numeral.py", line 167, in choose_plural
check_positive(amount)
File "/home/psto/psto/web/venv/lib/python2.6/site-packages/pytils/third/aspn426123.py ", line 362, in takes_invocation_proxy
return method(*args, **kwargs)
File "/home/psto/psto/web/venv/lib/python2.6/site-packages/pytils/utils.py", line 62, in check_positive
raise ValueError("Value must be positive or zero, not %s" % str(value))
ValueError: Value must be positive or zero, not -1

Вот этим меня угостил твой псач при попытке пошарить свои теги

Do you really want to delete ?