Modify ↓
Ticket #339 (closed defect: fixed)
south.migration package is not installed
| Reported by: | andy@… | Owned by: | andrew |
|---|---|---|---|
| Priority: | critical | Milestone: | 0.7 |
| Component: | migrations | Version: | 0.7-pre |
| Keywords: | Cc: |
Description
$ ./manage.py schemamigration articles remove_attachment_slug --auto
warn(msg, UserWarning)
Traceback (most recent call last):
File "./manage.py", line 14, in <module>
execute_manager(settings_wrapper)
File "/usr/lib/python2.5/site-packages/django/core/management/__init__.py", line 439, in execute_manager
utility.execute()
File "/usr/lib/python2.5/site-packages/django/core/management/__init__.py", line 380, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python2.5/site-packages/django/core/management/__init__.py", line 257, in fetch_command
klass = load_command_class(app_name, subcommand)
File "/usr/lib/python2.5/site-packages/django/core/management/__init__.py", line 67, in load_command_class
module = import_module('%s.management.commands.%s' % (app_name, name))
File "/usr/lib/python2.5/site-packages/django/utils/importlib.py", line 35, in import_module
__import__(name)
File "/usr/lib/python2.5/site-packages/south/management/commands/schemamigration.py", line 24, in <module>
from south.migration import Migrations
ImportError: No module named migration
It seems that the south.migration module is simply not listed in the list of packages in setup.py and is thus omitted during installation. Symliking to a working copy solves the problem.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

Fixed in [3c55f23ca089].