Revision history [back]
Errors when running migrations
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