First time here? Check out the FAQ!
0

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

Hello, I followed all instructions completely from the documentation section of this site. However, at the initialize database tables page (http://askbot.org/doc/initialize-database-tables.html), 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\connections.py 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\connections.py 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.

anonymous user
asked 2011-07-24 23:13:09 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

Looks like you have not installed tables. Try typing:

python manage.py migrate --list

What do you see?

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

Evgeny's avatar
13.2k
Evgeny
updated 2011-07-24 23:32:57 -0500, answered 2011-07-24 23:20:56 -0500
edit flag offensive 0 remove flag delete link

Comments

I ran the line above, this is what appeared: http://i.imgur.com/NT14t.png
Tractor's avatar Tractor (2011-07-24 23:51:49 -0500) edit
I also took a look at the database directly: http://imgur.com/a/NOTFK
Tractor's avatar Tractor (2011-07-24 23:52:37 -0500) edit
Your migrations are incomplete. Try "python manage.py 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 -0500) 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 -0500) edit
This time I did receive an error: http://i.imgur.com/WmtNU.png
Tractor's avatar Tractor (2011-07-25 00:22:58 -0500) edit
add a comment see more comments