Askbot installation error Column 'session_key' cannot be null"

asked 2016-03-08 00:57:21 -0500

rgovind gravatar image

updated 2016-03-09 06:00:54 -0500

Evgeny gravatar image

Hi,

I am doing a new deployment of Askbot by cloning AskBot Gitgub (ASKBOT/askbot-devel.git) and following installation instructions at askbot.org/doc

I tried two installs one with mysql and one with db.sqlite3. "Allow asking without registration" is set to false. Both times, I started server using runserver and tried to post a question without logging in. Both times I get the error session_key' cannot be null. It did not take me to signup page. Upon investigation, it seems that for table anonymous_question, session key is not set in the code and hence this validation is failing. How do I fix this problem?

Error : With MySql: (1048,Column 'session_key' cannot be null") With sqlite3: NOT NULL constraint failed: askbot_anonymousquestion.session_key

How do I fix this problem?

edit retag flag offensive close merge delete

Comments

No one has an answer?

rgovind gravatar imagergovind ( 2016-03-23 16:40:02 -0500 )edit

I am also facing the same problem please reply at the earliest

spbraju gravatar imagespbraju ( 2016-05-30 05:51:56 -0500 )edit

Please include the version you're facing this issue with, also - have you customized anything in the settings file?

Evgeny gravatar imageEvgeny ( 2016-06-15 05:52:36 -0500 )edit