Ask Your Question
0

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

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

anonymous user

Anonymous

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.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

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

Evgeny gravatar image

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

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.

edit flag offensive delete link more

Comments

I ran the line above, this is what appeared: http://i.imgur.com/NT14t.png
Tractor gravatar imageTractor ( 2011-07-24 23:51:49 -0500 )edit
I also took a look at the database directly: http://imgur.com/a/NOTFK
Tractor gravatar imageTractor ( 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 gravatar imageEvgeny ( 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 gravatar imageEvgeny ( 2011-07-25 00:16:20 -0500 )edit
This time I did receive an error: http://i.imgur.com/WmtNU.png
Tractor gravatar imageTractor ( 2011-07-25 00:22:58 -0500 )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

Stats

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

Seen: 457 times

Last updated: Jul 24 '11