Migration errors using latest git branch
I am trying to migrate askbot to the latest version available in devel branch and running : python manage.py migrate i got the following error:
Traceback (most recent call last):
File "manage.py", line 11, in <module>
execute_manager(settings)
File "/var/www/intreaba.ubuntu.ro/lib/python2.5/site-packages/django/core/management/__init__.py", line 362, in execute_manager
utility.execute()
File "/var/www/intreaba.ubuntu.ro/lib/python2.5/site-packages/django/core/management/__init__.py", line 303, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/var/www/intreaba.ubuntu.ro/lib/python2.5/site-packages/django/core/management/base.py", line 195, in run_from_argv
self.execute(*args, **options.__dict__)
File "/var/www/intreaba.ubuntu.ro/lib/python2.5/site-packages/django/core/management/base.py", line 222, in execute
output = self.handle(*args, **options)
File "/var/www/intreaba.ubuntu.ro/lib/python2.5/site-packages/south/management/commands/migrate.py", line 105, in handle
ignore_ghosts = ignore_ghosts,
File "/var/www/intreaba.ubuntu.ro/lib/python2.5/site-packages/south/migration/__init__.py", line 171, in migrate_app
applied = check_migration_histories(applied, delete_ghosts, ignore_ghosts)
File "/var/www/intreaba.ubuntu.ro/lib/python2.5/site-packages/south/migration/__init__.py", line 74, in check_migration_histories
m = h.get_migration()
File "/var/www/intreaba.ubuntu.ro/lib/python2.5/site-packages/south/models.py", line 34, in get_migration
return self.get_migrations().migration(self.migration)
File "/var/www/intreaba.ubuntu.ro/lib/python2.5/site-packages/south/models.py", line 31, in get_migrations
return Migrations(self.app_name)
File "/var/www/intreaba.ubuntu.ro/lib/python2.5/site-packages/south/migration/base.py", line 60, in __call__
self.instances[app_label] = super(MigrationsMetaclass, self).__call__(app_label_to_app_module(app_label), **kwds)
File "/var/www/intreaba.ubuntu.ro/lib/python2.5/site-packages/south/migration/base.py", line 88, in __init__
self.set_application(application, force_creation, verbose_creation)
File "/var/www/intreaba.ubuntu.ro/lib/python2.5/site-packages/south/migration/base.py", line 160, in set_application
raise exceptions.NoMigrations(application)
south.exceptions.NoMigrations: Application '<module 'askbot.deps.django_authopenid' from '/var/www/intreaba.ubuntu.ro/lib/python2.5/site-packages/askbot/deps/django_authopenid/__init__.pyc'>' has no migrations.
Also if I drop all tables and try to do a new install following the documentation, I got the following error:
$ python manage.py migrate django_authopenid
The app 'django_authopenid' does not appear to use migrations.
./manage.py migrate [appname] [migrationname|zero] [--all] [--list] [--skip] [--merge] [--no-initial-data] [--fake] [--db-dry-run] [--database=dbalias]
Comments