This site is an archive; learn more about 8 years of OpenHatch.

[Devel] [Kaboom at OH] Error (EXTERNAL IP): /

mr_website at linode.openhatch.org mr_website at linode.openhatch.org
Fri Feb 26 23:37:54 UTC 2010


Traceback (most recent call last):

  File "/home/deploy/milestone-a.buildout/parts/production/django/core/handlers/base.py", line 92, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "<string>", line 2, in home

  File "/home/deploy/milestone-a.buildout/mysite/base/decorators.py", line 18, in view
    return render_to_response(template, data)

  File "/home/deploy/milestone-a.buildout/parts/production/django/shortcuts/__init__.py", line 20, in render_to_response
    return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)

  File "/home/deploy/milestone-a.buildout/parts/production/django/template/loader.py", line 103, in render_to_string
    t = get_template(template_name)

  File "/home/deploy/milestone-a.buildout/parts/production/django/template/loader.py", line 82, in get_template
    template = get_template_from_string(source, origin, template_name)

  File "/home/deploy/milestone-a.buildout/parts/production/django/template/loader.py", line 90, in get_template_from_string
    return Template(source, origin, name)

  File "/home/deploy/milestone-a.buildout/parts/production/django/template/__init__.py", line 168, in __init__
    self.nodelist = compile_string(template_string, origin)

  File "/home/deploy/milestone-a.buildout/parts/production/django/template/__init__.py", line 189, in compile_string
    return parser.parse()

  File "/home/deploy/milestone-a.buildout/parts/production/django/template/__init__.py", line 285, in parse
    compiled_result = compile_func(self, token)

  File "/home/deploy/milestone-a.buildout/parts/production/django/template/loader_tags.py", line 169, in do_extends
    nodelist = parser.parse()

  File "/home/deploy/milestone-a.buildout/parts/production/django/template/__init__.py", line 285, in parse
    compiled_result = compile_func(self, token)

  File "/home/deploy/milestone-a.buildout/parts/production/django/template/loader_tags.py", line 147, in do_block
    nodelist = parser.parse(('endblock', 'endblock %s' % block_name))

  File "/home/deploy/milestone-a.buildout/parts/production/django/template/__init__.py", line 285, in parse
    compiled_result = compile_func(self, token)

  File "/home/deploy/milestone-a.buildout/parts/production/django/templatetags/cache.py", line 63, in do_cache
    raise TemplateSyntaxError(u"'%r' tag requires at least 2 arguments." % tokens[0])

TemplateSyntaxError: 'u'cache'' tag requires at least 2 arguments.


<WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'__utma_a2a': '936884536.1298702577.1267145651.1267145980.1267145981.22',
 'openid_provider': 'google'},
META:{'DOCUMENT_ROOT': '/var/www/',
 'GATEWAY_INTERFACE': 'CGI/1.1',
 'HTTPS': '1',
 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
 'HTTP_ACCEPT_ENCODING': 'gzip,deflate',
 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_COOKIE': 'openid_provider=google; __utma_a2a=936884536.1298702577.1267145651.1267145980.1267145981.22',
 'HTTP_HOST': 'openhatch.org',
 'HTTP_KEEP_ALIVE': '300',
 'HTTP_REFERER': 'https://openhatch.org/+projects/',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1) Gecko/20090704 Iceweasel/3.5 (Debian-3.5-0)',
 'PATH': '/usr/local/bin:/usr/bin:/bin',
 'PATH_INFO': u'/',
 'PATH_TRANSLATED': '/home/deploy/milestone-a.buildout/bin/production.wsgi/',
 'QUERY_STRING': '',
 'REMOTE_ADDR': '98.140.110.121',
 'REMOTE_PORT': '46386',
 'REQUEST_METHOD': 'GET',
 'REQUEST_URI': '/',
 'SCRIPT_FILENAME': '/home/deploy/milestone-a.buildout/bin/production.wsgi',
 'SCRIPT_NAME': u'',
 'SERVER_ADDR': '74.207.229.254',
 'SERVER_ADMIN': 'webmaster at localhost',
 'SERVER_NAME': 'openhatch.org',
 'SERVER_PORT': '443',
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'SERVER_SIGNATURE': '<address>Apache/2.2.14 (Debian) Server at openhatch.org Port 443</address>\n',
 'SERVER_SOFTWARE': 'Apache/2.2.14 (Debian)',
 'SSL_TLS_SNI': 'openhatch.org',
 'mod_wsgi.application_group': 'openhatch.org|',
 'mod_wsgi.callable_object': 'application',
 'mod_wsgi.listener_host': '',
 'mod_wsgi.listener_port': '443',
 'mod_wsgi.process_group': 'live',
 'mod_wsgi.reload_mechanism': '1',
 'mod_wsgi.script_reloading': '1',
 'mod_wsgi.version': (2, 5),
 'wsgi.errors': <mod_wsgi.Log object at 0x8be1230>,
 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x88f34e8>,
 'wsgi.input': <mod_wsgi.Input object at 0x8be9110>,
 'wsgi.multiprocess': True,
 'wsgi.multithread': False,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'https',
 'wsgi.version': (1, 0)}>


More information about the Devel mailing list