Hi, I'm trying to setup Askbot on Windows but I'm getting an error in the migration "0020_auto__add_field_repute_comment__chg_field_repute_question" when running "python manage.py migrate askbot". The error is 1005 "Can't create table 'nameofdb.#sql-8f8_7c' errno: 121".
The database engine used is MySQL 5.5 and the version of Python is 2.7. I'm new to Python and Django so maybe I'm missing something very obvious.
I tried to comment out the following line in the migration 0020
db.alter_column(u'repute', 'question_id', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['askbot.Question'], null=True, blank=True))
and then it passes. But when then running the migration for django_authopenid using "python manage.py migrate django_authopenid #embedded login application" I get another error (TypeError: handle() got multiple values for keyword argument 'merge' on line 220 in C:\Python27\Lib\site-packages\django-1.3-py2.7.egg\django\core\management\base.py).
Any ideas?
Thanks
Maybe your mysql storage engine is InnoDB? Askbot is not well tested with it. Try MyISAM.
To find out - log in to mysql shell and type, for example
show create table auth_user;
Type of the storage engine will be shown at the end of the output.
If this does not help, the only way to debug this is to reproduce your installation on other system, I have never seen this error before.
Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.
create your Q&A siteAsked: 2011-09-07 06:20:44 -0500
Seen: 135 times
Last updated: Sep 07 '11
Where are the badges in a fresh install? [fixed]
Startup error: couldn't load USER_SETTINGS.EDITABLE_SCREEN_NAME
EnvironmentError: mysql_config not found
Are there Debian/Ubuntu packages for Askbot?
How to install Askbot on a MacBook Pro?
Initialization of AskBot database: `python manage.py migrate askbot` fails?
Copyright Askbot, 2010-2011. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.