0x2207 06.04.2012 20:12 epsilon/psi

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 38, in index
posts=posts)
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/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/index.html", line 74, in block "content"
<a href=" http://{{ p.login }}.{{ settings.host }}/{{ p.id|id_encode }}" title="{% trans %}Add acomment{% endtrans %}"><img src="/img/reply.png" alt="re"/>{{ p.comments|plural("comment, comments, comments", "add acomment") }}</a>
File "lib/utils.py", line 413, in plural_filter
return plural(*args, **kwargs)
File "lib/utils.py", line 409, 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 -4

1. arts 06.04.2012 20:59

У меня не воспроизводится. Починилось?

2. 0x2207arts /1 07.04.2012 05:40

сейчас вроде да

Do you really want to delete ?