Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I have installed askbot on webfaction server as a reusable django application, but I have gott this error:

[Sun Sep 25 23:51:40 2011] [notice] Apache/2.2.17 (Unix) mod_wsgi/3.3 Python/2.7.1 configured -- resuming normal operations
[Sun Sep 25 16:51:44 2011] [error] /home/webapp/lib/python2.6/coffin/common.py:49: UserWarning: Cannot translate loader: askbot.skins.loaders.load_template_source
[Sun Sep 25 16:51:44 2011] [error]   warnings.warn('Cannot translate loader: %s' % loader)
[Sun Sep 25 16:51:44 2011] [error] [client 127.0.0.1] mod_wsgi (pid=9004): Exception occurred processing WSGI script '/home/webapp/webapps/django/myproject.wsgi'.
[Sun Sep 25 16:51:44 2011] [error] [client 127.0.0.1] Traceback (most recent call last):
[Sun Sep 25 16:51:44 2011] [error] [client 127.0.0.1]   File "/home/webapp/lib/python2.6/django/core/handlers/wsgi.py", line 272, in __call__
[Sun Sep 25 16:51:44 2011] [error] [client 127.0.0.1]     response = self.get_response(request)
[Sun Sep 25 16:51:44 2011] [error] [client 127.0.0.1]   File "/home/webapp/lib/python2.6/django/core/handlers/base.py", line 153, in get_response
[Sun Sep 25 16:51:44 2011] [error] [client 127.0.0.1]     response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
[Sun Sep 25 16:51:44 2011] [error] [client 127.0.0.1]   File "/home/webapp/lib/python2.6/django/core/handlers/base.py", line 218, in handle_uncaught_exception
[Sun Sep 25 16:51:44 2011] [error] [client 127.0.0.1]     return callback(request, **param_dict)
[Sun Sep 25 16:51:44 2011] [error] [client 127.0.0.1]   File "/home/webapp/lib/python2.6/django/utils/decorators.py", line 93, in _wrapped_view
[Sun Sep 25 16:51:44 2011] [error] [client 127.0.0.1]     response = view_func(request, *args, **kwargs)
[Sun Sep 25 16:51:44 2011] [error] [client 127.0.0.1]   File "/home/webapp/lib/python2.6/django/views/defaults.py", line 31, in server_error
[Sun Sep 25 16:51:44 2011] [error] [client 127.0.0.1]     return http.HttpResponseServerError(t.render(Context({})))
[Sun Sep 25 16:51:44 2011] [error] [client 127.0.0.1]   File "/home/webapp/lib/python2.6/django/template/base.py", line 123, in render
[Sun Sep 25 16:51:44 2011] [error] [client 127.0.0.1]     return self._render(context)
[Sun Sep 25 16:51:44 2011] [error] [client 127.0.0.1]   File "/home/webapp/lib/python2.6/django/template/base.py", line 117, in _render
[Sun Sep 25 16:51:44 2011] [error] [client 127.0.0.1]     return self.nodelist.render(context)
[Sun Sep 25 16:51:44 2011] [error] [client 127.0.0.1]   File "/home/webapp/lib/python2.6/django/template/base.py", line 744, in render
[Sun Sep 25 16:51:44 2011] [error] [client 127.0.0.1]     bits.append(self.render_node(node, context))
[Sun Sep 25 16:51:44 2011] [error] [client 127.0.0.1]   File "/home/webapp/lib/python2.6/django/template/base.py", line 757, in render_node
[Sun Sep 25 16:51:44 2011] [error] [client 127.0.0.1]     return node.render(context)
[Sun Sep 25 16:51:44 2011] [error] [client 127.0.0.1]   File "/home/webapp/lib/python2.6/askbot/templatetags/extra_tags.py", line 142, in render
[Sun Sep 25 16:51:44 2011] [error] [client 127.0.0.1]     request = self.request_var.resolve(context)
[Sun Sep 25 16:51:44 2011] [error] [client 127.0.0.1]   File "/home/webapp/lib/python2.6/django/template/base.py", line 653, in resolve
[Sun Sep 25 16:51:44 2011] [error] [client 127.0.0.1]     value = self._resolve_lookup(context)
[Sun Sep 25 16:51:44 2011] [error] [client 127.0.0.1]   File "/home/webapp/lib/python2.6/django/template/base.py", line 692, in _resolve_lookup
[Sun Sep 25 16:51:44 2011] [error] [client 127.0.0.1]     raise VariableDoesNotExist("Failed lookup for key [%s] in %r", (bit, current)) # missing attribute
[Sun Sep 25 16:51:44 2011] [error] [client 127.0.0.1] VariableDoesNotExist: Failed lookup for key [request] in u'[{}]'

Django version is 1.3.1.

Fabio