Ask Your Question

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

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

W.F. Yang's avatar

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

Evgeny's avatar

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 -0600

Evgeny's avatar

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's avatar jeffi  ( 2015-03-18 02:49:48 -0600 )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's avatar W.F. Yang  ( 2015-03-18 03:09:19 -0600 )edit

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

jeffi's avatar jeffi  ( 2015-03-18 04:49:12 -0600 )edit

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

Evgeny's avatar Evgeny  ( 2015-03-18 14:10:20 -0600 )edit

Great! It is now working. Thanks so much!

jeffi's avatar jeffi  ( 2015-03-18 22:58:01 -0600 )edit

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

nick's avatar

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's avatar W.F. Yang  ( 2015-03-16 00:51:46 -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: 2015-03-14 12:19:25 -0600

Seen: 741 times

Last updated: Mar 18 '15