First time here? Check out the FAQ!

thanhtut's profile - activity

2014-10-19 12:14:29 -0500 received badge Notable Question (source)
2013-09-06 05:20:56 -0500 received badge Popular Question (source)
2013-09-02 10:51:17 -0500 received badge Nice Question (source)
2013-08-19 06:13:20 -0500 received badge Favorite Question (source)
2013-08-19 06:10:05 -0500 received badge Famous Question (source)
2013-08-11 13:47:47 -0500 commented answer Strange error in Deploying with Apache + WSGI and Debug = False

I also happen to solve this problem by enabling the debug mode. It seems to be a caching issue when the debug mode is turned off.

2013-08-10 17:37:57 -0500 received badge Student (source)
2013-06-27 23:24:36 -0500 asked a question Strange error in Deploying with Apache + WSGI and Debug = False

Can anyone here help me fix the error. I am deploying Askbot using Apache + WSGI. Everything works well until I set Debug = False.

If there's any tips to solve that it would be very helpful. I think I may be configuring it wrong.

    [Fri Jun 28 11:12:40 2013] [error] [client 203.131.208.114]     return http.HttpResponseServerError(t.render(Context({})))
[Fri Jun 28 11:12:40 2013] [error] [client 203.131.208.114]   File "/home/ubuntu/deploy-ipst-collaborative-learning/deployenv/local/lib/python2.7/site-packages/Coffin-0.3.7-py2.7.egg/coffin/template/__init__.py", line 55, in render
[Fri Jun 28 11:12:40 2013] [error] [client 203.131.208.114]     return super(Template, self).render(**context)
[Fri Jun 28 11:12:40 2013] [error] [client 203.131.208.114]   File "/home/ubuntu/deploy-ipst-collaborative-learning/deployenv/local/lib/python2.7/site-packages/Jinja2-2.7-py2.7.egg/jinja2/environment.py", line 969, in render
[Fri Jun 28 11:12:40 2013] [error] [client 203.131.208.114]     return self.environment.handle_exception(exc_info, True)
[Fri Jun 28 11:12:40 2013] [error] [client 203.131.208.114]   File "/home/ubuntu/deploy-ipst-collaborative-learning/deployenv/local/lib/python2.7/site-packages/Jinja2-2.7-py2.7.egg/jinja2/environment.py", line 742, in handle_exception
[Fri Jun 28 11:12:40 2013] [error] [client 203.131.208.114]     reraise(exc_type, exc_value, tb)
[Fri Jun 28 11:12:40 2013] [error] [client 203.131.208.114]   File "/home/ubuntu/deploy-ipst-collaborative-learning/askbot/templates/500.html", line 1, in top-level template code
[Fri Jun 28 11:12:40 2013] [error] [client 203.131.208.114]     {% extends "two_column_body.html" %}
[Fri Jun 28 11:12:40 2013] [error] [client 203.131.208.114]   File "/home/ubuntu/deploy-ipst-collaborative-learning/askbot/templates/two_column_body.html", line 1, in top-level template code
[Fri Jun 28 11:12:40 2013] [error] [client 203.131.208.114]     {% extends "base.html" %}
[Fri Jun 28 11:12:40 2013] [error] [client 203.131.208.114]   File "/home/ubuntu/deploy-ipst-collaborative-learning/askbot/templates/base.html", line 5, in top-level template code
[Fri Jun 28 11:12:40 2013] [error] [client 203.131.208.114]     <title>{% block title %}{% endblock %} - {{ settings.APP_TITLE|escape }}</title>
[Fri Jun 28 11:12:40 2013] [error] [client 203.131.208.114]   File "/home/ubuntu/deploy-ipst-collaborative-learning/deployenv/local/lib/python2.7/site-packages/Jinja2-2.7-py2.7.egg/jinja2/environment.py", line 397, in getattr
[Fri Jun 28 11:12:40 2013] [error] [client 203.131.208.114]     return getattr(obj, attribute)
[Fri Jun 28 11:12:40 2013] [error] [client 203.131.208.114] UndefinedError: 'settings' is undefined
2013-05-08 02:16:16 -0500 received badge Editor ( source )
2013-05-08 02:13:52 -0500 answered a question Why $\sum_{n=1}^{+\infty}$ don't work anymore?

$$\sum_{n=1}^{+\infty}$$