I've been using South on my project for a while, but recently I developed a large amount of And the development machine changed and I think there is something wrong with this process that this project works well, but I can not apply the migration. Whenever I try to apply the migration, I get the following traceback:
Dynamite: Manage Moderate Forefront (Most Recent Call End): File "manage.py", line 11, in the & lt; Module & gt; Execute_manager (file) "/Library/Python/2.6/site-packages/django/core/management/__init__.py", line 362, execute_manager utility.execute () file "/Library/Python/2.6/site-packages Execute the file self.fetch_command (subcommand) .run_from_argv (self.argv) in /django/core/management/__init__.py /Library/Python/2.6/site-packages/django/core/management/base ", line 303," .py ", line 195, in run_from_argv self.execute (* algés, ** option .__ dict__) file" / library / python 2/6 / site-package / django /core/management/base.py ", Output = self.handle (* Args, ** option) executed in line 222, file "/ Library / Python 2/6 / site-package / South-07-P-2.6. GD / South / Management / Order / MigrateQ ", line 102, handle delete_ghosts = delete_ghosts, file," /Library/Python/2.6/site-packages/South-0.7-py2.6.egg/south/migration/__init__ .py "line 182 migrate_app applied = check_migration_histories (applied, delete_ghosts) file" / library / python 2/6 / site-package / south-07-p -2.6.EGD / south / migration / __init__.py " , Line 85, check_migration_histories = h.get_migration () file in meter "/Library/Python/2.6/site-packages/South-0.7-py2.6.egg/south/models.py", line 34, get_migration returns self .get_migrations () Migration (self-migration) file "/ Library / Python 2/6 / site-package / South-07-P-2.6.ge/south/models", line 31, get_migrations Return Migration (self.app_name) file "/ Library / Python 2/6 / site-package / South-07-P-2.6.egg / south / migigration / base.py ", line 60, __call__ in self. Examples [app_label] = Super (MigrationsMetaclass, self) .__ Call __ (app_label_to_app_module (app_label), ** kwds) File "/Library/Python/2.6/site-packages/South-0.7-py2.6.egg/south/ Migration / base.py ", line 88, __init__ self.set_application (application, force_creation, verbose_creation) file" /Library/Python/2.6/site-packages/South-0.7-py2.6.egg/south/migration/base .py ", line 159, raise exception in Set_Application. Any improvement (app) south No option. Migrate ions: Application '& lt; Module 'django.contrib.auth' / 'Library / Python 2/6 / site-package / digression / collaboration / audio /__init__.pyc'> 'There is no migration
I am not experiencing with the south and I have not met before this error. Only useful information about this error has been found online for pre-0.7 and I think I am at South 0.7. I run the 'easy_install -U south' to make sure.
Thank you for any help you really can give me.
except for future googlers
I have recently attended With this exception, with no exception, any contrib is not one.
After a bit of scratching the head I saw that file in any way ...
app / migrations / __init__.py
... was deleted, which means that Python cable can not be imported as a module etc.
Comments
Post a Comment