Ticket #339 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

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:


$ ./manage.py schemamigration articles remove_attachment_slug --auto                                                                                  
  warn(msg, UserWarning)                                                                                                                                                            
Traceback (most recent call last):                                                                                                                                                  
  File "./manage.py", line 14, in <module>                                                                                                                                          
  File "/usr/lib/python2.5/site-packages/django/core/management/__init__.py", line 439, in execute_manager                                                                          
  File "/usr/lib/python2.5/site-packages/django/core/management/__init__.py", line 380, in execute                                                                                  
  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                                                                                      
  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.

Change History

comment:1 Changed 6 years ago by andrew

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone set to 0.7

Fixed in [3c55f23ca089].

Note: See TracTickets for help on using tickets.