I think its standard tag. I have not added any tags in this project and this string (result_list) does not exist in any of the pluggable stuff (tagging, tinymce, sorl thumbnail). This string does exist in django/contrib/admin/templatetags/admin_list.py though.
Alan On Apr 15, 9:07 pm, Bill Freeman <ke1g...@gmail.com> wrote: > The problem is reported at line 78 of the template, which uses a tag > named "result_list". That isn't one of the standard tags. Where does > it come from? Can you provide the source code? > > Bill > > > > On Thu, Apr 15, 2010 at 1:59 PM, zayatzz <alan.kesselm...@gmail.com> wrote: > > Header is like that: > > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http:// > >www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> > > <html xmlns="http://www.w3.org/1999/xhtml"> > > <head> > > <title></title> > > <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> > > > and database is: > > MySQL charset: UTF-8 Unicode (utf8) > > and collation is utf8_unicode_ci > > > Whole traceback is: > > TemplateSyntaxError at /admin/retsept/vote/ > > Caught an exception while rendering: ('ascii', 'Sea\xc5\xa1a\xc5\xa1l > > \xc3\xb5kk ', 3, 4, 'ordinal not in range(128)') > > Request Method: GET > > Request URL: http://DOMAIN/admin/retsept/vote/ > > Exception Type: TemplateSyntaxError > > Exception Value: > > Caught an exception while rendering: ('ascii', 'Sea\xc5\xa1a\xc5\xa1l > > \xc3\xb5kk ', 3, 4, 'ordinal not in range(128)') > > Exception Location: /www/apache/domains/HOST/htdocs/django/ > > Django-1.1.1/django/template/debug.py in render_node, line 81 > > Python Executable: /usr/local/bin/python > > Python Version: 2.6.4 > > Python Path: ['/www/apache/domains/HOST/htdocs/grill', '/www/apache/ > > domains/HOST/htdocs', '/www/apache/domains/HOST/htdocs/django/django- > > tagging-autocomplete-0.3.1', '/www/apache/domains/HOST/htdocs/django/ > > tagging-trunk', '/www/apache/domains/HOST/htdocs/django/django- > > tinymce-1.5', '/www/apache/domains/HOST/htdocs/django/sorl- > > thumbnail-3.2.5', '/www/apache/domains/HOST/htdocs/django/ > > Django-1.1.1', '/www/apache/domains/HOST/htdocs/cgi-bin', '/usr/local/ > > lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg', '/usr/local/ > > lib/python2.6/site-packages/zope.interface-3.5.2-py2.6-freebsd-7.2- > > STABLE-amd64.egg', '/usr/local/lib/python2.6/site-packages/flup-1.0.2- > > py2.6.egg', '/usr/local/lib/python2.6/site-packages/SQLAlchemy-0.5.5- > > py2.6.egg', '/usr/local/lib/python2.6/site-packages/nose-0.10.4- > > py2.6.egg', '/usr/local/lib/python2.6/site-packages/ > > python_dateutil-1.4.1-py2.6.egg', '/usr/local/lib/python2.6/site- > > packages/pytz-2009r-py2.6.egg', '/usr/local/lib/python2.6/site- > > packages/M2Crypto-0.20-py2.6-freebsd-7.2-STABLE-amd64.egg', '/usr/ > > local/lib/python26.zip', '/usr/local/lib/python2.6', '/usr/local/lib/ > > python2.6/plat-freebsd7', '/usr/local/lib/python2.6/lib-tk', '/usr/ > > local/lib/python2.6/lib-old', '/usr/local/lib/python2.6/lib-dynload', > > '/usr/local/lib/python2.6/site-packages', '/usr/local/lib/python2.6/ > > site-packages/Numeric', '/usr/local/lib/python2.6/site-packages/PIL', > > '/usr/local/lib/python2.6/site-packages/gtk-2.0'] > > Server time: neljap., 15 Apr 2010 20:53:03 +0300 > > Template error > > > In template /www/apache/domains/HOST/htdocs/django/Django-1.1.1/django/ > > contrib/admin/templates/admin/change_list.html, error at line 78 > > Caught an exception while rendering: ('ascii', 'Sea\xc5\xa1a\xc5\xa1l > > \xc3\xb5kk ', 3, 4, 'ordinal not in range(128)') > > 68 {% endif %} > > 69 {% endblock %} > > 70 > > 71 <form action="" method="post"{% if cl.formset.is_multipart %} > > enctype="multipart/form-data"{% endif %}> > > 72 {% if cl.formset %} > > 73 {{ cl.formset.management_form }} > > 74 {% endif %} > > 75 > > 76 {% block result_list %} > > 77 {% if action_form and actions_on_top and > > cl.full_result_count %}{% admin_actions %}{% endif %} > > 78 {% result_list cl %} > > 79 {% if action_form and actions_on_bottom and > > cl.full_result_count %}{% admin_actions %}{% endif %} > > 80 {% endblock %} > > 81 {% block pagination %}{% pagination cl %}{% endblock %} > > 82 </form> > > 83 </div> > > 84 </div> > > 85 {% endblock %} > > 86 > > Traceback Switch to copy-and-paste view > > > /www/apache/domains/HOST/htdocs/django/Django-1.1.1/django/core/ > > handlers/base.py in get_response > > response = callback(request, *callback_args, > > **callback_kwargs) ... > > ▶ Local vars > > /www/apache/domains/HOST/htdocs/django/Django-1.1.1/django/contrib/ > > admin/options.py in wrapper > > return self.admin_site.admin_view(view)(*args, > > **kwargs) ... > > ▶ Local vars > > /www/apache/domains/HOST/htdocs/django/Django-1.1.1/django/views/ > > decorators/cache.py in _wrapped_view_func > > response = view_func(request, *args, **kwargs) ... > > ▶ Local vars > > /www/apache/domains/HOST/htdocs/django/Django-1.1.1/django/contrib/ > > admin/sites.py in inner > > return view(request, *args, **kwargs) ... > > ▶ Local vars > > /www/apache/domains/HOST/htdocs/django/Django-1.1.1/django/contrib/ > > admin/options.py in changelist_view > > ], context, context_instance=context_instance) ... > > ▶ Local vars > > /www/apache/domains/HOST/htdocs/django/Django-1.1.1/django/shortcuts/ > > __init__.py in render_to_response > > return HttpResponse(loader.render_to_string(*args, **kwargs), > > **httpresponse_kwargs) ... > > ▶ Local vars > > /www/apache/domains/HOST/htdocs/django/Django-1.1.1/django/template/ > > loader.py in render_to_string > > return t.render(context_instance) ... > > ▶ Local vars > > /www/apache/domains/HOST/htdocs/django/Django-1.1.1/django/template/ > > __init__.py in render > > return self.nodelist.render(context) ... > > ▶ Local vars > > /www/apache/domains/HOST/htdocs/django/Django-1.1.1/django/template/ > > __init__.py in render > > bits.append(self.render_node(node, context)) ... > > ▶ Local vars > > /www/apache/domains/HOST/htdocs/django/Django-1.1.1/django/template/ > > debug.py in render_node > > result = node.render(context) ... > > ▶ Local vars > > /www/apache/domains/HOST/htdocs/django/Django-1.1.1/django/template/ > > loader_tags.py in render > > return compiled_parent.render(context) ... > > ▶ Local vars > > /www/apache/domains/HOST/htdocs/django/Django-1.1.1/django/template/ > > __init__.py in render > > return self.nodelist.render(context) ... > > ▶ Local vars > > /www/apache/domains/HOST/htdocs/django/Django-1.1.1/django/template/ > > __init__.py in render > > bits.append(self.render_node(node, context)) ... > > ▶ Local vars > > /www/apache/domains/HOST/htdocs/django/Django-1.1.1/django/template/ > > debug.py in render_node > > result = node.render(context) ... > > ▶ Local vars > > /www/apache/domains/HOST/htdocs/django/Django-1.1.1/django/template/ > > loader_tags.py in render > > return compiled_parent.render(context) ... > > ▶ Local vars > > /www/apache/domains/HOST/htdocs/django/Django-1.1.1/django/template/ > > __init__.py in render > > return self.nodelist.render(context) ... > > ▶ Local vars > > /www/apache/domains/HOST/htdocs/django/Django-1.1.1/django/template/ > > __init__.py in render > > bits.append(self.render_node(node, context)) ... > > ▶ Local vars > > /www/apache/domains/HOST/htdocs/django/Django-1.1.1/django/template/ > > debug.py in render_node > > result = node.render(context) ... > > ▶ Local vars > > /www/apache/domains/HOST/htdocs/django/Django-1.1.1/django/template/ > > loader_tags.py in render > > result = self.nodelist.render(context) ... > > ▶ Local vars > > /www/apache/domains/HOST/htdocs/django/Django-1.1.1/django/template/ > > __init__.py in render > > bits.append(self.render_node(node, context)) ... > > ▶ Local vars > > /www/apache/domains/HOST/htdocs/django/Django-1.1.1/django/template/ > > debug.py in render_node > > result = node.render(context) ... > > ▶ Local vars > > /www/apache/domains/HOST/htdocs/django/Django-1.1.1/django/template/ > > loader_tags.py in render > > result = self.nodelist.render(context) ... > > ▶ Local vars > > /www/apache/domains/HOST/htdocs/django/Django-1.1.1/django/template/ > > __init__.py in render > > bits.append(self.render_node(node, context)) ... > > ▶ Local vars > > /www/apache/domains/HOST/htdocs/django/Django-1.1.1/django/template/ > > debug.py in render_node > > raise wrapped ... > > ▶ Local vars > > Request information > > > GET > > No GET data > > POST > > No POST data > > FILES > > No FILES data > > COOKIES > > Variable Value > > __utma > > '149913952.95436242.1271238658.1271342835.1271353741.3' > > __utmb > > '149913952.2.10.1271353741' > > __utmc > > '149913952' > > sessionid > > '468b34de7eea0d6e9a4694ef5d10bc90' > > __utmz > > '149913952.1271238658.1.1.utmcsr=(direct)|utmccn=(direct)| > > utmcmd=(none)' > > META > > Variable Value > > DOCUMENT_ROOT > > '/www/apache/domains/HOST/htdocs' > > GATEWAY_INTERFACE > > 'CGI/1.1' > > HTTP_ACCEPT > > 'application/xml,application/xhtml+xml,text/html;q=0.9,text/ > > plain;q=0.8,image/png,*/*;q=0.5' > > HTTP_ACCEPT_CHARSET > > 'ISO-8859-1,utf-8;q=0.7,*;q=0.3' > > HTTP_ACCEPT_ENCODING > > 'gzip,deflate,sdch' > > HTTP_ACCEPT_LANGUAGE > > 'en-US,en;q=0.8' > > HTTP_CONNECTION > > 'keep-alive' > > HTTP_COOKIE > > '__utmz=149913952.1271238658.1.1.utmcsr=(direct)|utmccn=(direct)| > > utmcmd=(none); sessionid=468b34de7eea0d6e9a4694ef5d10bc90; > > __utma=149913952.95436242.1271238658.1271342835.1271353741.3; > > __utmc=149913952; __utmb=149913952.2.10.1271353741' > > HTTP_HOST > > 'DOMAIN' > > HTTP_REFERER > > 'http://DOMAIN/admin/' > > HTTP_USER_AGENT > > 'Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.2 (KHTML, > > like Gecko) Chrome/5.0.342.9 Safari/533.2' > > PATH > > '/bin:/usr/local/bin:/usr/bin' > > PATH_INFO > > u'/admin/retsept/vote/' > > PATH_TRANSLATED > > '/www/apache/domains/HOST/htdocs/admin/retsept/vote/' > > QUERY_STRING > > '' > > REDIRECT_STATUS > > '200' > > REDIRECT_UNIQUE_ID > > 'S8dSf9W0H7IAAWs2zgA' > > REDIRECT_URL > > '/admin/retsept/vote/' > > REMOTE_ADDR > > '84.50.47.52' > > ... > > read more » -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.