Ask Your Question

UndefinedError at /questions/ask/ 'post_form' is undefined

asked 2015-03-14 12:19:25 -0500

W.F. Yang gravatar image

updated 2015-03-18 14:10:42 -0500

Evgeny gravatar image

UndefinedError at /questions/ask/ 'post_form' is undefined Request Method: GET Request URL:
Django Version: 1.5.12 Exception Type: UndefinedError Exception Value:
'post_form' is undefined Exception Location: /home/jesonyang001/askbotdev/env/local/lib/python2.7/site-packages/Jinja2-2.7.3-py2.7.egg/jinja2/ in getattr, line 397 Python Executable: /home/jesonyang001/askbotdev/env/bin/python Python Version: 2.7.6

askbot.log file: /home/jesonyang001/askbotdev/askbot/skins/ TIME: 2015-03-17 13:01:16,465 MSG: missing media resource style/extra.css in skin default

It appear this infomation when i login by admin,but i login by another user everything is worked.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2015-03-17 23:13:02 -0500

Evgeny gravatar image

There was a bug, just committed a fix to the master branch.

edit flag offensive delete link more


Hi I still see this error with the latest revision 0653e95. It only occurs with admin (i.e. first created) account.

jeffi gravatar image jeffi  ( 2015-03-18 02:49:48 -0500 )edit

me too,just installed but can't solve this issue that can't post any question when login by admin(ID=1).

W.F. Yang gravatar image W.F. Yang  ( 2015-03-18 03:09:19 -0500 )edit

Other account (ID>1) also fails if it is given admin privilege.

jeffi gravatar image jeffi  ( 2015-03-18 04:49:12 -0500 )edit

Sorry, made another update to the master branch, now tested posting and editing questions and answers.

Evgeny gravatar image Evgeny  ( 2015-03-18 14:10:20 -0500 )edit

Great! It is now working. Thanks so much!

jeffi gravatar image jeffi  ( 2015-03-18 22:58:01 -0500 )edit

answered 2015-03-14 20:17:15 -0500

nick gravatar image

I had something like this happen, can't remember if it was exactly the same error. It seemed to be caused by having multiple askbot development projects on the machine and some kind of conflict between them. When I cut back to just one, the problem went away.

edit flag offensive delete link more


i have two project that stable and dev version,but i used virtualenv.i reinstall many time same issue.

W.F. Yang gravatar image W.F. Yang  ( 2015-03-16 00:51:46 -0500 )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: 2015-03-14 12:19:25 -0500

Seen: 610 times

Last updated: Mar 18 '15