Ask Your Question

Adding "Instructions on how to ask questions" leads to server errors.

asked 2013-06-19 00:15:29 -0600

FranciscoD gravatar image

I've just been trying to add a snippet to the "Instructions on how to ask questions" setting. I validated the snippet, and it's correct:

<h2>How do I ask a good question?</h2>
Good questions are easy to find, and should have enough information for someone to suggest a solution. Here are some tips on asking good questions:

<li>Frame a question</li>
<li>Use correct tags. See the <a href="">list of tags</a> for what tags you should use. It makes it easy for people to find your question</li>
<li>Use the mark up tools: This makes your question more readable</li>
<li>Provide information that could be helpful to a reader</li>

A complete list of tips is maintained on our <a href="">guidelines page</a>. Please do read it through at least once.

When I click the "save" button, the server barfs with an internal error. Here's the httpd error log snippet:

[Wed Jun 19 05:04:04 2013] [error] [client] mod_wsgi (pid=14598): Exception occurred processing WSGI script '/usr/sbin/askbot.wsgi'.
[Wed Jun 19 05:04:04 2013] [error] [client] Traceback (most recent call last):
[Wed Jun 19 05:04:04 2013] [error] [client]   File "/usr/lib/python2.6/site-packages/django/core/handlers/", line 272, in __call__
[Wed Jun 19 05:04:04 2013] [error] [client]     response = self.get_response(request)
[Wed Jun 19 05:04:04 2013] [error] [client]   File "/usr/lib/python2.6/site-packages/django/core/handlers/", line 169, in get_response
[Wed Jun 19 05:04:04 2013] [error] [client]     response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
[Wed Jun 19 05:04:04 2013] [error] [client]   File "/usr/lib/python2.6/site-packages/django/core/handlers/", line 218, in handle_uncaught_exception
[Wed Jun 19 05:04:04 2013] [error] [client]     return callback(request, **param_dict)
[Wed Jun 19 05:04:04 2013] [error] [client]   File "/usr/lib/python2.6/site-packages/django/utils/", line 93, in _wrapped_view
[Wed Jun 19 05:04:04 2013] [error] [client]     response = view_func(request, *args, **kwargs)
[Wed Jun 19 05:04:04 2013] [error] [client]   File "/usr/lib/python2.6/site-packages/django/views/", line 31, in server_error
[Wed Jun 19 05:04:04 2013] [error] [client]     return http.HttpResponseServerError(t.render(Context({})))
[Wed Jun 19 05:04:04 2013] [error] [client]   File "/usr/lib/python2.6/site-packages/coffin/template/", line 54, in render
[Wed Jun 19 05:04:04 2013] [error] [client]     return super(Template, self).render(**context)
[Wed Jun 19 05:04:04 2013] [error] [client ...
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-06-19 04:25:55 -0600

Evgeny gravatar image

I cannot reproduce this issue. Copy/pasted your exact code and it just works.

Try this with runserver and debug mode enabled.

edit flag offensive delete link more


Aha! I'll do that and post. Thanks for confirming @Evgeny

FranciscoD gravatar imageFranciscoD ( 2013-06-20 02:37:35 -0600 )edit

Seems to work recently. Not sure what changed.

FranciscoD gravatar imageFranciscoD ( 2013-07-18 20:23:34 -0600 )edit

It's happen sometimes in random /settings options, what I do is click back button redo my settings and save, I don't have any idea what's wrong with that.

Mustafa gravatar imageMustafa ( 2013-08-10 17:41:15 -0600 )edit

@Mustafa, enable debug mode to see the cause of this. Don't know if this is relevant in your case, but do use real cache backend in production, with locmem there will be issues with the multiprocess setup.

Evgeny gravatar imageEvgeny ( 2013-08-10 20:10:10 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2013-06-19 00:15:29 -0600

Seen: 65 times

Last updated: Jun 19 '13