Installed the latest version osqa.
When open the page "Questions", "Unanswered" I get this error:
Original Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/django/template/debug.py", line 71, in render_node
result = node.render(context)
File "/usr/lib/python2.6/site-packages/django/templatetags/i18n.py", line 80, in render
result = translation.ungettext(singular, plural, count)
File "/usr/lib/python2.6/site-packages/django/utils/translation/__init__.py", line 65, in ungettext
return real_ungettext(singular, plural, number)
File "/usr/lib/python2.6/site-packages/django/utils/translation/trans_real.py", line 320, in ungettext
return do_ntranslate(singular, plural, number, 'ungettext')
File "/usr/lib/python2.6/site-packages/django/utils/translation/trans_real.py", line 302, in do_ntranslate
return getattr(t, translation_function)(singular, plural, number)
File "/usr/lib/python2.6/gettext.py", line 409, in ungettext
tmsg = self._catalog[(msgid1, self.plural(n))]
File "<string>", line 1, in <lambda>
TypeError: unsupported operand type(s) for %: 'Page' and 'int'
Patch is available here.
asked
01 Apr '10, 08:06
ekalinin
116●1●3●5
accept rate:
25%
The patch was applied here http://github.com/OSQA/osqa/commit/64e0dd8e953b950f80a325cbe5e56fb38dfb9282 . The stupid git shows the entire file as modified :-P . Could you create an account at jira.osqa.net and use it for this kind of issues?
Ok. Thanks. Created an account in Jira ;).