Ask Your Question

Cannot sign up for a new account using a fresh instal of askbot.

asked 2011-07-24 23:13:09 -0600

anonymous user


Hello, I followed all instructions completely from the documentation section of this site. However, at the initialize database tables page (, after running the server I cannot sign up for an account.

The main page appears correctly, and clicking on any link on that page works except for the sign in link, and the badges link.

Clicking on sign-in gives the following error:

Exception Type: OperationalError

Exception Value: (1054, "Unknown column 'askbot_anonymousquestion.is_anonymous' in 'field list'")

Exception Location: B:\Python26\lib\site-packages\MySQLdb\ in defaulterrorhandler, line 36

Clicking on badges yeilds:

Exception Type: DatabaseError

Exception Value: (1146, "Table 'askbot.askbot_badgedata' doesn't exist")

Exception Location: B:\Python26\lib\site-packages\MySQLdb\ in defaulterrorhandler, line 36

The error comes from the same location. I am new to both django, and askbot, so I'm kind of in a maze right now. Any help would be much appreciated.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-07-24 23:20:56 -0600

Evgeny's avatar

updated 2011-07-24 23:32:57 -0600

Looks like you have not installed tables. Try typing:

python migrate --list

What do you see?

You can also try logging in to the database directly and type show tables.

edit flag offensive delete link more


I ran the line above, this is what appeared:
Tractor's avatar Tractor  ( 2011-07-24 23:51:49 -0600 )edit
I also took a look at the database directly:
Tractor's avatar Tractor  ( 2011-07-24 23:52:37 -0600 )edit
Your migrations are incomplete. Try "python migrate" - without other arguments. What do you get? Migrations are incremental changes to the database schema that happen as software evolves. I wonder why they did not finish, some error message would be helpful.
Evgeny's avatar Evgeny  ( 2011-07-25 00:09:41 -0600 )edit
You can see that your migrations did not finish by looking at their list. Why did not they finish - is a question, if it is a bug - I will fix it tomorrow. Please let me know, I will need error traceback to be able to solve this. Thanks.
Evgeny's avatar Evgeny  ( 2011-07-25 00:16:20 -0600 )edit
This time I did receive an error:
Tractor's avatar Tractor  ( 2011-07-25 00:22:58 -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

1 follower


Asked: 2011-07-24 23:13:09 -0600

Seen: 1,053 times

Last updated: Jul 24 '11