First time here? Check out the FAQ!

hailong's profile - activity

2013-12-11 11:59:59 -0500 received badge Nice Answer ( source )
2013-12-11 11:54:03 -0500 received badge Teacher ( source )
2013-12-11 11:54:03 -0500 received badge Necromancer ( source )
2013-12-11 10:59:28 -0500 commented answer admin logout throw exception

See my answer under this one. (name: hailong) Since I noticed you are the leading character in this project, I would like ask you to confirm or correct my finding.

2013-12-11 10:55:11 -0500 answered a question admin logout throw exception

I solved that problem by modifying /usr/local/lib/python2.7/dist-packages/askbot/user_messages/context_processors.py

# messages = request.user.get_and_delete_messages() .... original, prox. line 22
messages = get_and_delete_messages(request)

Because I find function get_and_delete_messages only defined as a "standalone" function in that file, and never a method of some class. But it is used as request.user.get_and_delete_messages(). I assume it's a typo. If I am right, another typo is in /usr/local/lib/python2.7/dist-packages/askbot/user_messages/__init__.py (same usage).

Correct me if I am wrong. But it's likely my solution works.

2013-12-11 09:09:47 -0500 commented answer admin logout throw exception

'askbot.middleware.anon_user.ConnectToSessionMessagesMiddleware' is there (enabled), but exception occurs