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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
anonymous user
asked 13 years ago

Comments

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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
Evgeny's avatar
13.2k
Evgeny
updated 13 years ago, answered 13 years ago
link

Comments

I ran the line above, this is what appeared: http://i.imgur.com/NT14t.png
Tractor's avatar Tractor (13 years ago)
I also took a look at the database directly: http://imgur.com/a/NOTFK
Tractor's avatar Tractor (13 years ago)
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 (13 years ago)
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 (13 years ago)
This time I did receive an error: http://i.imgur.com/WmtNU.png
Tractor's avatar Tractor (13 years ago)
see more comments