Ask Your Question
2

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

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

W.F. Yang gravatar image

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

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/environment.py 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/utils.py TIME: 2015-03-17 13:01:16,465 MSG: utils.py:get_media_url:159 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
2

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

Evgeny gravatar image

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

edit flag offensive delete link more

Comments

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

jeffi gravatar imagejeffi ( 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 gravatar imageW.F. Yang ( 2015-03-18 03:09:19 -0600 )edit

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

jeffi gravatar imagejeffi ( 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 gravatar imageEvgeny ( 2015-03-18 14:10:20 -0600 )edit

Great! It is now working. Thanks so much!

jeffi gravatar imagejeffi ( 2015-03-18 22:58:01 -0600 )edit
0

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

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

Comments

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

W.F. Yang gravatar imageW.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

2 followers

Stats

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

Seen: 368 times

Last updated: Mar 18 '15